/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 36 final int viewWidth = v.getWidth(); in tapView() local 39 final float x = xy[0] + (viewWidth / 2.0f); in tapView() 67 final int viewWidth = v.getWidth(); in touchAndCancelView() local 70 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView() 94 final int viewWidth = v.getWidth(); in clickView() local 97 final float x = xy[0] + (viewWidth / 2.0f); in clickView() 131 final int viewWidth = v.getWidth(); in longClickView() local 134 final float x = xy[0] + (viewWidth / 2.0f); in longClickView() 172 final int viewWidth = v.getWidth(); in dragViewToTop() local 175 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToTop() [all …]
|
/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/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() 115 if (thumbnailWidth < viewWidth) { in updateThumbnailOutline() 155 final int viewWidth = mTaskViewRect.width(); in onDraw() local 157 final int thumbnailWidth = Math.min(viewWidth, in onDraw() 171 if (thumbnailWidth < viewWidth) { in onDraw()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | CircleImageView.java | 145 final int viewWidth = CircleImageView.this.getWidth(); in draw() local 147 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2, mShadowPaint); in draw() 148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, viewWidth / 2 - mShadowRadius, paint); in draw()
|
/frameworks/base/packages/SystemUI/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/support/wear/tests/src/android/support/wear/widget/ |
D | ScrollManagerTest.java | 180 private static float getX(double angle, double radius, double viewWidth) { in getX() argument 183 return (float) (relativeX + (viewWidth / 2)); in getX() 192 private static float getAngle(double x, double y, double viewWidth, double viewHeight) { in getAngle() argument 193 double relativeX = x - (viewWidth / 2); in getAngle()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 63 final int viewWidth = view.getWidth(); in isNotNarrowerThan() local 64 if (viewWidth < minWidth) { in isNotNarrowerThan() 66 "width " + viewWidth + " is less than minimum " + minWidth; in isNotNarrowerThan() 88 final int viewWidth = view.getWidth(); in isNotWiderThan() local 89 if (viewWidth > maxWidth) { in isNotWiderThan() 91 "width " + viewWidth + " is more than maximum " + maxWidth; in isNotWiderThan()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | CircleView.java | 93 int viewWidth = getWidth(); in onDraw() local 94 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | AmPmCirclesView.java | 152 int viewWidth = getWidth(); in onDraw() local 153 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | RadialSelectorView.java | 273 int viewWidth = getWidth(); in onDraw() local 274 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | RadialTextsView.java | 175 int viewWidth = getWidth(); in onDraw() local 176 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
/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 | 662 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 667 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 670 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 673 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 677 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 654 int viewWidth = getWidth(); 656 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 657 : (viewWidth - left) + viewWidth - holdOffset;
|
/frameworks/support/wear/src/android/support/wear/widget/ |
D | CircledImageView.java | 374 final int viewWidth = getMeasuredWidth(); in onLayout() local 384 ? imageCirclePercentage * viewWidth in onLayout() 398 (viewWidth - drawableWidth) / 2 in onLayout()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | FastScroller.java | 295 int viewWidth = mRecyclerViewWidth; in drawVerticalScrollbar() local 297 int left = viewWidth - mVerticalThumbWidth; in drawVerticalScrollbar()
|