/frameworks/native/services/surfaceflinger/ |
D | LayerFE.cpp | 95 return mSnapshot.get(); in getCompositionState() 99 return mSnapshot->hasReadyFrame; in onPreComposition() 128 reduce(mSnapshot->geomLayerBounds, mSnapshot->transparentRegionHint); in prepareClientCompositionInternal() 129 layerSettings.geometry.positionTransform = mSnapshot->geomLayerTransform.asMatrix4(); in prepareClientCompositionInternal() 135 if (!mSnapshot->colorTransformIsIdentity) { in prepareClientCompositionInternal() 136 layerSettings.colorTransform = mSnapshot->colorTransform; in prepareClientCompositionInternal() 139 const auto& roundedCornerState = mSnapshot->roundedCorner; in prepareClientCompositionInternal() 143 layerSettings.alpha = mSnapshot->alpha; in prepareClientCompositionInternal() 144 layerSettings.sourceDataspace = mSnapshot->dataspace; in prepareClientCompositionInternal() 161 layerSettings.backgroundBlurRadius = mSnapshot->backgroundBlurRadius; in prepareClientCompositionInternal() [all …]
|
D | LayerFE.h | 58 std::unique_ptr<surfaceflinger::frontend::LayerSnapshot> mSnapshot; variable
|
/frameworks/base/core/java/android/window/ |
D | TaskSnapshot.java | 53 private final HardwareBuffer mSnapshot; field in TaskSnapshot 103 mSnapshot = snapshot; in TaskSnapshot() 123 mSnapshot = source.readTypedObject(HardwareBuffer.CREATOR); 171 return GraphicBuffer.createFromHardwareBuffer(mSnapshot); 178 return mSnapshot; 285 dest.writeTypedObject(mSnapshot != null && !mSnapshot.isClosed() ? mSnapshot : null, 0); 302 final int width = mSnapshot != null ? mSnapshot.getWidth() : 0; 303 final int height = mSnapshot != null ? mSnapshot.getHeight() : 0; 308 + " mSnapshot=" + mSnapshot + " (" + width + "x" + height + ")" 339 if (Flags.releaseSnapshotAggressively() && mInternalReferences == 0 && mSnapshot != null [all …]
|
D | SnapshotDrawerUtils.java | 116 private final TaskSnapshot mSnapshot; field in SnapshotDrawerUtils.SnapshotSurface 129 mSnapshot = snapshot; in SnapshotSurface() 172 if (mSnapshot.getHardwareBuffer() != null) { in drawSnapshot() 173 mSnapshot.getHardwareBuffer().close(); in drawSnapshot() 181 mTransaction.setBuffer(mRootSurface, mSnapshot.getHardwareBuffer()) in drawSizeMatchSnapshot() 182 .setColorSpace(mRootSurface, mSnapshot.getColorSpace()) in drawSizeMatchSnapshot() 187 final HardwareBuffer buffer = mSnapshot.getHardwareBuffer(); in drawSizeMismatchSnapshot() 205 final Rect letterboxInsets = mSnapshot.getLetterboxInsets(); in drawSizeMismatchSnapshot() 223 final Rect contentInsets = mSnapshot.getContentInsets(); in drawSizeMismatchSnapshot() 237 -offsetX * mFrame.width() / mSnapshot.getTaskSize().x, in drawSizeMismatchSnapshot() [all …]
|
D | TransitionInfo.java | 601 if (c.mSnapshot != null) { in releaseAnimSurfaces() 602 c.mSnapshot.release(); in releaseAnimSurfaces() 603 c.mSnapshot = null; in releaseAnimSurfaces() 679 private SurfaceControl mSnapshot = null; field in TransitionInfo.Change 709 mSnapshot = in.readTypedObject(SurfaceControl.CREATOR); in Change() 733 out.mSnapshot = mSnapshot != null ? new SurfaceControl(mSnapshot, "localRemote") : null; in localRemoteCopy() 828 mSnapshot = snapshot; in setSnapshot() 972 return mSnapshot; in getSnapshot() 1015 dest.writeTypedObject(mSnapshot, flags); in writeToParcel() 1074 if (mSnapshot != null) { in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SnapshotPersistQueue.java | 250 private final TaskSnapshot mSnapshot; field in SnapshotPersistQueue.StoreWriteQueueItem 257 mSnapshot = snapshot; in StoreWriteQueueItem() 293 mSnapshot.removeReference(TaskSnapshot.REFERENCE_PERSIST); in write() 299 proto.orientation = mSnapshot.getOrientation(); in writeProto() 300 proto.rotation = mSnapshot.getRotation(); in writeProto() 301 proto.taskWidth = mSnapshot.getTaskSize().x; in writeProto() 302 proto.taskHeight = mSnapshot.getTaskSize().y; in writeProto() 303 proto.insetLeft = mSnapshot.getContentInsets().left; in writeProto() 304 proto.insetTop = mSnapshot.getContentInsets().top; in writeProto() 305 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto() [all …]
|
D | SnapshotStartingData.java | 29 private final TaskSnapshot mSnapshot; field in SnapshotStartingData 34 mSnapshot = snapshot; in SnapshotStartingData() 40 mSnapshot); in createStartingSurface() 50 return mSnapshot.hasImeSurface(); in hasImeSurface()
|
D | SurfaceFreezer.java | 60 Snapshot mSnapshot = null; field in SurfaceFreezer 103 mSnapshot = new Snapshot(t, screenshotBuffer, mLeash); in freeze() 124 final Snapshot out = mSnapshot; in takeSnapshotForAnimation() 125 mSnapshot = null; in takeSnapshotForAnimation() 139 if (mSnapshot != null) { in unfreezeInner() 140 mSnapshot.cancelAnimation(t, false /* restarting */); in unfreezeInner() 141 mSnapshot = null; in unfreezeInner() 161 if (mSnapshot != null) { in reset() 162 mSnapshot.destroy(t); in reset() 163 mSnapshot = null; in reset()
|
D | SurfaceAnimator.java | 64 SurfaceFreezer.Snapshot mSnapshot; field in SurfaceAnimator 203 mSnapshot = freezer.takeSnapshotForAnimation(); 204 if (mSnapshot == null) { 208 mSnapshot.startAnimation(t, snapshotAnim, type); 361 final SurfaceFreezer.Snapshot snapshot = mSnapshot; 400 final SurfaceFreezer.Snapshot snapshot = mSnapshot; 401 mSnapshot = null;
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | AppsFilterImplTest.java | 111 Computer mSnapshot; field in AppsFilterImplTest 226 when(mSnapshot.getPackageStates()).thenAnswer(x -> mExisting); in setup() 227 when(mSnapshot.getUserInfos()).thenReturn(USER_INFO_LIST); in setup() 228 when(mSnapshot.getSharedUser(anyInt())).thenAnswer(invocation -> { in setup() 235 when(mPmInternal.snapshot()).thenReturn(mSnapshot); in setup() 283 appsFilter.shouldFilterApplication(mSnapshot, DUMMY_CALLING_APPID, calling, target, in testQueriesAction_FilterMatches() 325 assertFalse(appsFilter.shouldFilterApplication(mSnapshot, callingUid, calling, in testQueriesProtectedAction_FilterDoesNotMatch() 327 assertTrue(appsFilter.shouldFilterApplication(mSnapshot, callingUid, calling, in testQueriesProtectedAction_FilterDoesNotMatch() 330 assertFalse(appsFilter.shouldFilterApplication(mSnapshot, in testQueriesProtectedAction_FilterDoesNotMatch() 332 assertTrue(appsFilter.shouldFilterApplication(mSnapshot, in testQueriesProtectedAction_FilterDoesNotMatch() [all …]
|
/frameworks/native/services/surfaceflinger/Display/ |
D | PhysicalDisplay.h | 39 : mToken(std::move(token)), mSnapshot(std::forward<Args>(args)...) {} in PhysicalDisplay() 45 const DisplaySnapshot& snapshot() const { return mSnapshot; } in snapshot() 49 DisplaySnapshotRef snapshotRef() const { return std::cref(mSnapshot); } in snapshotRef() 52 return mSnapshot.connectionType() == ui::DisplayConnectionType::Internal; in isInternal() 66 DisplaySnapshot mSnapshot; variable
|
/frameworks/base/services/core/java/com/android/server/pm/local/ |
D | PackageManagerLocalImpl.java | 108 protected Computer mSnapshot; field in PackageManagerLocalImpl.BaseSnapshotImpl 111 mSnapshot = (Computer) snapshot; in BaseSnapshotImpl() 118 mSnapshot = null; in close() 148 return new FilteredSnapshotImpl(callingUid, user, mSnapshot, this); in filtered() 159 Collections.unmodifiableMap(mSnapshot.getPackageStates()); in getPackageStates() 172 Collections.unmodifiableMap(mSnapshot.getSharedUsers()); in getSharedUsers() 185 Collections.unmodifiableMap(mSnapshot.getDisabledSystemPackageStates()); in getDisabledSystemPackageStates() 240 return mSnapshot.getPackageStateFiltered(packageName, mCallingUid, mUserId); in getPackageState() 249 var packageStates = mSnapshot.getPackageStates(); in getPackageStates() 253 if (!mSnapshot.shouldFilterApplication(packageState, mCallingUid, mUserId)) { in getPackageStates()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PersistentPreferredIntentResolver.java | 45 mSnapshot = makeCache(); in PersistentPreferredIntentResolver() 56 mSnapshot = new SnapshotCache.Sealed(); in PersistentPreferredIntentResolver() 61 final SnapshotCache<PersistentPreferredIntentResolver> mSnapshot; field in PersistentPreferredIntentResolver 77 return mSnapshot.snapshot();
|
D | CrossProfileIntentResolver.java | 56 mSnapshot = makeCache(); in CrossProfileIntentResolver() 67 mSnapshot = new SnapshotCache.Sealed(); in CrossProfileIntentResolver() 72 final SnapshotCache<CrossProfileIntentResolver> mSnapshot; field in CrossProfileIntentResolver 88 return mSnapshot.snapshot();
|
D | PreferredActivity.java | 42 final SnapshotCache<PreferredActivity> mSnapshot; field in PreferredActivity 58 mSnapshot = makeCache(); 70 mSnapshot = new SnapshotCache.Sealed(); 75 mSnapshot = makeCache(); 115 return mSnapshot.snapshot();
|
D | PreferredIntentResolver.java | 74 mSnapshot = makeCache(); in PreferredIntentResolver() 85 mSnapshot = new SnapshotCache.Sealed(); in PreferredIntentResolver() 90 final SnapshotCache<PreferredIntentResolver> mSnapshot; field in PreferredIntentResolver 106 return mSnapshot.snapshot();
|
D | PersistentPreferredActivity.java | 47 final SnapshotCache<PersistentPreferredActivity> mSnapshot; field in PersistentPreferredActivity 63 mSnapshot = makeCache(); 76 mSnapshot = new SnapshotCache.Sealed(); 118 mSnapshot = makeCache(); 141 return mSnapshot.snapshot();
|
D | CrossProfileIntentFilter.java | 108 final SnapshotCache<CrossProfileIntentFilter> mSnapshot; field in CrossProfileIntentFilter 132 mSnapshot = makeCache(); 152 mSnapshot = new SnapshotCache.Sealed(); 176 mSnapshot = makeCache(); 245 return mSnapshot.snapshot();
|
D | SharedUserSetting.java | 90 private final SnapshotCache<SharedUserSetting> mSnapshot; field in SharedUserSetting 114 mSnapshot = makeCache(); 133 mSnapshot = new SnapshotCache.Sealed<>(); 145 return mSnapshot.snapshot();
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | SnapshotCache.java | 59 private volatile T mSnapshot = null; field in SnapshotCache 120 mSnapshot = null; in onChange() 136 T s = mSnapshot; in snapshot() 139 mSnapshot = s; in snapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageUserStateImpl.java | 140 final SnapshotCache<PackageUserStateImpl> mSnapshot; field in PackageUserStateImpl 156 mSnapshot = makeCache(); 162 mSnapshot = makeCache(); 191 mSnapshot = new SnapshotCache.Sealed<>(); 204 return mSnapshot.snapshot(); 235 mSharedLibraryOverlayPaths.registerObserver(mSnapshot); 337 mComponentLabelIconOverrideMap.registerObserver(mSnapshot); 380 mSuspendParams.registerObserver(mSnapshot); 405 mDisabledComponentsWatched.registerObserver(mSnapshot); 418 mEnabledComponentsWatched.registerObserver(mSnapshot); [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipContentOverlay.java | 120 private final TaskSnapshot mSnapshot; field in PipContentOverlay.PipSnapshotOverlay 124 mSnapshot = snapshot; in PipSnapshotOverlay() 134 final float taskSnapshotScaleX = (float) mSnapshot.getTaskSize().x in attach() 135 / mSnapshot.getHardwareBuffer().getWidth(); in attach() 136 final float taskSnapshotScaleY = (float) mSnapshot.getTaskSize().y in attach() 137 / mSnapshot.getHardwareBuffer().getHeight(); in attach() 140 tx.setBuffer(mLeash, mSnapshot.getHardwareBuffer()); in attach()
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.cpp | 166 const bool drawDirectly = !mSnapshot.mPic; in onDraw() 194 mSnapshot = mNextSnapshot.get(); in onDraw() 196 if (mSnapshot.mDurationMS == SkAnimatedImage::kFinished) { in onDraw() 200 mTimeToShowNextSnapshot += ms2ns(mSnapshot.mDurationMS); in onDraw() 220 canvas->drawPicture(mSnapshot.mPic, nullptr, lazyPaint ? &*lazyPaint : nullptr); in onDraw()
|
D | AnimatedImageDrawable.h | 125 Snapshot mSnapshot; variable
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotCacheTest.java | 50 TaskSnapshot mSnapshot; field in TaskSnapshotCacheTest 130 mCache.putSnapshot(window.getTask(), mSnapshot); in testClearCache() local 131 assertEquals(mSnapshot, mCache.getSnapshot(window.getTask().mTaskId, 0, false, false)); in testClearCache()
|