Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 18 of 18) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DPictureInPictureSourceRectHint.java104 params.gravity = mPositionOnExit; in onPictureInPictureModeChanged()
136 private void setEntryState(int gravity) { in setEntryState() argument
137 mPositionOnEntry = gravity; in setEntryState()
142 p.gravity = mPositionOnEntry; in setEntryState()
146 private void setExitState(int gravity) { in setExitState() argument
147 mPositionOnExit = gravity; in setExitState()
153 private String getGravityName(int gravity) { in getGravityName() argument
154 return gravity == Gravity.TOP ? "TOP" : "BOTTOM"; in getGravityName()
DPictureInPictureAutoEnter.java93 layoutParams.gravity = Gravity.NO_GRAVITY; in updateLayout()
104 layoutParams.gravity = Gravity.CENTER_HORIZONTAL; in updateLayout()
113 layoutParams.gravity = Gravity.NO_GRAVITY; in updateLayout()
DActionBarDisplayOptions.java104 switch (lp.gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) { in onClick()
115 lp.gravity = lp.gravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK | newGravity; in onClick()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java62 int width, int height, int gravity) { in OverlayDisplayWindow() argument
67 mGravity = gravity; in OverlayDisplayWindow()
71 int width, int height, int gravity) { in create() argument
73 return new JellybeanMr1Impl(context, name, width, height, gravity); in create()
75 return new LegacyImpl(context, name, width, height, gravity); in create()
110 int width, int height, int gravity) { in LegacyImpl() argument
111 super(context, name, width, height, gravity); in LegacyImpl()
132 params.gravity = Gravity.LEFT | Gravity.BOTTOM; in show()
202 int width, int height, int gravity) { in JellybeanMr1Impl() argument
203 super(context, name, width, height, gravity); in JellybeanMr1Impl()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java174 Gravity.apply(lp.gravity, width, height, mTmpContainerRect, mTmpChildRect); in onLayout()
216 public int gravity = Gravity.TOP | Gravity.START; field in CustomLayout.LayoutParams
231 gravity = a.getInt(R.styleable.CustomLayoutLP_android_layout_gravity, gravity); in LayoutParams()
DOverlayWindowActivity.java122 params.gravity = Gravity.TOP | Gravity.RIGHT; in drawOverlay()
/development/tools/winscope/src/flickerlib/windows/
DWindowState.ts73 /* gravity */ proto?.gravity ?? 0,
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DSoftInputWindow.java57 lp.gravity = Gravity.BOTTOM; in SoftInputWindow()
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt432 grave - j. of great gravity or crucial import; requiring serious thought
433 gravity - n. a manner that is serious and solemn
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...