/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 34 import android.view.Gravity; 64 private int mCheckMarkGravity = Gravity.END; 106 mCheckMarkGravity = a.getInt(R.styleable.CheckedTextView_checkMarkGravity, Gravity.END); 373 final int gravity = Gravity.getAbsoluteGravity(mCheckMarkGravity, getLayoutDirection()); local 374 final int hgrav = gravity & Gravity.HORIZONTAL_GRAVITY_MASK; 375 return hgrav == Gravity.LEFT; 384 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; 390 case Gravity.BOTTOM [all...] |
Spinner.java | 41 import android.view.Gravity; 301 mGravity = a.getInt(R.styleable.Spinner_gravity, Gravity.CENTER); 461 * @param gravity See {@link android.view.Gravity} 465 public void setGravity(int gravity) { 466 if (mGravity != gravity) { 467 if ((gravity & Gravity.HORIZONTAL_GRAVITY_MASK) == 0) { 468 gravity |= Gravity.START [all...] |
ActionMenuView.java | 26 import android.view.Gravity; 579 params.gravity = Gravity.CENTER_VERTICAL; 594 if (result.gravity <= Gravity.NO_GRAVITY) { 595 result.gravity = Gravity.CENTER_VERTICAL;
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
TestUtilsMatchers.java | 30 import android.view.Gravity; 364 * Returns a matcher that matches FloatingActionButtons with the specified gravity. 366 public static Matcher withFabContentAreaOnMargins(final int gravity) { 389 final int absGravity = GravityCompat.getAbsoluteGravity(gravity, 393 switch (absGravity & Gravity.VERTICAL_GRAVITY_MASK) { 394 case Gravity.TOP: 397 case Gravity.BOTTOM: 402 switch (absGravity & Gravity.HORIZONTAL_GRAVITY_MASK) { 403 case Gravity.LEFT: 406 case Gravity.RIGHT [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SharePopup.java | 212 public void showAtLocation(View parent, int gravity, int x, int y) { 213 super.showAtLocation(parent, gravity, x, y);
|
/packages/apps/Settings/src/com/android/settings/display/ |
ConversationMessageView.java | 25 import android.view.Gravity; 204 final int gravity = mIncoming ? (Gravity.START | Gravity.CENTER_VERTICAL) : local 205 (Gravity.END | Gravity.CENTER_VERTICAL); 236 mMessageBubble.setGravity(gravity);
|
/prebuilts/sdk/current/support/percent/libs/ |
android-support-percent.jar | |
/external/ImageMagick/scripts/ |
Makefile.am | 38 Magick++/demo/gravity.sh \ 148 Magick++/demo/gravity \ 180 Magick___demo_gravity_SOURCES = Magick++/demo/gravity.cpp
|
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingToolbarLayout.java | 44 import android.view.Gravity; 159 GravityCompat.START | Gravity.BOTTOM)); 162 GravityCompat.START | Gravity.CENTER_VERTICAL)); 831 * Sets the horizontal alignment of the collapsed title and the vertical gravity that will [all...] |
CoordinatorLayout.java | 58 import android.view.Gravity; 740 resolveKeylineGravity(lp.gravity), layoutDirection) 741 & Gravity.HORIZONTAL_GRAVITY_MASK; 742 if ((keylineGravity == Gravity.LEFT && !isRtl) 743 || (keylineGravity == Gravity.RIGHT && isRtl)) { 745 } else if ((keylineGravity == Gravity.RIGHT && !isRtl) 746 || (keylineGravity == Gravity.LEFT && isRtl)) { 2472 public int gravity = Gravity.NO_GRAVITY; field in class:CoordinatorLayout.LayoutParams [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
World.java | 142 * @param gravity the world gravity vector. 144 public World(Vec2 gravity) { 145 this(gravity, new DefaultWorldPool(WORLD_POOL_SIZE, WORLD_POOL_CONTAINER_SIZE)); 151 * @param gravity the world gravity vector. 153 public World(Vec2 gravity, IWorldPool pool) { 154 this(gravity, pool, new DynamicTree()); 157 public World(Vec2 gravity, IWorldPool pool, BroadPhaseStrategy strategy) { 158 this(gravity, pool, new DefaultBroadPhaseBuffer(strategy)) [all...] |
Island.java | 241 public void solve(Profile profile, TimeStep step, Vec2 gravity, boolean allowSleep) { 261 // v += h * (b.m_gravityScale * gravity + b.m_invMass * b.m_force); 262 v.x += h * (b.m_gravityScale * gravity.x + b.m_invMass * b.m_force.x); 263 v.y += h * (b.m_gravityScale * gravity.y + b.m_invMass * b.m_force.y);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RelativeLayoutConversionHelper.java | 300 * alignment, weights, gravity, etc. 370 * relationships it can infer - based on baseline alignment, gravity, order and 526 // Only align if they share the same gravity 539 * Checks the layout "gravity" value for the given child and updates the constraints 540 * to account for the gravity 544 // Use gravity to constrain elements in the axis orthogonal to the 546 int gravity = childView.getGravity(); local 548 if ((gravity & GRAVITY_RIGHT) != 0) { 559 } else if ((gravity & GRAVITY_CENTER_HORIZ) != 0) { 568 } else if ((gravity & GRAVITY_FILL_HORIZ) != 0) [all...] |
UseCompoundDrawableRefactoring.java | 267 // as well as android:gravity 278 String gravity = layout.getAttributeNS(ANDROID_URI, ATTR_GRAVITY); local 279 if (gravity.length() > 0) { 280 setAndroidAttribute(newTextElement, androidNsPrefix, ATTR_GRAVITY, gravity);
|
/external/ImageMagick/MagickWand/ |
montage.c | 165 "-gravity direction which direction to gravitate towards", 1036 gravity; local [all...] |
/frameworks/base/media/java/android/media/ |
Cea708CaptionRenderer.java | 39 import android.view.Gravity; 1896 int gravity = Gravity.CENTER; local [all...] |
/external/ImageMagick/MagickCore/ |
geometry.c | 499 % given: width, height and gravity; against which it is positioned. 507 % const GravityType gravity,RectangleInfo *region); 513 % o gravity: the edge/corner the current offset is relative to 515 % o region: The region requiring a offset adjustment relative to gravity 519 const size_t height,const GravityType gravity,RectangleInfo *region) 525 switch (gravity) 548 switch (gravity) 676 % without any modification by percentages or gravity. [all...] |
/frameworks/base/core/java/android/view/ |
Window.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 32 import android.view.Gravity; 585 params.gravity = Gravity.CENTER_VERTICAL; 600 if (result.gravity <= Gravity.NO_GRAVITY) { 601 result.gravity = Gravity.CENTER_VERTICAL;
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
main.c | 143 GRAVITY, 239 CASE_NAME(GRAVITY); 488 } else if (components[GRAVITY].order == i) { 494 float gravity[3]; local 495 inv_get_sensor_type_gravity_float(gravity, NULL, NULL); 496 PRINT_3ELM_ARRAY_FLOAT(10, 5, gravity); 613 " V = GRAVITY,\n" 682 components[GRAVITY].order = j;
|
/prebuilts/sdk/current/support/v7/gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ClipDrawableTest.java | 41 import android.view.Gravity; 46 new ClipDrawable((Drawable) null, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 49 new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 56 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 76 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 91 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 95 clipDrawable = new ClipDrawable(mockDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 105 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 111 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); 119 Gravity.BOTTOM, ClipDrawable.HORIZONTAL) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
GalleryTest.java | 38 import android.view.Gravity; 207 setGalleryGravity(Gravity.CENTER_HORIZONTAL); 211 setGalleryGravity(Gravity.TOP); 215 setGalleryGravity(Gravity.BOTTOM); 220 private void setGalleryGravity(final int gravity) throws Throwable { 223 mGallery.setGravity(gravity);
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Island.cpp | 183 void b2Island::Solve(b2Profile* profile, const b2TimeStep& step, const b2Vec2& gravity, bool allowSleep) 206 v += h * (b->m_gravityScale * gravity + b->m_invMass * b->m_force);
|