Home
last modified time | relevance | path

Searched refs:mWallpaperSurface (Results 1 – 4 of 4) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperSurfaceCallback2.java67 private final SurfaceView mWallpaperSurface; field in WallpaperSurfaceCallback2
82 mWallpaperSurface = wallpaperSurface; in WallpaperSurfaceCallback2()
160 mHomeImageWallpaper.measure(makeMeasureSpec(mWallpaperSurface.getWidth(), EXACTLY), in setupSurfaceWallpaper()
161 makeMeasureSpec(mWallpaperSurface.getHeight(), EXACTLY)); in setupSurfaceWallpaper()
162 mHomeImageWallpaper.layout(0, 0, mWallpaperSurface.getWidth(), in setupSurfaceWallpaper()
163 mWallpaperSurface.getHeight()); in setupSurfaceWallpaper()
167 mWallpaperSurface.getDisplay(), mWallpaperSurface.getHostToken()); in setupSurfaceWallpaper()
173 mWallpaperSurface.setChildSurfacePackage(mHost.getSurfacePackage()); in setupSurfaceWallpaper()
DWallpaperSurfaceCallback.java69 private final SurfaceView mWallpaperSurface; field in WallpaperSurfaceCallback
88 mWallpaperSurface = wallpaperSurface; in WallpaperSurfaceCallback()
154 if (mWallpaperSurface.getSurfaceControl() != null) { in cleanUp()
155 mWallpaperSurface.getSurfaceControl().release(); in cleanUp()
196 mWallpaperSurface.setBackgroundColor(bkgColor); in setupSurfaceWallpaper()
204 mContainerView.getDisplay(), mWallpaperSurface.getHostToken()); in setupSurfaceWallpaper()
208 mWallpaperSurface.setChildSurfacePackage(mHost.getSurfacePackage()); in setupSurfaceWallpaper()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DImagePreviewFragment.java123 protected SurfaceView mWallpaperSurface; field in ImagePreviewFragment
162 mWallpaperSurface = view.findViewById(R.id.wallpaper_surface); in onCreateView()
163 mWallpaperSurface.getHolder().addCallback(mWallpaperSurfaceCallback); in onCreateView()
401 int cropWidth = mWallpaperSurface.getMeasuredWidth(); in setDefaultWallpaperZoomAndScroll()
402 int cropHeight = mWallpaperSurface.getMeasuredHeight(); in setDefaultWallpaperZoomAndScroll()
440 int cropWidth = mWallpaperSurface.getMeasuredWidth(); in calculateCropRect()
441 int cropHeight = mWallpaperSurface.getMeasuredHeight(); in calculateCropRect()
497 int origWidth = mWallpaperSurface.getWidth(); in surfaceCreated()
498 int origHeight = mWallpaperSurface.getHeight(); in surfaceCreated()
519 LayoutParams params = mWallpaperSurface.getLayoutParams(); in surfaceCreated()
[all …]
DLivePreviewFragment.java114 private SurfaceView mWallpaperSurface; field in LivePreviewFragment
216 mWallpaperSurface = view.findViewById(R.id.wallpaper_surface); in onCreateView()
217 mWallpaperSurfaceCallback = new WallpaperSurfaceCallback2(context, mWallpaperSurface, in onCreateView()
219 mWallpaperSurface.getHolder().addCallback(mWallpaperSurfaceCallback); in onCreateView()
220 mWallpaperSurface.setZOrderMediaOverlay(true); in onCreateView()
255 touchForwardingLayout.setTargetView(mWallpaperSurface);
265 mWallpaperSurface.setOnTouchListener((v, ev) -> {
506 mWallpaperSurface.getHolder().removeCallback(mWallpaperSurfaceCallback);
518 mWallpaperSurface.post(() -> {
604 mWallpaperSurface,