Home
last modified time | relevance | path

Searched refs:setGravity (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java88 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/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleManageEducationView.java98 mTitleTextView.setGravity(Gravity.RIGHT); in setLayoutDirection()
99 mDescTextView.setGravity(Gravity.RIGHT); in setLayoutDirection()
102 mTitleTextView.setGravity(Gravity.LEFT); in setLayoutDirection()
103 mDescTextView.setGravity(Gravity.LEFT); in setLayoutDirection()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java63 setGravity(Gravity.CENTER); in MockView()
115 public void setGravity(int gravity) { in setGravity() method in MockView
116 mView.setGravity(gravity); in setGravity()
/frameworks/base/core/java/android/widget/
DPopupMenu.java119 mPopup.setGravity(gravity); in PopupMenu()
139 public void setGravity(int gravity) { in setGravity() method in PopupMenu
140 mPopup.setGravity(gravity); in setGravity()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java136 toast.setGravity(Gravity.LEFT, 0, 0);
146 toast.setGravity(Gravity.FILL_HORIZONTAL, 0, 0);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java384 .setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutInfersFreeformWithEmptySize()
641 .setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity()
657 .setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity()
673 .setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity()
690 .setGravity(Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity()
706 .setGravity(Gravity.BOTTOM).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomGravity()
722 .setGravity(Gravity.BOTTOM | Gravity.RIGHT).build(); in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomRightGravity()
755 .setWidth(120).setHeight(80).setGravity(Gravity.LEFT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_LeftGravity()
771 .setWidth(120).setHeight(80).setGravity(Gravity.TOP).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_TopGravity()
787 .setWidth(120).setHeight(80).setGravity(Gravity.TOP | Gravity.LEFT).build(); in testNonEmptyLayoutBoundsOnFreeformDisplay_TopLeftGravity()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickTileLayout.java18 setGravity(Gravity.CENTER); in QuickTileLayout()
DQSDualTileLabel.java111 tv.setGravity(Gravity.CENTER_VERTICAL); in initTextView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlsView.java47 setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in PipControlsView()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DGridLayoutTest.java43 lp.setGravity(va | ha); in create()
DLayoutInsetsTest.java44 lp.setGravity(GRAVITIES[(i % N)]); in create()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java129 public void setGravity(int gravity) { in setGravity() method in MenuPopupHelper
250 popup.setGravity(mDropDownGravity); in createPopup()
DIconMenuItemView.java201 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
213 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
DMenuPopup.java56 public abstract void setGravity(int dropDownGravity); in setGravity() method in MenuPopup
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java250 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/settings/
DBrightnessDialog.java53 window.setGravity(Gravity.TOP); in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java70 setGravity(Gravity.CENTER_VERTICAL); in CustomBar()
72 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
DStatusBar.java75 setGravity(Gravity.START | Gravity.TOP | Gravity.RIGHT); in StatusBar()
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarView.java98 setGravity(Gravity.CENTER | Gravity.BOTTOM); in init()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java87 setGravity(Gravity.BOTTOM); in applyProportionalLayout()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java149 setGravity(stacked ? Gravity.END : Gravity.BOTTOM); in setStacked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java154 if (getGravity() != gravityToApply) setGravity(gravityToApply); in updateGravity()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java336 ((BitmapDrawable) horizontalTile).setGravity(Gravity.TOP); in getIllustration()
340 ((BitmapDrawable) asset).setGravity(Gravity.TOP | Gravity.LEFT); in getIllustration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialog.java76 window.setGravity(Gravity.TOP); in onCreate()
/frameworks/base/core/java/android/app/
DPresentation.java203 w.setGravity(Gravity.FILL); in Presentation()

123