Home
last modified time | relevance | path

Searched refs:horizontalMargin (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/widget/
DToastPresenter.java163 int duration, int gravity, int xOffset, int yOffset, float horizontalMargin, in adjustLayoutParams() argument
176 params.horizontalMargin = horizontalMargin; in adjustLayoutParams()
192 public void updateLayoutParams(int xOffset, int yOffset, float horizontalMargin, in updateLayoutParams() argument
199 mParams.horizontalMargin = horizontalMargin; in updateLayoutParams()
235 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument
237 show(view, token, windowToken, duration, gravity, xOffset, yOffset, horizontalMargin, in show()
246 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument
253 horizontalMargin, verticalMargin, removeWindowAnimations); in show()
DToast.java340 public void setMargin(float horizontalMargin, float verticalMargin) { in setMargin() argument
344 mTN.mHorizontalMargin = horizontalMargin; in setMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java124 int horizontalMargin = in setBrightnessDialogViewAttributes() local
126 lp.leftMargin = horizontalMargin; in setBrightnessDialogViewAttributes()
127 lp.rightMargin = horizontalMargin; in setBrightnessDialogViewAttributes()
143 bounds.set(-horizontalMargin, 0, right - left + horizontalMargin, bottom - top); in setBrightnessDialogViewAttributes()
160 lp.width = (shouldBeFullWidth ? screenWidth : screenWidth / 2) - horizontalMargin * 2; in setBrightnessDialogViewAttributes()
162 lp.width = screenWidth - horizontalMargin * 2; in setBrightnessDialogViewAttributes()
DBrightnessSliderView.java192 int horizontalMargin = in onLayout() local
194 mSystemGestureExclusionRect.set(-horizontalMargin, 0, right - left + horizontalMargin, in onLayout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessDialogTest.kt110 val horizontalMargin = in testGestureExclusion() constant
114 assertThat(lp.leftMargin).isEqualTo(horizontalMargin) in testGestureExclusion()
115 assertThat(lp.rightMargin).isEqualTo(horizontalMargin) in testGestureExclusion()
120 .isEqualTo(Rect(-horizontalMargin, 0, frame.width + horizontalMargin, frame.height)) in testGestureExclusion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/
DKeyboardBacklightDialog.kt66 val horizontalMargin: Int, in <lambda>() constant in StepViewProperties
144 horizontalMargin = in <lambda>()
254 /* left= */ stepProperties.horizontalMargin, in <lambda>()
256 /* right= */ stepProperties.horizontalMargin, in <lambda>()
269 /* left= */ stepProperties.horizontalMargin, in <lambda>()
271 /* right= */ stepProperties.horizontalMargin, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsPopupMenu.kt42 private val horizontalMargin: Int = constant
93 val paddedWidth = resources.displayMetrics.widthPixels - 2 * horizontalMargin in updateWidth()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java239 int horizontalMargin = (int) (mEndCropRect.width() * HORIZONTAL_START_MARGIN); in update() local
240 mStartCropRect.left = mEndCropRect.left + horizontalMargin; in update()
241 mStartCropRect.right = mEndCropRect.right - horizontalMargin; in update()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowParamsTest.java75 params.horizontalMargin++; in changeField()
/frameworks/base/core/java/android/view/
DWindowlessWindowLayout.java55 (int) (attrs.x + attrs.horizontalMargin), in computeFrames()
DWindowManager.java3848 public float horizontalMargin; field in WindowManager.LayoutParams
5119 out.writeFloat(horizontalMargin); in writeToParcel()
5196 horizontalMargin = in.readFloat(); in LayoutParams()
5333 if (horizontalMargin != o.horizontalMargin) { in copyFrom()
5334 horizontalMargin = o.horizontalMargin; in copyFrom()
5604 || a.horizontalMargin != b.horizontalMargin in hasLayoutDiff()
5653 if (horizontalMargin != 0) { in toString()
5655 sb.append(horizontalMargin); in toString()
5852 proto.write(HORIZONTAL_MARGIN, horizontalMargin); in dumpDebug()
DWindowLayout.java260 (int) (x + attrs.horizontalMargin * pw), in computeFrames()
DViewGroup.java8569 int horizontalMargin = a.getDimensionPixelSize( in MarginLayoutParams() local
8574 if (horizontalMargin >= 0) { in MarginLayoutParams()
8575 leftMargin = horizontalMargin; in MarginLayoutParams()
8576 rightMargin = horizontalMargin; in MarginLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIBottomSheetDialog.kt79 horizontalMargin = 0f in setupWindow()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1019 int horizontalMargin = 0; in onMeasure() local
1022 horizontalMargin = ablp.leftMargin + ablp.rightMargin; in onMeasure()
1042 - horizontalMargin); in onMeasure()
1055 availableWidth -= horizontalMargin + customView.getMeasuredWidth(); in onMeasure()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34786 field public float horizontalMargin;
/frameworks/base/core/api/
Dcurrent.txt54664 field public float horizontalMargin;