/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsColumnLayout.java | 88 setGravity(Gravity.LEFT | Gravity.TOP); in snapToPowerButton() 92 setGravity(Gravity.RIGHT | Gravity.BOTTOM); in snapToPowerButton() 96 setGravity(Gravity.TOP | Gravity.RIGHT); in snapToPowerButton() 109 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.TOP); in centerAlongEdge() 113 setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM); in centerAlongEdge() 117 setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in centerAlongEdge()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DesktopModeLaunchParamsModifierTests.java | 217 .setHeight(80).setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBounds_LeftGravity() 232 .setHeight(80).setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBounds_TopGravity() 247 .setHeight(80).setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBounds_TopLeftGravity() 262 .setHeight(80).setGravity(Gravity.RIGHT).build(); in testNonEmptyLayoutBounds_RightGravity() 277 .setWidth(120).setHeight(80).setGravity(Gravity.BOTTOM).build(); in testNonEmptyLayoutBounds_BottomGravity() 292 .setWidth(120).setHeight(80).setGravity(Gravity.BOTTOM | Gravity.RIGHT).build(); in testNonEmptyLayoutBounds_RightBottomGravity() 322 .setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity() 336 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setGravity(Gravity.TOP) in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity() 353 .setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity() 368 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder().setGravity(Gravity.RIGHT) in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity() [all …]
|
D | TaskLaunchParamsModifierTests.java | 550 .setGravity(Gravity.LEFT).build(); in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea() 795 .setGravity(Gravity.LEFT).build(); in testLayoutWithGravityAndEmptySizeInfersFreeformAndRespectsCurrentSize() 1106 .setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity() 1122 .setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity() 1138 .setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity() 1155 .setGravity(Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity() 1171 .setGravity(Gravity.BOTTOM).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomGravity() 1187 .setGravity(Gravity.BOTTOM | Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomRightGravity() 1220 .setWidth(120).setHeight(80).setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_LeftGravity() 1236 .setWidth(120).setHeight(80).setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_TopGravity() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ButtonPreferenceTest.java | 112 mPreference.setGravity(Gravity.START); in onBindViewHolder_setGravityStart_shouldReturnButtonGravityStart() 123 mPreference.setGravity(Gravity.CENTER_HORIZONTAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal() 131 mPreference.setGravity(Gravity.CENTER_VERTICAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal() 135 mPreference.setGravity(Gravity.CENTER); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal() 142 mPreference.setGravity(Gravity.END); in onBindViewHolder_setUnsupportedGravity_shouldReturnButtonGravityStart()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | MockView.java | 63 setGravity(Gravity.CENTER); in MockView() 114 public void setGravity(int gravity) { in setGravity() method in MockView 115 mView.setGravity(gravity); in setGravity()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | BottomSheetButtonBarLayout.java | 47 setGravity(Gravity.CENTER_VERTICAL | Gravity.END); in onMeasure() 52 setGravity(Gravity.CENTER_VERTICAL); in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | PopupMenu.java | 120 mPopup.setGravity(gravity); in PopupMenu() 140 public void setGravity(int gravity) { in setGravity() method in PopupMenu 141 mPopup.setGravity(gravity); in setGravity()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 136 toast.setGravity(Gravity.LEFT, 0, 0); 146 toast.setGravity(Gravity.FILL_HORIZONTAL, 0, 0);
|
/frameworks/base/packages/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/ |
D | ButtonPreference.java | 114 setGravity(mGravity); in onBindViewHolder() 189 public void setGravity(@GravityInt int gravity) { in setGravity() method in ButtonPreference
|
/frameworks/base/services/tests/wmtests/OverlayApp/src/com/android/server/wm/overlay_app/ |
D | OverlayApp.java | 41 tv.setGravity(Gravity.CENTER); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickTileLayout.java | 20 setGravity(Gravity.CENTER); in QuickTileLayout()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/statusbar/phone/ |
D | EdgeToEdgeDialogDelegate.kt | 31 setGravity(Gravity.BOTTOM or Gravity.CENTER) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/ |
D | ScreenCapturePermissionDialogDelegate.kt | 41 window?.setGravity(Gravity.CENTER) in <lambda>()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | GridLayoutTest.java | 43 lp.setGravity(va | ha); in create()
|
D | LayoutInsetsTest.java | 44 lp.setGravity(GRAVITIES[(i % N)]); in create()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeNonHintingView.java | 73 setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onLayout() 78 setGravity(Gravity.CENTER); in onLayout()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 130 public void setGravity(int gravity) { in setGravity() method in MenuPopupHelper 251 popup.setGravity(mDropDownGravity); in createPopup()
|
D | IconMenuItemView.java | 201 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon() 213 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | CustomBar.java | 63 setGravity(Gravity.CENTER_VERTICAL); in CustomBar() 65 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 250 t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in doubleText() 259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/ui/ |
D | StickyKeyDialogFactory.kt | 61 setGravity(Gravity.TOP or Gravity.END) in Window()
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | FocusEventDebugView.java | 175 mPressedKeyContainer.setGravity(Gravity.RIGHT | Gravity.BOTTOM); in handleUpdateShowKeyPresses() 190 mPressedModifierContainer.setGravity(Gravity.LEFT | Gravity.BOTTOM); in handleUpdateShowKeyPresses() 401 setGravity(Gravity.CENTER); in PressedKeyView()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | RenderEffectShaderActivity.java | 41 layout.setGravity(Gravity.CENTER); in onCreate()
|
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/ |
D | BarView.java | 98 setGravity(Gravity.CENTER | Gravity.BOTTOM); in init()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ButtonBarLayout.java | 149 setGravity(stacked ? Gravity.END : Gravity.BOTTOM); in setStacked()
|