Home
last modified time | relevance | path

Searched refs:setBitmap (Results 1 – 15 of 15) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DWallpaperTest.java75 sDeviceState.dpc().wallpaperManager().setBitmap(sReferenceWallpaper); in setBitmap_viaDpc_disallowed_canSet()
83 sDeviceState.dpc().wallpaperManager().setBitmap(sOriginalWallpaper); in setBitmap_viaDpc_disallowed_canSet()
93 sDeviceState.dpc().wallpaperManager().setBitmap(sReferenceWallpaper); in setBitmap_viaDpc_disallowed_cannotSet()
101 sDeviceState.dpc().wallpaperManager().setBitmap(sOriginalWallpaper); in setBitmap_viaDpc_disallowed_cannotSet()
111 testAppInstance.wallpaperManager().setBitmap(sReferenceWallpaper); in setBitmap_allowed_canSet()
119 TestApis.wallpaper().setBitmap(sOriginalWallpaper); in setBitmap_allowed_canSet()
129 testAppInstance.wallpaperManager().setBitmap(sReferenceWallpaper); in setBitmap_disallowed_cannotSet()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wallpaper/
DWallpaper.kt49 fun setBitmap(bitmap: Bitmap) { in setBitmap() method
52 wallpaperManager.setBitmap(bitmap) in setBitmap()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java244 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_homeScreen_homeStatic_lockScreenUnset_setsLockToHomeAndUpdatesHome()
266 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_homeScreen_homeLive_lockScreenUnset_setsLockToHomeAndUpdatesHome()
284 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_lockScreen_lockScreenUnset_changesLockOnly()
301 mWallpaperManager.setBitmap(tmpWallpaper, null, true, FLAG_LOCK); in setBitmap_lockScreen_lockScreenSet_changesLockOnly()
305 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_lockScreen_lockScreenSet_changesLockOnly()
324 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_both_lockScreenUnset_changesHome()
341 mWallpaperManager.setBitmap(tmpWallpaper, null, true, FLAG_LOCK); in setBitmap_both_lockScreenSet_changesHomeAndClearsLock()
345 mWallpaperManager.setBitmap(tmpWallpaper, /* visibleCropHint= */ in setBitmap_both_lockScreenSet_changesHomeAndClearsLock()
363 mWallpaperManager.setBitmap(tmpWallpaper); in setBitmap_default_lockScreenUnset_sameAsBoth()
608 mWallpaperManager.setBitmap(tmpWallpaper); in wallpaperChangedBroadcastTest()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DWideColorGamutTests.java102 bv.setBitmap(mBitmap); in testDraw()
112 bv.setBitmap(mBitmap); in testSaveLayer()
123 bv.setBitmap(mBitmap); in testHardwareLayer()
134 bv.setBitmap(mBitmap); in testSaveLayerInHardwareLayer()
DGainmapTests.java467 canvas.setBitmap(null);
470 canvas.setBitmap(dest);
DShaderTests.java246 bitmapCanvas.setBitmap(bitmap); in testLocalMatrixOrder()
DCanvasTests.java354 new Canvas(getMutableBitmap()).setBitmap(getImmutableBitmap()); in testSetBitmapToImmutableBitmap()
362 new Canvas(getMutableBitmap()).setBitmap(bitmap); in testSetBitmapToRecycledBitmap()
/cts/tests/app/WallpaperTest/testsdk33/src/android/app/cts/wallpapers/
DWallpaperManagerSdk33Test.java180 sWallpaperManager.setBitmap(sRedBitmap, null, true, FLAG_LOCK); in getWallpaperFile_lock_noPermission_returnsDefault()
213 sWallpaperManager.setBitmap(sRedBitmap, null, true, FLAG_LOCK); in getWallpaperFile_lock_withPermission_doesNotReturnDefault()
248 sWallpaperManager.setBitmap(sRedBitmap, in setRedWallpaper()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java124 wallpaperManager.setBitmap(BitmapUtils.generateRandomBitmap(97, 73)); in testDisallowSetWallpaper_allowed()
144 wallpaperManager.setBitmap(originalWallpaperCopy); in testDisallowSetWallpaper_allowed()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DBitmapView.java53 public void setBitmap(Bitmap bitmap) { in setBitmap() method in BitmapView
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java130 canvas.setBitmap(null); in testClamp()
153 canvas.setBitmap(null); in testRepeat()
176 canvas.setBitmap(null); in testMirror()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java571 bitmapDrawable.setBitmap(bm); in testSetBitmap()
574 bitmapDrawable.setBitmap(null); in testSetBitmap()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java1084 mRemoteViews.setBitmap(R.id.remoteView_image, "setImageBitmap", bitmap); in testSetBitmap()
1089 mRemoteViews.setBitmap(R.id.remoteView_absolute, "setImageBitmap", bitmap); in testSetBitmap()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1802 mWallpaperManager.setBitmap(bitmap));
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt7806 …method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER) public void setBitmap(androi…
7807 …method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER) public int setBitmap(android…
7808 …method @RequiresPermission(android.Manifest.permission.SET_WALLPAPER) public int setBitmap(android…
15799 method public void setBitmap(@Nullable android.graphics.Bitmap);
17421 method public void setBitmap(@Nullable android.graphics.Bitmap);
60180 method public void setBitmap(@IdRes int, String, android.graphics.Bitmap);