Searched defs:gravity (Results 1 - 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DCircleView.java149 * {@link #setRadius(float)} will automatically clear any conflicting gravity bits.
151 * @param gravity the {@link Gravity} flags to use
155 public CircleView setGravity(int gravity) { argument
156 if (mGravity != gravity) {
157 mGravity = gravity;
159 if (gravity != Gravity.NO_GRAVITY && isLayoutDirectionResolved()) {
160 applyGravity(gravity, getLayoutDirection());
214 // clear the horizontal gravity flags
244 // clear the vertical gravity flags
276 // clear the fill gravity flag
305 applyGravity(int gravity, int layoutDirection) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java212 public void showAtLocation(View parent, int gravity, int x, int y) { argument
213 super.showAtLocation(parent, gravity, x, y);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DTutorialEN.java86 int gravity; field in class:TutorialEN.Bubble
112 this.gravity = Gravity.TOP | Gravity.LEFT;
168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
169 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth();
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java88 int gravity; field in class:TutorialJAJP.Bubble
114 this.gravity = Gravity.TOP | Gravity.LEFT;
170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
171 if ((gravity & Gravity.RIGHT) == Gravity.RIGHT) offx -= window.getWidth();
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageView.java748 final int gravity = incoming ? (Gravity.START | Gravity.CENTER_VERTICAL) :
775 mMessageBubble.setGravity(gravity);
776 updateMessageAttachmentsAppearance(gravity);
850 private void updateMessageAttachmentsAppearance(final int gravity) { argument
851 mMessageAttachmentsView.setGravity(gravity);
/packages/apps/Settings/src/com/android/settings/widget/
H A DMatchParentShrinkingLinearLayout.java1156 int gravity = lp.gravity;
1157 if (gravity < 0) {
1158 gravity = minorGravity;
1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection);
1283 int gravity = lp.gravity;
1284 if (gravity < 0) {
1285 gravity = minorGravity;
1288 switch (gravity
1378 setGravity(int gravity) argument
1502 public int gravity = -1; field in class:MatchParentShrinkingLinearLayout.LayoutParams
[all...]

Completed in 94 milliseconds