Searched refs:drawWidth (Results 1 – 3 of 3) sorted by relevance
332 final int drawWidth = mRemoteIndicator.getIntrinsicWidth(); in onDraw() local334 final int drawLeft = left + (right - left - drawWidth) / 2; in onDraw()338 drawLeft + drawWidth, drawTop + drawHeight); in onDraw()
417 final float drawWidth = mTranslateRect.right - mTranslateRect.left; in interceptMoveLeft() local419 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveLeft()425 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft()450 final float drawWidth = mTranslateRect.right - mTranslateRect.left; in interceptMoveRight() local452 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveRight()458 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
4782 final int drawWidth = mDrawable.getIntrinsicWidth(); in onDraw() local4785 mDrawable.setBounds(left, 0, left + drawWidth, mDrawable.getIntrinsicHeight()); in onDraw()4791 final int drawWidth = mDrawable.getIntrinsicWidth(); in getHorizontalOffset() local4799 left = (width - drawWidth) / 2; in getHorizontalOffset()4802 left = width - drawWidth; in getHorizontalOffset()