Home | History | Annotate | Download | only in drawable

Lines Matching defs:Gravity

46 import android.view.Gravity;
103 /** Optical insets due to gravity. */
293 /** Get the gravity used to position/stretch the bitmap within its bounds.
294 * See android.view.Gravity
295 * @return the gravity applied to the bitmap
301 /** Set the gravity used to position/stretch the bitmap within its bounds.
302 See android.view.Gravity
303 * @param gravity the gravity
305 public void setGravity(int gravity) {
306 if (mBitmapState.mGravity != gravity) {
307 mBitmapState.mGravity = gravity;
614 Gravity.apply(mBitmapState.mGravity, mBitmapWidth, mBitmapHeight,
958 if (mBitmapState.mGravity != Gravity.FILL) {
981 int mGravity = Gravity.FILL;