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.java103 mState.mInsetTop = new InsetValue(0f, insetTop); in InsetDrawable()
124 mState.mInsetTop = new InsetValue(insetTopFraction, 0); in InsetDrawable()
193 state.mInsetTop = inset; in updateStateFromTypedArray()
198 state.mInsetTop = getInset(a, R.styleable.InsetDrawable_insetTop, state.mInsetTop); in updateStateFromTypedArray()
226 out.top = mState.mInsetTop.getDimension(b.height()); in getInsets()
274 r.top += mState.mInsetTop.getDimension(bounds.height()); in onBoundsChange()
296 final float fraction = mState.mInsetTop.mFraction + mState.mInsetBottom.mFraction; in getIntrinsicHeight()
300 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension in getIntrinsicHeight()
319 InsetValue mInsetTop; field in InsetDrawable.InsetState
328 mInsetTop = orig.mInsetTop.clone(); in InsetState()
[all …]
/frameworks/base/core/java/android/view/
DThreadedRenderer.java346 private int mInsetTop, mInsetLeft; field in ThreadedRenderer
555 mInsetTop = surfaceInsets.top; in setup()
557 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom; in setup()
564 mInsetTop = 0; in setup()
569 mRootNode.setLeftTopRightBottom(-mInsetLeft, -mInsetTop, mSurfaceWidth, mSurfaceHeight); in setup()
681 canvas.translate(mInsetLeft, mInsetTop); in updateRootDisplayList()