Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java78 final int thumbnailHeight = Math.min(viewHeight, in updateThumbnailOutline() local
81 if (mBitmapShader != null && thumbnailWidth > 0 && thumbnailHeight > 0) { in updateThumbnailOutline()
103 final int outerBottom = outerTop + thumbnailHeight; in updateThumbnailOutline()
122 if (thumbnailHeight < viewHeight) { in updateThumbnailOutline()
125 final int t = Math.max(0, thumbnailHeight - mCornerRadius); in updateThumbnailOutline()
167 final int thumbnailHeight = Math.min(viewHeight, in onDraw() local
177 } else if (mBitmapShader != null && thumbnailWidth > 0 && thumbnailHeight > 0) { in onDraw()
183 if (thumbnailHeight < viewHeight) { in onDraw()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java145 int thumbnailHeight = Math.min(viewHeight, in onDraw() local
151 } else if (mBitmapShader != null && thumbnailWidth > 0 && thumbnailHeight > 0) { in onDraw()
164 if (thumbnailHeight < viewHeight) { in onDraw()
166 canvas.drawRoundRect(0, Math.max(topOffset, thumbnailHeight - mCornerRadius), in onDraw()
172 canvas.drawRoundRect(0, topOffset, thumbnailWidth, thumbnailHeight, in onDraw()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java89 public final int thumbnailHeight; field in ExifInterfaceTest.ExpectedValue
132 thumbnailHeight = typedArray.getInt(2, 0); in ExpectedValue()
273 assertEquals(expectedValue.thumbnailHeight, thumbnailBitmap.getHeight()); in compareWithExpectedValue()