Home
last modified time | relevance | path

Searched refs:mInsetTop (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java105 mState.mInsetTop = new InsetValue(0f, insetTop); in InsetDrawable()
126 mState.mInsetTop = new InsetValue(insetTopFraction, 0); in InsetDrawable()
195 state.mInsetTop = inset; in updateStateFromTypedArray()
200 state.mInsetTop = getInset(a, R.styleable.InsetDrawable_insetTop, state.mInsetTop); in updateStateFromTypedArray()
228 out.top = mState.mInsetTop.getDimension(b.height()); in getInsets()
275 r.top += mState.mInsetTop.getDimension(bounds.height()); in onBoundsChange()
297 final float fraction = mState.mInsetTop.mFraction + mState.mInsetBottom.mFraction; in getIntrinsicHeight()
301 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension in getIntrinsicHeight()
320 InsetValue mInsetTop; field in InsetDrawable.InsetState
329 mInsetTop = orig.mInsetTop.clone(); in InsetState()
[all …]
/frameworks/base/core/java/android/view/
DThreadedRenderer.java272 private int mInsetTop, mInsetLeft; field in ThreadedRenderer
464 mInsetTop = surfaceInsets.top; in setup()
466 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom; in setup()
472 mInsetTop = 0; in setup()
477 mRootNode.setLeftTopRightBottom(-mInsetLeft, -mInsetTop, mSurfaceWidth, mSurfaceHeight); in setup()
584 canvas.translate(mInsetLeft, mInsetTop); in updateRootDisplayList()