HomeSort by relevance Sort by last modified time
    Searched refs:Gravity (Results 26 - 50 of 634) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/transition/
Slide.java 24 import android.view.Gravity;
50 private @GravityFlag int mSlideEdge = Gravity.BOTTOM;
55 @IntDef({Gravity.LEFT, Gravity.TOP, Gravity.RIGHT, Gravity.BOTTOM, Gravity.START, Gravity.END})
140 * Constructor using the default {@link Gravity#BOTTOM}
144 setSlideEdge(Gravity.BOTTOM)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListBottomGravity.java 19 import android.view.Gravity;
24 * Basic bottom gravity scenario, nothing fancy. Items do not
ListTopGravity.java 19 import android.view.Gravity;
24 * Basic top gravity scenario, nothing fancy. Items do not
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DrawerLayoutUtil.java 26 import static android.view.Gravity.END;
27 import static android.view.Gravity.LEFT;
28 import static android.view.Gravity.RIGHT;
29 import static android.view.Gravity.START;
39 int gravity = -1; local
41 gravity = LEFT;
43 gravity = RIGHT;
45 gravity = START;
47 gravity = END;
49 if (gravity > 0)
57 gravity); local
    [all...]
  /frameworks/support/transition/src/android/support/transition/
Slide.java 31 import android.view.Gravity;
57 private int mSlideEdge = Gravity.BOTTOM;
62 @IntDef({Gravity.LEFT, Gravity.TOP, Gravity.RIGHT, Gravity.BOTTOM, Gravity.START, Gravity.END})
150 * Constructor using the default {@link Gravity#BOTTOM}
154 setSlideEdge(Gravity.BOTTOM)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
ListEmptyView.java 20 import android.view.Gravity;
64 int gravity = local
65 isVerticallyCentered ? Gravity.CENTER : Gravity.TOP | Gravity.CENTER_HORIZONTAL;
66 ((LinearLayout.LayoutParams) mEmptyImageHint.getLayoutParams()).gravity = gravity;
67 ((LinearLayout.LayoutParams) mEmptyTextHint.getLayoutParams()).gravity = gravity;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LinearLayout8.java 26 import android.view.Gravity;
32 * Demonstrates horizontal and vertical gravity
84 mLinearLayout.setVerticalGravity(Gravity.TOP);
87 mLinearLayout.setVerticalGravity(Gravity.CENTER_VERTICAL);
90 mLinearLayout.setVerticalGravity(Gravity.BOTTOM);
94 mLinearLayout.setHorizontalGravity(Gravity.LEFT);
97 mLinearLayout.setHorizontalGravity(Gravity.CENTER_HORIZONTAL);
100 mLinearLayout.setHorizontalGravity(Gravity.RIGHT);
  /packages/apps/Calendar/src/com/android/calendar/
MultiStateButton.java 23 import android.view.Gravity;
163 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK;
164 final int horizontalGravity = getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK;
172 case Gravity.BOTTOM:
175 case Gravity.CENTER_VERTICAL:
180 case Gravity.RIGHT:
183 case Gravity.CENTER_HORIZONTAL:
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsBackgroundDrawable.java 26 import android.view.Gravity;
48 * @param gravity If one of the Gravity center values, the x and y offset will take the width
52 int gravity) {
56 mGravity = gravity;
73 if ((mGravity & Gravity.CENTER_HORIZONTAL) == Gravity.CENTER_HORIZONTAL) {
76 if ((mGravity & Gravity.CENTER_VERTICAL) == Gravity.CENTER_VERTICAL) {
101 0.575f, 0.f, Gravity.CENTER_HORIZONTAL)
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
DropBadgeView.java 23 import android.view.Gravity;
53 mBackground.setLayerGravity(1, Gravity.BOTTOM | Gravity.RIGHT);
54 mBackground.setLayerGravity(0, Gravity.TOP | Gravity.LEFT);
  /packages/apps/Settings/src/com/android/settings/widget/
MatchParentShrinkingLinearLayout.java 27 import android.view.Gravity;
113 @ViewDebug.FlagToString(mask = Gravity.NO_GRAVITY,
114 equals = Gravity.NO_GRAVITY,name = "NONE"),
115 @ViewDebug.FlagToString(mask = Gravity.TOP,
116 equals = Gravity.TOP, name = "TOP"),
117 @ViewDebug.FlagToString(mask = Gravity.BOTTOM,
118 equals = Gravity.BOTTOM, name = "BOTTOM"),
119 @ViewDebug.FlagToString(mask = Gravity.LEFT,
120 equals = Gravity.LEFT, name = "LEFT"),
121 @ViewDebug.FlagToString(mask = Gravity.RIGHT
1156 int gravity = lp.gravity; local
1283 int gravity = lp.gravity; local
1395 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; local
1404 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; local
1502 public int gravity = -1; field in class:MatchParentShrinkingLinearLayout.LayoutParams
    [all...]
  /frameworks/support/design/src/android/support/design/internal/
ForegroundLinearLayout.java 32 import android.view.Gravity;
46 private int mForegroundGravity = Gravity.FILL;
83 * @return foreground gravity.
94 * @param foregroundGravity See {@link android.view.Gravity}
100 if ((foregroundGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) == 0) {
101 foregroundGravity |= Gravity.START;
104 if ((foregroundGravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) {
105 foregroundGravity |= Gravity.TOP;
110 if (mForegroundGravity == Gravity.FILL && mForeground != null) {
165 if (mForegroundGravity == Gravity.FILL)
    [all...]
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarDisplayOptions.java 23 import android.view.Gravity;
102 switch (lp.gravity & Gravity.HORIZONTAL_GRAVITY_MASK) {
103 case Gravity.LEFT:
104 newGravity = Gravity.CENTER_HORIZONTAL;
106 case Gravity.CENTER_HORIZONTAL:
107 newGravity = Gravity.RIGHT;
109 case Gravity.RIGHT:
110 newGravity = Gravity.LEFT;
113 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity
    [all...]
ToolbarDisplayOptions.java 25 import android.view.Gravity;
98 switch (lp.gravity & Gravity.HORIZONTAL_GRAVITY_MASK) {
99 case Gravity.LEFT:
100 newGravity = Gravity.CENTER_HORIZONTAL;
102 case Gravity.CENTER_HORIZONTAL:
103 newGravity = Gravity.RIGHT;
105 case Gravity.RIGHT:
106 newGravity = Gravity.LEFT;
109 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity
    [all...]
  /frameworks/base/core/java/android/app/
ActionBar.java 31 import android.view.Gravity;
1370 public int gravity = Gravity.NO_GRAVITY; field in class:ActionBar.LayoutParams
    [all...]
  /external/ImageMagick/PerlMagick/demo/
settings.pl 6 # Gravity center, caption and wrapped text
19 Gravity => 'East',
  /external/replicaisland/src/com/replica/replicaisland/
CustomToastSystem.java 21 import android.view.Gravity;
52 mToast.setGravity(Gravity.CENTER, 0, 0);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QuickTileLayout.java 5 import android.view.Gravity;
18 setGravity(Gravity.CENTER);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonDrawable.java 22 import android.view.Gravity;
45 setLayerGravity(i, Gravity.CENTER);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
OpaqueActivity.java 25 import android.view.Gravity;
36 setContentView(view, new FrameLayout.LayoutParams(100, 100, Gravity.CENTER));
TimeDialogActivity.java 22 import android.view.Gravity;
36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
GetBitmapActivity.java 25 import android.view.Gravity;
73 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER));
76 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM));
  /frameworks/support/core-utils/api21/android/support/v4/graphics/drawable/
RoundedBitmapDrawable21.java 24 import android.view.Gravity;
53 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight,
55 Gravity.apply(gravity, bitmapWidth, bitmapHeight,
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
LinearLayoutManagerWrapContentTest.java 28 import android.view.Gravity;
160 return Gravity.TOP;
163 return Gravity.BOTTOM;
165 return Gravity.TOP;
173 return Gravity.RIGHT;
175 return Gravity.LEFT;
179 return Gravity.RIGHT;
181 return Gravity.LEFT;
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/tests/src/com/example/android/swiperefreshlistfragment/tests/
SampleTests.java 26 import android.view.Gravity;
76 Gravity.TOP | Gravity.CENTER_HORIZONTAL,

Completed in 1683 milliseconds

12 3 4 5 6 7 8 91011>>