Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java62 protected Rect mTaskViewRect = new Rect(); field in TaskViewThumbnail
126 if (mTaskViewRect.width() == width && mTaskViewRect.height() == height) { in onTaskViewSizeChanged()
130 mTaskViewRect.set(0, 0, width, height); in onTaskViewSizeChanged()
141 int viewWidth = mTaskViewRect.width(); in onDraw()
142 int viewHeight = mTaskViewRect.height(); in onDraw()
248 if (mTaskViewRect.isEmpty()) { in updateThumbnailMatrix()
254 float viewAspectRatio = (float) mTaskViewRect.width() / in updateThumbnailMatrix()
255 (float) (mTaskViewRect.height() - mTitleBarHeight); in updateThumbnailMatrix()
260 (float) mTaskViewRect.width() / (float) mThumbnailRect.width(); in updateThumbnailMatrix()
262 mThumbnailScale = (float) (mTaskViewRect.height() - mTitleBarHeight) in updateThumbnailMatrix()
[all …]
DTaskViewHeader.java126 canvas.drawRoundRect(0, 0, mTaskViewRect.width(), in draw()
131 canvas.drawRoundRect(0, mHighlightHeight, mTaskViewRect.width(), in draw()
161 Rect mTaskViewRect = new Rect(); field in TaskViewHeader
330 onTaskViewSizeChanged(mTaskViewRect.width(), mTaskViewRect.height()); in onLayout()
338 mTaskViewRect.set(0, 0, width, height); in onTaskViewSizeChanged()
361 canvas.drawRoundRect(0, 0, mTaskViewRect.width(), getHeight() + mCornerRadius, in onDrawForeground()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java74 final int viewWidth = mTaskViewRect.width(); in updateThumbnailOutline()
75 final int viewHeight = mTaskViewRect.height() - titleHeight; in updateThumbnailOutline()
163 final int viewWidth = mTaskViewRect.width(); in onDraw()
164 final int viewHeight = mTaskViewRect.height() - titleHeight; in onDraw()