Searched refs:viewHeight (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | GridTaskViewThumbnail.java | 75 final int viewHeight = mTaskViewRect.height() - titleHeight; in updateThumbnailOutline() local 78 final int thumbnailHeight = Math.min(viewHeight, in updateThumbnailOutline() 122 if (thumbnailHeight < viewHeight) { in updateThumbnailOutline() 140 createThumbnailPath(0, 0, viewWidth, viewHeight, mThumbnailOutline); in updateThumbnailOutline() 164 final int viewHeight = mTaskViewRect.height() - titleHeight; in onDraw() local 167 final int thumbnailHeight = Math.min(viewHeight, in onDraw() 183 if (thumbnailHeight < viewHeight) { in onDraw()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 231 final int viewHeight = v.getHeight(); in dragViewToBottom() local 234 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom() 251 final int viewHeight = v.getHeight(); in tapView() local 254 float y = xy[1] + (viewHeight / 2.0f); in tapView() 291 final int viewHeight = v.getHeight(); in touchAndCancelView() local 294 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView() 326 final int viewHeight = v.getHeight(); in clickView() local 329 float y = xy[1] + (viewHeight / 2.0f); in clickView() 387 final int viewHeight = v.getHeight(); in longClickView() local 390 float y = xy[1] + (viewHeight / 2.0f); in longClickView() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskViewThumbnail.java | 142 int viewHeight = mTaskViewRect.height(); in onDraw() local 145 int thumbnailHeight = Math.min(viewHeight, in onDraw() 149 canvas.drawRoundRect(0, 0, viewWidth, viewHeight, mCornerRadius, mCornerRadius, in onDraw() 161 viewWidth, viewHeight, in onDraw() 164 if (thumbnailHeight < 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 | 138 int viewHeight = getViewHeight(); in transformViewFrom() local 140 boolean differentHeight = otherHeight != viewHeight && otherHeight != 0 && viewHeight != 0; in transformViewFrom() 178 / (float) viewHeight); in transformViewFrom()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 698 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); in onMeasure() local 702 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 705 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 708 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 712 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 669 int viewHeight = getHeight(); 672 dy = slider == mRightSlider ? (top + viewHeight - holdOffset) 673 : - ((viewHeight - bottom) + viewHeight - holdOffset);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1090 int viewHeight = mContentHeight; in calculateVisibleType() local 1093 viewHeight = Math.min(mContentHeight, intrinsicHeight); in calculateVisibleType() 1095 return getVisualTypeForHeight(viewHeight); in calculateVisibleType() 1098 private int getVisualTypeForHeight(float viewHeight) { in getVisualTypeForHeight() argument 1100 if (!noExpandedChild && viewHeight == getViewHeight(VISIBLE_TYPE_EXPANDED)) { in getVisualTypeForHeight() 1110 if (viewHeight <= getViewHeight(VISIBLE_TYPE_HEADSUP) || noExpandedChild) { in getVisualTypeForHeight() 1119 && viewHeight <= getViewHeight(collapsedType) in getVisualTypeForHeight()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 399 int viewHeight = mCache.getMetaData().getLoadingTemplate(getContext()).defaultHeight; in getDefaultView() local 404 loadingTextView.setHeight(viewHeight); in getDefaultView()
|