/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
GravityHelperTest.java | 28 import static com.android.ide.common.layout.GravityHelper.getGravity; 40 assertEquals(GRAVITY_BOTTOM, GravityHelper.getGravity("bottom", 0)); 41 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT, GravityHelper.getGravity("bottom|left", 0)); 43 GravityHelper.getGravity("bottom|left|start", 0)); 45 GravityHelper.getGravity("bottom|start|left", 0)); 47 GravityHelper.getGravity("bottom|right|end", 0)); 49 GravityHelper.getGravity("bottom|end|right", 0)); 51 GravityHelper.getGravity("center", 0)); 55 assertEquals("left", getGravity(GRAVITY_LEFT)); 56 assertEquals("start", getGravity(GRAVITY_START)) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GravityComponent.java | 47 public Vector2 getGravity() {
|
OrbitalMagnetComponent.java | 86 final Vector2 gravityVector = gravity.getGravity();
|
PhysicsComponent.java | 88 final Vector2 gravityVector = gravity.getGravity();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
GravityHelper.java | 84 public static int getGravity(Element element) { 86 return getGravity(gravityString, GRAVITY_LEFT | GRAVITY_TOP); 96 public static int getGravity(String gravityString, int defaultMask) { 177 public static String getGravity(int gravity) {
|
GridLayoutRule.java | 470 int gravity = GravityHelper.getGravity(gravityString, 0); 489 gravityString = GravityHelper.getGravity(gravity); 507 int gravity = GravityHelper.getGravity(gravityString, 0); 516 gravityString = GravityHelper.getGravity(gravity);
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 163 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK; 164 final int horizontalGravity = getGravity() & Gravity.HORIZONTAL_GRAVITY_MASK;
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
PhysicsCharacter.java | 170 public float getGravity() { 171 return getGravity(characterId); 174 private native float getGravity(long characterId); 286 capsule.write(getGravity(), "gravity", 9.8f * 3);
|
PhysicsRigidBody.java | 337 public Vector3f getGravity() { 338 return getGravity(null); 341 public Vector3f getGravity(Vector3f gravity) { 345 getGravity(objectId, gravity); 349 private native void getGravity(long objectId, Vector3f gravity); 708 capsule.write(getGravity(), "gravity", Vector3f.ZERO);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationOverlayItem.java | 72 public int getGravity() {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 98 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); 101 assertEquals(Gravity.CENTER, bitmapDrawable.getGravity()); 104 assertEquals(-1, bitmapDrawable.getGravity()); 107 assertEquals(Integer.MAX_VALUE, bitmapDrawable.getGravity()); 245 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); 250 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); 256 assertEquals(Gravity.FILL, bitmapDrawable.getGravity()); 322 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); 334 assertEquals(Gravity.CENTER, bitmapDrawable.getGravity());
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
PhysicsCharacter.java | 160 public float getGravity() { 161 return character.getGravity(); 264 capsule.write(getGravity(), "gravity", 9.8f * 3);
|
PhysicsRigidBody.java | 335 public Vector3f getGravity() { 336 return getGravity(null); 339 public Vector3f getGravity(Vector3f gravity) { 343 rBody.getGravity(tempVec); 659 capsule.write(getGravity(), "gravity", Vector3f.ZERO);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowToast.java | 63 public int getGravity() {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ToastTest.java | 303 assertEquals(Gravity.CENTER, mToast.getGravity()); 321 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 346 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 89 mChronometerGravity = (mChronometer.getGravity() &
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
CharacterControl.java | 70 control.setGravity(getGravity());
|
RigidBodyControl.java | 75 control.setGravity(getGravity());
|
VehicleControl.java | 95 control.setGravity(getGravity());
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 219 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK;
|
CompoundButton.java | 265 final int verticalGravity = getGravity() & Gravity.VERTICAL_GRAVITY_MASK;
|
Toast.java | 199 * @see #getGravity 210 * @see #getGravity 212 public int getGravity() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TextViewTest.java | 71 assertThat(textView.getGravity(), not(equalTo(Gravity.CENTER))); 73 assertThat(textView.getGravity(), equalTo(Gravity.CENTER));
|
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_objects_PhysicsCharacter.cpp | 196 * Method: getGravity 207 return character->getGravity();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 24 import static com.android.ide.common.layout.GravityHelper.getGravity; [all...] |