Home
last modified time | relevance | path

Searched refs:mWorkspaceSurface (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
H A DFullScreenAnimation.java53 private final SurfaceView mWorkspaceSurface; field in FullScreenAnimation
105 mWorkspaceSurface = view.findViewById(R.id.workspace_surface); in FullScreenAnimation()
283 mWorkspaceSurface.setClipBounds(new Rect( in setWorkspaceVisibility()
290 mWorkspaceSurface.setClipBounds(new Rect( in setWorkspaceVisibility()
377 mDefaultRadius = ((CardView) mWorkspaceSurface.getParent()).getRadius(); in startAnimation()
379 mWorkspaceSurface.setEnableSurfaceClipping(true); in startAnimation()
381 mWorkspaceWidth = mWorkspaceSurface.getWidth(); in startAnimation()
382 mWorkspaceHeight = mWorkspaceSurface.getHeight(); in startAnimation()
405 ((CardView) mWorkspaceSurface.getParent()).setRadius( in startAnimation()
420 mWorkspaceSurface.setClipBounds(new Rect( in startAnimation()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
H A DWallpaperSectionController.java80 private SurfaceView mWorkspaceSurface; field in WallpaperSectionController
163 mWorkspaceSurface = mHomePreviewCard.findViewById(R.id.workspace_surface); in createView()
166 mWorkspaceSurface, mAppContext); in createView()
210 updateWorkspacePreview(mWorkspaceSurface, mWorkspaceSurfaceCallback, in createView()
479 mWorkspaceSurface.setZOrderMediaOverlay(true); in updateWorkspaceSurface()
480 mWorkspaceSurface.getHolder().addCallback(mWorkspaceSurfaceCallback); in updateWorkspaceSurface()
535 if (mWorkspaceSurface != null) { in setWallpaperPreviewsVisibility()
536 mWorkspaceSurface.setVisibility(visibility); in setWallpaperPreviewsVisibility()
553 if (mWorkspaceSurface != null) { in onTransitionOut()
554 mWorkspaceSurface.setUseAlpha(); in onTransitionOut()
[all …]
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DWorkspaceSurfaceHolderCallback.java51 private final SurfaceView mWorkspaceSurface; field in WorkspaceSurfaceHolderCallback
78 mWorkspaceSurface = workspaceSurface; in WorkspaceSurfaceHolderCallback()
120 requestPreview(mWorkspaceSurface, (result) -> { in maybeRenderPreview()
123 mWorkspaceSurface.setChildSurfacePackage( in maybeRenderPreview()
H A DImagePreviewFragment.java126 protected SurfaceView mWorkspaceSurface; field in ImagePreviewFragment
172 mWorkspaceSurface = mContainer.findViewById(R.id.workspace_surface); in onCreateView()
173 mWorkspaceSurfaceCallback = createWorkspaceSurfaceCallback(mWorkspaceSurface); in onCreateView()
178 mWorkspaceSurface.setResizeBackgroundColor(placeHolderColor); in onCreateView()
195 ((CardView) mWorkspaceSurface.getParent()).setRadius( in onCreateView()
197 ((CardView) mWorkspaceSurface.getParent()).getMeasuredWidth())); in onCreateView()
526 mWorkspaceSurface.setZOrderMediaOverlay(true); in renderWorkspaceSurface()
527 mWorkspaceSurface.getHolder().addCallback(mWorkspaceSurfaceCallback); in renderWorkspaceSurface()
662 mWorkspaceSurface.setVisibility(isHomeSelected && mIsSurfaceCreated ? View.VISIBLE : in updateScreenPreview()
H A DLivePreviewFragment.java106 protected SurfaceView mWorkspaceSurface; field in LivePreviewFragment
197 mWorkspaceSurface = mHomePreviewCard.findViewById(R.id.workspace_surface); in onCreateView()
199 mWorkspaceSurfaceCallback = createWorkspaceSurfaceCallback(mWorkspaceSurface); in onCreateView()
239 mWorkspaceSurface.setVisibility(isHomeSelected ? View.VISIBLE : View.INVISIBLE); in updateScreenPreview()
293 mWorkspaceSurface.getHolder().removeCallback(mWorkspaceSurfaceCallback); in onDestroyView()
354 mWorkspaceSurface.setZOrderMediaOverlay(true); in renderWorkspaceSurface()
355 mWorkspaceSurface.getHolder().addCallback(mWorkspaceSurfaceCallback); in renderWorkspaceSurface()
H A DCategoryFragment.java124 private SurfaceView mWorkspaceSurface; field in CategoryFragment
163 mWorkspaceSurface = homePreviewCard.findViewById(R.id.workspace_surface); in onCreateView()
165 mWorkspaceSurface, getContext()); in onCreateView()
727 mWorkspaceSurface.setZOrderMediaOverlay(true); in updateWorkspaceSurface()
728 mWorkspaceSurface.getHolder().addCallback(mWorkspaceSurfaceCallback); in updateWorkspaceSurface()