OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wallpaperManager
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
NycWallpaperUtils.java
4
import android.app.
WallpaperManager
;
33
whichWallpaper =
WallpaperManager
.FLAG_SYSTEM;
35
whichWallpaper =
WallpaperManager
.FLAG_LOCK;
37
whichWallpaper =
WallpaperManager
.FLAG_SYSTEM
38
|
WallpaperManager
.FLAG_LOCK;
46
cropTask.execute(
WallpaperManager
.FLAG_SYSTEM);
52
WallpaperManager
wallpaperManager
=
WallpaperManager
.getInstance(context);
54
wallpaperManager
.setStream(data, visibleCropHint, allowBackup, whichWallpaper)
[
all
...]
/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
CustomizationTest.java
19
import android.app.
WallpaperManager
;
38
final
WallpaperManager
wallpaperManager
=
WallpaperManager
.getInstance(mContext);
46
wallpaperManager
.setBitmap(referenceWallpaper);
52
wallpaperManager
.setStream(BitmapUtils.bitmapToInputStream(referenceWallpaper));
58
wallpaperManager
.setResource(R.raw.wallpaper);
/development/samples/ApiDemos/src/com/example/android/apis/app/
SetWallpaperActivity.java
26
import android.app.
WallpaperManager
;
60
final
WallpaperManager
wallpaperManager
=
WallpaperManager
.getInstance(this);
61
final Drawable wallpaperDrawable =
wallpaperManager
.getDrawable();
80
wallpaperManager
.setBitmap(imageView.getDrawingCache());
/packages/apps/Launcher3/src/com/android/launcher3/util/
WallpaperUtils.java
20
import android.app.
WallpaperManager
;
41
final
WallpaperManager
wallpaperManager
, boolean fallBackToDefaults) {
57
if (savedWidth !=
wallpaperManager
.getDesiredMinimumWidth() ||
58
savedHeight !=
wallpaperManager
.getDesiredMinimumHeight()) {
59
wallpaperManager
.suggestDesiredDimensions(savedWidth, savedHeight);
/cts/libs/deviceutil/src/android/cts/util/
BitmapUtils.java
19
import android.app.
WallpaperManager
;
79
WallpaperManager
wallpaperManager
=
WallpaperManager
.getInstance(context);
81
Class<?> wmClass =
wallpaperManager
.getClass();
83
return (Bitmap) methodGetBitmap.invoke(
wallpaperManager
, null);
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
CustomizationRestrictionsTest.java
19
import android.app.
WallpaperManager
;
40
* (DevicePolicyManager.setUserIcon(),
WallpaperManager
.setBitmap(), etc.) even in case,
120
final
WallpaperManager
wallpaperManager
=
WallpaperManager
.getInstance(mContext);
134
wallpaperManager
.setBitmap(BitmapUtils.generateRandomBitmap(97, 73));
142
wallpaperManager
.setStream(BitmapUtils.bitmapToInputStream(wallpaperForStream));
149
wallpaperManager
.setResource(R.raw.wallpaper);
154
wallpaperManager
.setBitmap(originalWallpaper);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
WallpaperCropActivity.java
21
import android.app.
WallpaperManager
;
577
WallpaperManager
wallpaperManager
= null;
579
wallpaperManager
=
WallpaperManager
.getInstance(mContext.getApplicationContext());
587
wallpaperManager
.setStream(is);
[
all
...]
Completed in 113 milliseconds