Home
last modified time | relevance | path

Searched refs:newGravity (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarDisplayOptions.java97 int newGravity = 0; in onClick() local
100 newGravity = Gravity.CENTER_HORIZONTAL; in onClick()
103 newGravity = Gravity.RIGHT; in onClick()
106 newGravity = Gravity.LEFT; in onClick()
109 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity; in onClick()
DActionBarDisplayOptions.java101 int newGravity = 0; in onClick() local
104 newGravity = Gravity.CENTER_HORIZONTAL; in onClick()
107 newGravity = Gravity.RIGHT; in onClick()
110 newGravity = Gravity.LEFT; in onClick()
113 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity; in onClick()
/frameworks/base/core/java/android/widget/
DPopupWindow.java2045 final int newGravity = computeGravity(); in update() local
2046 if (newGravity != p.gravity) { in update()
2047 p.gravity = newGravity; in update()
2160 final int newGravity = computeGravity(); in update()
2161 if (newGravity != p.gravity) { in update()
2162 p.gravity = newGravity; in update()