/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TouchUtils.java | 37 final int viewWidth = v.getWidth(); in tapView() local 40 final float x = xy[0] + (viewWidth / 2.0f); in tapView() 68 final int viewWidth = v.getWidth(); in touchAndCancelView() local 71 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView() 95 final int viewWidth = v.getWidth(); in clickView() local 98 final float x = xy[0] + (viewWidth / 2.0f); in clickView() 132 final int viewWidth = v.getWidth(); in longClickView() local 135 final float x = xy[0] + (viewWidth / 2.0f); in longClickView() 173 final int viewWidth = v.getWidth(); in dragViewToTop() local 176 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/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 | 130 int viewWidth = mTaskViewRect.width(); in onDraw() local 132 int thumbnailWidth = Math.min(viewWidth, in onDraw() 142 if (thumbnailWidth < viewWidth) { in onDraw() 145 viewWidth, viewHeight, in onDraw() 151 viewWidth, viewHeight, in onDraw() 159 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 55 final int viewWidth = view.getWidth(); in isNotNarrowerThan() local 56 if (viewWidth < minWidth) { in isNotNarrowerThan() 58 "width " + viewWidth + " is less than minimum " + minWidth; in isNotNarrowerThan() 80 final int viewWidth = view.getWidth(); in isNotWiderThan() local 81 if (viewWidth > maxWidth) { in isNotWiderThan() 83 "width " + viewWidth + " is more than maximum " + maxWidth; in isNotWiderThan()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | MultiSelectManager_GridModelTest.java | 44 private int viewWidth; field in MultiSelectManager_GridModelTest 71 viewWidth = VIEW_PADDING_PX + numColumns * (VIEW_PADDING_PX + CHILD_VIEW_EDGE_PX); in initData() 104 startSelection(new Point(viewWidth - 1, 10)); in testSelectionRightOfItems() 105 resizeSelection(new Point(viewWidth - 2, 11)); in testSelectionRightOfItems() 189 resizeSelection(new Point(viewWidth - 1, 0)); in testSelectionMovingAroundOrigin() 198 resizeSelection(new Point(viewWidth - 1, 420)); in testSelectionMovingAroundOrigin()
|
/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 | 648 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 653 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 656 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 659 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 663 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 654 int viewWidth = getWidth(); 656 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 657 : (viewWidth - left) + viewWidth - holdOffset;
|