Home
last modified time | relevance | path

Searched refs:drawWidth (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/
DMediaRouteButton.java332 final int drawWidth = mRemoteIndicator.getIntrinsicWidth(); in onDraw() local
334 final int drawLeft = left + (right - left - drawWidth) / 2; in onDraw()
338 drawLeft + drawWidth, drawTop + drawHeight); in onDraw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java417 final float drawWidth = mTranslateRect.right - mTranslateRect.left; in interceptMoveLeft() local
419 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveLeft()
425 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft()
450 final float drawWidth = mTranslateRect.right - mTranslateRect.left; in interceptMoveRight() local
452 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveRight()
458 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
/frameworks/base/core/java/android/widget/
DEditor.java4782 final int drawWidth = mDrawable.getIntrinsicWidth(); in onDraw() local
4785 mDrawable.setBounds(left, 0, left + drawWidth, mDrawable.getIntrinsicHeight()); in onDraw()
4791 final int drawWidth = mDrawable.getIntrinsicWidth(); in getHorizontalOffset() local
4799 left = (width - drawWidth) / 2; in getHorizontalOffset()
4802 left = width - drawWidth; in getHorizontalOffset()