Lines Matching refs:mState
69 private ScaleState mState;
90 mState.mGravity = gravity;
91 mState.mScaleWidth = scaleWidth;
92 mState.mScaleHeight = scaleHeight;
117 final ScaleState state = mState;
139 if (getDrawable() == null && (mState.mThemeAttrs == null
140 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) {
148 final ScaleState state = mState;
224 final boolean min = mState.mUseIntrinsicSizeAsMin;
228 if (mState.mScaleWidth > 0) {
230 w -= (int) ((w - iw) * (MAX_LEVEL - level) * mState.mScaleWidth / MAX_LEVEL);
234 if (mState.mScaleHeight > 0) {
236 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL);
240 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection);
249 mState = new ScaleState(mState, null);
250 return mState;
293 mState = state;
299 setLevel(mState.mInitialLevel);