Searched refs:newGravity (Results 1 – 3 of 3) sorted by relevance
97 int newGravity = 0; in onClick() local100 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()
101 int newGravity = 0; in onClick() local104 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()
2045 final int newGravity = computeGravity(); in update() local2046 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()