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.java164 private Bitmap mTestBitmap; field in MultiDisplaySystemDecorationTests.ChangeWallpaperSession
171 if (mTestBitmap == null) { in getTestBitmap()
172 mTestBitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in getTestBitmap()
173 final Canvas canvas = new Canvas(mTestBitmap); in getTestBitmap()
176 return mTestBitmap; in getTestBitmap()
192 if (mTestBitmap != null) { in close()
193 mTestBitmap.recycle(); in close()