Home
last modified time | relevance | path

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

12

/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java38 setGravity(Gravity.CENTER); in MockView()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java40 setGravity(Gravity.START | Gravity.TOP | Gravity.RIGHT); in StatusBar()
DCustomBar.java69 setGravity(Gravity.CENTER_VERTICAL); in CustomBar()
71 setGravity(Gravity.CENTER_HORIZONTAL); in CustomBar()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DGridLayoutTest.java40 lp.setGravity(va | ha); in create()
DLayoutInsetsTest.java44 lp.setGravity(GRAVITIES[(i % N)]); in create()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java81 letter.setGravity(Gravity.CENTER); in onCreate()
91 tv.setGravity(Gravity.CENTER); in onCreate()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java186 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in setIcon()
198 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
DActionMenuItemView.java243 cheatSheet.setGravity(Gravity.TOP | Gravity.END, in onLongClick()
247 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/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/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java197 cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT, in onLongClick()
201 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in onLongClick()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java101 pframe.setGravity(Gravity.CENTER); in onCreateView()
118 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);
120 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);
/frameworks/base/core/java/android/widget/
DPopupMenu.java86 mPopup.setGravity(gravity); in PopupMenu()
DToast.java201 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() method in Toast
/frameworks/base/services/java/com/android/server/am/
DCompatModeDialog.java46 getWindow().setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL); in CompatModeDialog()
/frameworks/base/core/java/android/app/
DPresentation.java182 getWindow().setGravity(Gravity.FILL); in Presentation()
DMediaRouteButton.java223 cheatSheet.setGravity(Gravity.TOP | Gravity.END, in performLongClick()
227 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in performLongClick()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java198 tabLayout.setGravity(Gravity.CENTER); in createTabLayout()
374 setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in TabView()
505 cheatSheet.setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL, in onLongClick()
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java134 public void setGravity(int gravity) { in setGravity() method in SoftInputWindow
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java318 cheatSheet.setGravity(Gravity.TOP | GravityCompat.END, in performLongClick()
322 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); in performLongClick()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java57 setGravity(Gravity.CENTER); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java45 setGravity(Gravity.CENTER_VERTICAL); // no LL.getGravity() in DemoStatusIcons()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java261 public void setGravity(int gravity) { in setGravity() method in BitmapDrawable
589 setGravity(a.getInt(com.android.internal.R.styleable.BitmapDrawable_gravity, Gravity.FILL)); in inflate()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1655 setGravity(Gravity.END); in CueLayout()
1658 setGravity(Gravity.LEFT); in CueLayout()
1661 setGravity(horizontal in CueLayout()
1665 setGravity(Gravity.RIGHT); in CueLayout()
1668 setGravity(Gravity.START); in CueLayout()

12