Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarDisplayOptions.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()
DActionBarDisplayOptions.java128 int newGravity = 0; in onClick() local
131 newGravity = Gravity.CENTER_HORIZONTAL; in onClick()
134 newGravity = Gravity.RIGHT; in onClick()
137 newGravity = Gravity.LEFT; in onClick()
140 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity; in onClick()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java103 int newGravity = 0; in onClick() local
106 newGravity = Gravity.CENTER_HORIZONTAL; in onClick()
109 newGravity = Gravity.END; in onClick()
112 newGravity = Gravity.START; in onClick()
115 lp.gravity = lp.gravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK | newGravity; in onClick()