Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 14 of 14) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java144 final int gravity = mGravity; in handleShow() local
145 mParams.gravity = gravity; in handleShow()
146 if ((gravity & Gravity.HORIZONTAL_GRAVITY_MASK) in handleShow()
150 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) in handleShow()
/packages/apps/Camera/src/com/android/camera/
DOnScreenHint.java141 final int gravity = mGravity; in handleShow() local
142 mParams.gravity = gravity; in handleShow()
143 if ((gravity & Gravity.HORIZONTAL_GRAVITY_MASK) in handleShow()
147 if ((gravity & Gravity.VERTICAL_GRAVITY_MASK) in handleShow()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java291 int gravity = params.gravity; in onLayout() local
292 if (gravity == -1) { in onLayout()
293 gravity = Gravity.LEFT | Gravity.TOP; in onLayout()
311 Gravity.apply(gravity, child.getMeasuredWidth(), child.getMeasuredHeight(), in onLayout()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java86 int gravity; field in TutorialEN.Bubble
112 this.gravity = Gravity.TOP | Gravity.LEFT; in init()
168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); in show()
169 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth(); in show()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java88 int gravity; field in TutorialJAJP.Bubble
114 this.gravity = Gravity.TOP | Gravity.LEFT; in init()
170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight(); in show()
171 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth(); in show()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java212 public void showAtLocation(View parent, int gravity, int x, int y) { in showAtLocation() argument
213 super.showAtLocation(parent, gravity, x, y); in showAtLocation()
/packages/apps/Settings/src/com/android/settings/widget/
DChartView.java119 Gravity.apply(params.gravity, width, height, parentRect, childRect); in onLayout()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DPinyinIME.java1467 public void onDirectionGesture(int gravity) { in onDirectionGesture() argument
1468 if (Gravity.NO_GRAVITY == gravity) { in onDirectionGesture()
1472 if (Gravity.LEFT == gravity || Gravity.RIGHT == gravity) { in onDirectionGesture()
1474 if (Gravity.LEFT == gravity) { in onDirectionGesture()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java626 int gravity = mMap.getInt("gravity", -1); in onCreate() local
627 if (gravity != -1) { in onCreate()
629 l.gravity = gravity; in onCreate()
DNavTabScroller.java203 lp.gravity = (mHorizontal ? Gravity.CENTER_VERTICAL : Gravity.CENTER_HORIZONTAL); in handleDataChanged()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java372 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT; in startDragging()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionsView.java362 params.gravity = Gravity.CENTER; in addDivider()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java580 layoutParams.gravity = Gravity.RIGHT; in createNormalCandidateView()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java598 a.gravity = Gravity.LEFT | Gravity.TOP; in applyDialogParams()