Home
last modified time | relevance | path

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

1234

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java52 setGravity(Gravity.CENTER); in MockView()
103 public void setGravity(int gravity) { in setGravity() method in MockView
104 mView.setGravity(gravity); in setGravity()
/frameworks/base/core/java/android/widget/
DPopupMenu.java115 mPopup.setGravity(gravity); in PopupMenu()
135 public void setGravity(int gravity) { in setGravity() method in PopupMenu
136 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()
DButtonBarLayout.java119 setGravity(stacked ? Gravity.RIGHT : Gravity.BOTTOM); in setStacked()
/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.java110 textView.setGravity(Gravity.CENTER); in onCreateView()
152 textView.setGravity(Gravity.CENTER); in onCreateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickTileLayout.java18 setGravity(Gravity.CENTER); in QuickTileLayout()
DQSTileView.java60 setGravity(Gravity.CENTER); in QSTileView()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseGridView.java230 setGravity(a.getInt(R.styleable.lbBaseGridView_android_gravity, Gravity.NO_GRAVITY)); in initBaseGridViewAttributes()
673 public void setGravity(int gravity) { in setGravity() method in BaseGridView
674 mLayoutManager.setGravity(gravity); in setGravity()
/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.java189 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
201 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
DActionMenuItemView.java287 cheatSheet.setGravity(Gravity.TOP | Gravity.END, referenceX, in onLongClick()
291 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuPopupHelper.java125 public void setGravity(int gravity) { in setGravity() method in MenuPopupHelper
253 popup.setGravity(mDropDownGravity); in createPopup()
DActionMenuItemView.java267 cheatSheet.setGravity(Gravity.TOP | GravityCompat.END, referenceX, in onLongClick()
271 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/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/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessDialog.java42 window.setGravity(Gravity.TOP); in onCreate()
/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/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd63 You can change this position with the {@link android.widget.Toast#setGravity(int,int,int)}
70 toast.setGravity(Gravity.TOP|Gravity.LEFT, 0, 0);
129 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
/frameworks/base/tools/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/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialog.java285 text1.setGravity(Gravity.BOTTOM); in getView()
289 text1.setGravity(Gravity.CENTER_VERTICAL); in getView()
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatWearableExtenderTest.java118 .setGravity(Gravity.TOP); in testRealReadCompatValue()
166 .setGravity(Gravity.TOP); in testCompatReadRealValue()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java229 cheatSheet.setGravity(Gravity.TOP | Gravity.END, in performLongClick()
233 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in performLongClick()

1234