Home
last modified time | relevance | path

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

12345

/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.java116 mPopup.setGravity(gravity); in PopupMenu()
136 public void setGravity(int gravity) { in setGravity() method in PopupMenu
137 mPopup.setGravity(gravity); in setGravity()
/frameworks/support/v7/appcompat/src/android/support/v7/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/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarFragmentPagerMenu.java109 textView.setGravity(Gravity.CENTER); in onCreateView()
151 textView.setGravity(Gravity.CENTER); in onCreateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickTileLayout.java18 setGravity(Gravity.CENTER); in QuickTileLayout()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java122 public void setGravity(int gravity) { in setGravity() method in MenuPopupHelper
243 popup.setGravity(mDropDownGravity); in createPopup()
DIconMenuItemView.java200 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
212 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
DStandardMenuPopup.java141 public void setGravity(int gravity) { in setGravity() method in StandardMenuPopup
266 subPopup.setGravity(mDropDownGravity); in onSubMenuSelected()
DMenuPopup.java56 public abstract void setGravity(int dropDownGravity); in setGravity() method in MenuPopup
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuPopupHelper.java129 public void setGravity(int gravity) { in setGravity() method in MenuPopupHelper
255 popup.setGravity(mDropDownGravity); in createPopup()
DStandardMenuPopup.java139 public void setGravity(int gravity) { in setGravity() method in StandardMenuPopup
263 subPopup.setGravity(mDropDownGravity); in onSubMenuSelected()
/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/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/support/wear/tests/src/android/support/wear/widget/
DSwipeDismissFrameLayoutTestActivity.java62 textView.setGravity(Gravity.CENTER_VERTICAL); in onCreateViewHolder()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
DGridItemPresenter.java45 view.setGravity(Gravity.CENTER); in onCreateViewHolder()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseGridView.java256 setGravity(a.getInt(R.styleable.lbBaseGridView_android_gravity, Gravity.NO_GRAVITY)); in initBaseGridViewAttributes()
831 public void setGravity(int gravity) { in setGravity() method in BaseGridView
832 mLayoutManager.setGravity(gravity); in setGravity()
/frameworks/support/fragment/java/android/support/v4/app/
DListFragment.java103 pframe.setGravity(Gravity.CENTER); in onCreateView()
120 tv.setGravity(Gravity.CENTER); in onCreateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java45 window.setGravity(Gravity.TOP); in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java76 setGravity(Gravity.CENTER_VERTICAL); in CustomBar()
78 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModeDialog.java46 getWindow().setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL); in CompatModeDialog()
/frameworks/support/samples/SupportWearDemos/src/com/example/android/support/wear/app/
DMainDemoActivity.java93 view.setGravity(Gravity.CENTER); in onCreateViewHolder()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java87 setGravity(Gravity.BOTTOM); in applyProportionalLayout()
/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java154 setGravity(stacked ? Gravity.RIGHT : Gravity.BOTTOM); in setStacked()

12345