Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DLocalMediaProjectionService.java34 private Bitmap mTestBitmap; field in LocalMediaProjectionService
58 if (mTestBitmap != null) { in onDestroy()
59 mTestBitmap.recycle(); in onDestroy()
60 mTestBitmap = null; in onDestroy()
66 mTestBitmap = Bitmap.createBitmap(50, 50, Bitmap.Config.ARGB_8888); in createNotificationIcon()
67 final Canvas canvas = new Canvas(mTestBitmap); in createNotificationIcon()
69 return Icon.createWithBitmap(mTestBitmap); in createNotificationIcon()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DLocalMediaProjectionService.java34 private Bitmap mTestBitmap; field in LocalMediaProjectionService
58 if (mTestBitmap != null) { in onDestroy()
59 mTestBitmap.recycle(); in onDestroy()
60 mTestBitmap = null; in onDestroy()
66 mTestBitmap = Bitmap.createBitmap(50, 50, Bitmap.Config.ARGB_8888); in createNotificationIcon()
67 final Canvas canvas = new Canvas(mTestBitmap); in createNotificationIcon()
69 return Icon.createWithBitmap(mTestBitmap); in createNotificationIcon()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplaySystemDecorationTests.java168 private Bitmap mTestBitmap; field in MultiDisplaySystemDecorationTests.ChangeWallpaperSession
175 if (mTestBitmap == null) { in getTestBitmap()
176 mTestBitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in getTestBitmap()
177 final Canvas canvas = new Canvas(mTestBitmap); in getTestBitmap()
180 return mTestBitmap; in getTestBitmap()
196 if (mTestBitmap != null) { in close()
197 mTestBitmap.recycle(); in close()