Searched refs:viewWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | GridTaskViewThumbnail.java | 74 final int viewWidth = mTaskViewRect.width(); in updateThumbnailOutline() local 76 final int thumbnailWidth = Math.min(viewWidth, in updateThumbnailOutline() 106 if (thumbnailWidth < viewWidth) { in updateThumbnailOutline() 140 createThumbnailPath(0, 0, viewWidth, viewHeight, mThumbnailOutline); in updateThumbnailOutline() 163 final int viewWidth = mTaskViewRect.width(); in onDraw() local 165 final int thumbnailWidth = Math.min(viewWidth, in onDraw() 179 if (thumbnailWidth < viewWidth) { in onDraw()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 230 final int viewWidth = v.getWidth(); in dragViewToBottom() local 233 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom() 250 final int viewWidth = v.getWidth(); in tapView() local 253 final float x = xy[0] + (viewWidth / 2.0f); in tapView() 290 final int viewWidth = v.getWidth(); in touchAndCancelView() local 293 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView() 325 final int viewWidth = v.getWidth(); in clickView() local 328 final float x = xy[0] + (viewWidth / 2.0f); in clickView() 386 final int viewWidth = v.getWidth(); in longClickView() local 389 final float x = xy[0] + (viewWidth / 2.0f); in longClickView() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 141 int viewWidth = mTaskViewRect.width(); in onDraw() local 143 int thumbnailWidth = Math.min(viewWidth, in onDraw() 149 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw() 158 if (thumbnailWidth < viewWidth) { in onDraw() 161 viewWidth, viewHeight, in onDraw() 167 viewWidth, viewHeight, in onDraw() 175 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TransformState.java | 141 int viewWidth = getViewWidth(); in transformViewFrom() local 143 boolean differentWidth = otherWidth != viewWidth && otherWidth != 0 && viewWidth != 0; in transformViewFrom() 171 / (float) viewWidth); in transformViewFrom()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 415 final float viewWidth = getWidth(); in interceptMoveLeft() local 419 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveLeft() 425 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft() 448 final float viewWidth = getWidth(); in interceptMoveRight() local 452 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveRight() 458 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 704 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 709 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 712 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 715 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 719 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 660 int viewWidth = getWidth(); 662 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 663 : (viewWidth - left) + viewWidth - holdOffset;
|