OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getGravity
(Results
1 - 19
of
19
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowLinearLayout.java
12
public int
getGravity
() {
ShadowToast.java
78
protected int
getGravity
() {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLinearLayoutTest.java
45
assertThat(shadow.
getGravity
()).isEqualTo(Gravity.TOP | Gravity.START);
47
assertThat(shadow.
getGravity
()).isEqualTo(Gravity.CENTER_VERTICAL | Gravity.START);
49
assertThat(shadow.
getGravity
()).isEqualTo(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL);
ShadowToastTest.java
87
assertThat(toast.
getGravity
()).isEqualTo(Gravity.CENTER);
ShadowTextViewTest.java
103
assertThat(textView.
getGravity
()).isNotEqualTo(Gravity.CENTER);
105
assertThat(textView.
getGravity
()).isEqualTo(Gravity.CENTER);
/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
();
/cts/tests/tests/widget/src/android/widget/cts/
RelativeLayoutTest.java
139
assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.
getGravity
());
148
assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.
getGravity
());
158
relativeLayout.
getGravity
());
167
assertEquals(Gravity.CENTER_VERTICAL | Gravity.START, relativeLayout.
getGravity
());
193
assertEquals(Gravity.RIGHT, Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.
getGravity
());
203
Gravity.HORIZONTAL_GRAVITY_MASK & relativeLayout.
getGravity
());
227
assertEquals(Gravity.BOTTOM, Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.
getGravity
());
237
Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.
getGravity
());
SpinnerTest.java
299
assertEquals(Gravity.LEFT, spinner.
getGravity
());
302
assertEquals(Gravity.CENTER_HORIZONTAL, spinner.
getGravity
());
305
assertEquals(Gravity.RIGHT, spinner.
getGravity
());
308
assertEquals(Gravity.START, spinner.
getGravity
());
311
assertEquals(Gravity.END, spinner.
getGravity
());
PopupMenuTest.java
166
assertEquals(Gravity.NO_GRAVITY, mPopupMenu.
getGravity
());
168
assertEquals(Gravity.TOP, mPopupMenu.
getGravity
());
176
assertEquals(Gravity.TOP, mPopupMenu.
getGravity
());
ToastTest.java
346
assertEquals(Gravity.CENTER, mToast.
getGravity
());
361
assertEquals(Gravity.BOTTOM, mToast.
getGravity
());
383
assertEquals(Gravity.BOTTOM, mToast.
getGravity
());
GridViewTest.java
238
assertEquals(Gravity.CENTER_HORIZONTAL, mGridView.
getGravity
());
247
assertEquals(Gravity.LEFT, mGridView.
getGravity
());
257
assertEquals(Gravity.RIGHT, mGridView.
getGravity
());
[
all
...]
LinearLayoutTest.java
462
assertEquals(Gravity.CENTER_VERTICAL, parent.
getGravity
() & Gravity.VERTICAL_GRAVITY_MASK);
509
assertEquals(Gravity.BOTTOM, parent.
getGravity
() & Gravity.VERTICAL_GRAVITY_MASK);
556
parent.
getGravity
() & Gravity.HORIZONTAL_GRAVITY_MASK);
603
assertEquals(Gravity.RIGHT, parent.
getGravity
() & Gravity.HORIZONTAL_GRAVITY_MASK);
[
all
...]
TextViewTest.java
392
assertEquals(Gravity.TOP | Gravity.START, mTextView.
getGravity
());
395
assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.
getGravity
());
398
assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.
getGravity
());
401
assertEquals(Gravity.CENTER, mTextView.
getGravity
());
404
assertEquals(Gravity.FILL, mTextView.
getGravity
());
407
assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mTextView.
getGravity
());
410
assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.
getGravity
());
412
assertEquals(Gravity.FILL, mTextView.
getGravity
());
414
assertEquals(Gravity.CENTER, mTextView.
getGravity
());
417
assertEquals(Gravity.TOP | Gravity.START, mTextView.
getGravity
());
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java
128
assertEquals(Gravity.FILL, bitmapDrawable.
getGravity
());
131
assertEquals(Gravity.CENTER, bitmapDrawable.
getGravity
());
134
assertEquals(-1, bitmapDrawable.
getGravity
());
137
assertEquals(Integer.MAX_VALUE, bitmapDrawable.
getGravity
());
347
assertEquals(Gravity.FILL, bitmapDrawable.
getGravity
());
352
assertEquals(Gravity.FILL, bitmapDrawable.
getGravity
());
359
assertEquals(Gravity.FILL, bitmapDrawable.
getGravity
());
462
assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.
getGravity
());
474
assertEquals(Gravity.CENTER, bitmapDrawable.
getGravity
());
ThemedDrawableTest.java
82
assertEquals(Gravity.TOP, d.
getGravity
());
/cts/tests/app/src/android/app/cts/
WearableExtenderTest.java
96
assertEquals(gravity, extender.
getGravity
());
258
assertEquals(gravity, extender.
getGravity
());
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
PlatformInspectableProcessorTest.java
295
public int
getGravity
() {
311
assertEquals(node.
getGravity
(), mPropertyReader.get("gravity"));
Completed in 6672 milliseconds