Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPlaybackTransportRowPresenterTest.java119 void verifyAtHeroIndex(long[] positions, int heroIndex, Bitmap[] thumbs) { in verifyAtHeroIndex() argument
122 if (thumbs != null) { in verifyAtHeroIndex()
125 verifyThumbBitmaps(thumbs, start, end, in verifyAtHeroIndex()
131 void verifyThumbBitmaps(Bitmap[] thumbs, int start, int end, in verifyThumbBitmaps() argument
135 assertSame(thumbs[i], thumbsBar.getThumbBitmap(childStart + (i - start))); in verifyThumbBitmaps()
508 final Bitmap[] thumbs = new Bitmap[101]; in thumbLoadedInCallback() local
510 thumbs[i] = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888); in thumbLoadedInCallback()
515 callback.onThumbnailLoaded(thumbs[index], index); in thumbLoadedInCallback()
524 verifyAtHeroIndex(positions, 1, thumbs); in thumbLoadedInCallback()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java122 final ActivityManager.TaskThumbnail thumbs) { in addThumbnail() argument
135 if (task.id >= 0 && thumbs != null) { in addThumbnail()
150 if (task.id >= 0 && thumbs != null) { in addThumbnail()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1076 void getLastThumbnail(TaskThumbnail thumbs) { in getLastThumbnail() argument
1077 thumbs.mainThumbnail = mLastThumbnail; in getLastThumbnail()
1078 thumbs.thumbnailInfo = mLastThumbnailInfo; in getLastThumbnail()
1079 thumbs.thumbnailFileDescriptor = null; in getLastThumbnail()
1081 thumbs.mainThumbnail = mService.mRecentTasks.getImageFromWriteQueue( in getLastThumbnail()
1085 if (thumbs.mainThumbnail == null && mLastThumbnailFile.exists()) { in getLastThumbnail()
1087 thumbs.thumbnailFileDescriptor = ParcelFileDescriptor.open(mLastThumbnailFile, in getLastThumbnail()