/external/ImageMagick/Magick++/lib/Magick++/ |
Montage.h | 53 void gravity(GravityType gravity_); 54 GravityType gravity(void) const;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
MockView.java | 21 import android.view.Gravity; 52 setGravity(Gravity.CENTER); 103 public void setGravity(int gravity) { 104 mView.setGravity(gravity);
|
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawableFactory.java | 55 void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, 57 GravityCompat.apply(gravity, bitmapWidth, bitmapHeight,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ScaleFrameLayout.java | 20 import android.view.Gravity; 34 private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START; 136 int gravity = lp.gravity; local 137 if (gravity == -1) { 138 gravity = DEFAULT_CHILD_GRAVITY; 141 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); 142 final int verticalGravity = gravity & Gravity.VERTICAL_GRAVITY_MASK [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
GridLayoutRule.java | 174 // Gravity and margins 358 String gravity = computeDefaultGravity(fill); local 359 if (gravity != null) { 360 node.setAttribute(getNamespace(parent), ATTR_LAYOUT_GRAVITY, gravity); local 383 * Computes the default gravity to be used for a widget of the given fill 387 * @return the gravity value, or null, to be set on the widget 398 String gravity; local 401 gravity = GRAVITY_VALUE_FILL; 403 gravity = horizontal + '|' + vertical; 405 gravity = horizontal 470 int gravity = GravityHelper.getGravity(gravityString, 0); local 507 int gravity = GravityHelper.getGravity(gravityString, 0); local [all...] |
/frameworks/base/core/java/android/widget/ |
Toast.java | 33 import android.view.Gravity; 211 * @see android.view.Gravity 214 public void setGravity(int gravity, int xOffset, int yOffset) { 215 mTN.mGravity = gravity; 222 * @see android.view.Gravity 230 * Return the X offset in pixels to apply to the gravity's location. 237 * Return the Y offset in pixels to apply to the gravity's location. 410 // We can resolve the Gravity here by using the Locale for getting 413 final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection()) local [all...] |
LinearLayout.java | 30 import android.view.Gravity; 44 * You can also specify gravity, which specifies the alignment of all the child elements by 140 @ViewDebug.FlagToString(mask = Gravity.NO_GRAVITY, 141 equals = Gravity.NO_GRAVITY,name = "NONE"), 142 @ViewDebug.FlagToString(mask = Gravity.TOP, 143 equals = Gravity.TOP, name = "TOP"), 144 @ViewDebug.FlagToString(mask = Gravity.BOTTOM, 145 equals = Gravity.BOTTOM, name = "BOTTOM"), 146 @ViewDebug.FlagToString(mask = Gravity.LEFT, 147 equals = Gravity.LEFT, name = "LEFT") 1161 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) local 1326 final int gravity = (lp.gravity < 0 ? mGravity : lp.gravity) local 1558 int gravity = lp.gravity; local 1684 int gravity = lp.gravity; local 1806 final int gravity = horizontalGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK; local 1815 final int gravity = verticalGravity & Gravity.VERTICAL_GRAVITY_MASK; local 1920 public int gravity = -1; field in class:LinearLayout.LayoutParams [all...] |
PopupWindow.java | 39 import android.view.Gravity; 126 private static final int DEFAULT_ANCHORED_GRAVITY = Gravity.TOP | Gravity.START; 196 private int mGravity = Gravity.NO_GRAVITY; 1121 showAtLocation(parent.getWindowToken(), gravity, x, y); local 1395 int gravity = mGravity == Gravity.NO_GRAVITY ? Gravity.START | Gravity.TOP : mGravity; local [all...] |
/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...] |
/external/ImageMagick/coders/ |
pango.c | 147 gravity; 226 switch (draw_info->gravity) 230 gravity=PANGO_GRAVITY_NORTH; 237 gravity=PANGO_GRAVITY_WEST; 244 gravity=PANGO_GRAVITY_EAST; 249 gravity=PANGO_GRAVITY_SOUTH; 254 gravity=PANGO_GRAVITY_AUTO; 258 pango_context_set_base_gravity(context,gravity); 259 option=GetImageOption(image_info,"pango:gravity-hint"); 316 if (draw_info->gravity == CenterGravity 145 gravity; local [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/ |
CaptionWindowLayout.java | 34 import android.view.Gravity; 73 // The following values indicates a gravity of a window. 229 * According to CEA-708B, the anchor id indicates the gravity of the window as the follows. 233 * <h4>Anchor id and the gravity of a window</h4> 236 * <th>GRAVITY</th> 261 * In order to handle the gravity of a window, there are two steps. First, set the size of the 263 * determined in a ratio. Second, set the gravity of the window. {@link CaptionWindowLayout} is 264 * inherited from {@link RelativeLayout}. Hence, we could set the gravity of its child view, 268 * The gravity of the window is also related to its size. When it should be pushed to a one of 312 int gravity = Gravity.CENTER local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 19 import android.view.Gravity; 85 fllp.gravity = Gravity.BOTTOM; 94 assertEquals("Gravity", fllp.gravity, copy.gravity);
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
FloatingActionButtonActions.java | 106 public static ViewAction setLayoutGravity(final int gravity) { 124 lp.gravity = gravity;
|
/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...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/ |
btKinematicCharacterController.java | 86 public void setGravity(float gravity) { 87 DynamicsJNI.btKinematicCharacterController_setGravity(swigCPtr, this, gravity);
|
/external/replicaisland/src/com/replica/replicaisland/ |
OrbitalMagnetComponent.java | 83 // remove gravity 85 GravityComponent gravity = target.findByClass(GravityComponent.class); local 86 final Vector2 gravityVector = gravity.getGravity();
|
/frameworks/base/core/java/com/android/internal/app/ |
MicroAlertController.java | 22 import android.view.Gravity; 65 topParams.gravity = Gravity.TOP; 73 buttonParams.gravity = Gravity.BOTTOM;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 142 // TODO: Decide whether it should be gravity left or right... 176 // TODO: Find out where within the cell we are, and offer to tweak the gravity 699 // Set the cell position (gravity) of the new widget 700 int gravity = 0; 702 gravity |= GravityHelper.GRAVITY_RIGHT; 704 gravity |= GravityHelper.GRAVITY_CENTER_HORIZ; 708 // There *is* no baseline gravity constant, instead, leave the 709 // vertical gravity unspecified and GridLayout will treat it as 711 //gravity |= GravityHelper.GRAVITY_BASELINE; 713 gravity |= GravityHelper.GRAVITY_BOTTOM 783 int gravity = 0; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 97 * change and use this to infer gravity 171 // In a GridLayout, a row or column is stretchable if it defines a gravity (regardless 172 // of what the gravity is -- in other words, a column is not just stretchable if it 173 // has gravity=fill but also if it has gravity=left). Furthermore, ALL the elements 185 int gravity = GravityHelper.getGravity(view.mGravity, 0); local 186 if ((gravity & GRAVITY_HORIZ_MASK) == 0) { 191 if ((gravity & GRAVITY_VERT_MASK) == 0) { 239 String gravity; local 241 gravity = GRAVITY_VALUE_FILL 409 String gravity = element.getAttributeNS(ANDROID_URI, ATTR_LAYOUT_GRAVITY); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 28 import android.view.Gravity; 46 /** These are used for computing child frames based on their gravity. */ 172 // Use the child's gravity and size to determine its final 174 Gravity.apply(lp.gravity, width, height, mTmpContainerRect, mTmpChildRect); 213 * The gravity to apply with the View to which these layout parameters 216 public int gravity = Gravity.TOP | Gravity.START; field in class:CustomLayout.LayoutParams 231 gravity = a.getInt(R.styleable.CustomLayoutLP_android_layout_gravity, gravity) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Island.h | 48 void Solve(b2Profile* profile, const b2TimeStep& step, const b2Vec2& gravity, bool allowSleep);
|
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable.java | 31 import android.view.Gravity; 48 private int mGravity = Gravity.FILL; 54 final Rect mDstRect = new Rect(); // Gravity.apply() sets this 128 * Get the gravity used to position/stretch the bitmap within its bounds. 130 * @return the gravity applied to the bitmap 132 * @see android.view.Gravity 139 * Set the gravity used to position/stretch the bitmap within its bounds. 141 * @param gravity the gravity 143 * @see android.view.Gravity [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationItemView.java | 32 import android.view.Gravity; 143 iconParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP; 151 iconParams.gravity = Gravity.CENTER; 162 iconParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP; 174 iconParams.gravity = Gravity.CENTER_HORIZONTAL | Gravity.TOP [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
mag_disturb.h | 21 const long *compass, const long *gravity);
|