/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotPersister.java | 330 private final TaskSnapshot mSnapshot; field in TaskSnapshotPersister.StoreWriteQueueItem 335 mSnapshot = snapshot; in StoreWriteQueueItem() 375 proto.orientation = mSnapshot.getOrientation(); in writeProto() 376 proto.rotation = mSnapshot.getRotation(); in writeProto() 377 proto.taskWidth = mSnapshot.getTaskSize().x; in writeProto() 378 proto.taskHeight = mSnapshot.getTaskSize().y; in writeProto() 379 proto.insetLeft = mSnapshot.getContentInsets().left; in writeProto() 380 proto.insetTop = mSnapshot.getContentInsets().top; in writeProto() 381 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto() 382 proto.insetBottom = mSnapshot.getContentInsets().bottom; in writeProto() [all …]
|
D | SnapshotStartingData.java | 29 private final TaskSnapshot mSnapshot; field in SnapshotStartingData 34 mSnapshot = snapshot; in SnapshotStartingData() 39 return mService.mTaskSnapshotController.createStartingSurface(activity, mSnapshot); in createStartingSurface()
|
D | TaskSnapshotSurface.java | 136 private TaskSnapshot mSnapshot; field in TaskSnapshotSurface 292 mSnapshot = snapshot; in TaskSnapshotSurface() 328 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames() 329 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames() 353 mSnapshot = null; in drawSnapshot() 357 mSurface.attachAndQueueBufferWithColorSpace(mSnapshot.getSnapshot(), in drawSizeMatchSnapshot() 358 mSnapshot.getColorSpace()); in drawSizeMatchSnapshot() 366 final GraphicBuffer buffer = mSnapshot.getSnapshot(); in drawSizeMismatchSnapshot() 409 surface.attachAndQueueBufferWithColorSpace(buffer, mSnapshot.getColorSpace()); in drawSizeMismatchSnapshot() 428 rect.set(0, 0, mSnapshot.getSnapshot().getWidth(), mSnapshot.getSnapshot().getHeight()); in calculateSnapshotCrop() [all …]
|
D | SurfaceFreezer.java | 56 Snapshot mSnapshot = null; field in SurfaceFreezer 86 mSnapshot = new Snapshot(mWmService.mSurfaceFactory, t, snapshot, mLeash); in freeze() 106 if (mSnapshot != null) { in unfreeze() 107 mSnapshot.cancelAnimation(t, false /* restarting */); in unfreeze()
|
D | WindowContainer.java | 2254 final AnimationAdapter thumbnailAdapter = mSurfaceFreezer.mSnapshot != null in getAnimationAdapter() 2307 mSurfaceFreezer.mSnapshot.startAnimation(getPendingTransaction(), in applyAnimationUnchecked()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 52 protected GcSnapshot mSnapshot; field in BaseCanvas_Delegate 57 mSnapshot = GcSnapshot.createDefaultSnapshot(mBitmap = bitmap); in BaseCanvas_Delegate() 61 mSnapshot = GcSnapshot.createDefaultSnapshot(null /*image*/); in BaseCanvas_Delegate() 68 mSnapshot.dispose(); in dispose() 75 return mSnapshot; in getSnapshot() 625 canvasDelegate.mSnapshot.draw(drawable); in draw() 769 int count = mSnapshot.size(); in save() 771 mSnapshot = mSnapshot.save(saveFlags); in save() 785 int count = mSnapshot.size(); in saveLayer() 787 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags); in saveLayer() [all …]
|
D | Canvas_Delegate.java | 75 return mSnapshot; in getSnapshot() 125 canvasDelegate.mSnapshot = GcSnapshot.createDefaultSnapshot(bitmapDelegate); in nSetBitmap() 391 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in nClipPath()
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.cpp | 149 const bool drawDirectly = !mSnapshot.mPic; in onDraw() 175 mSnapshot = mNextSnapshot.get(); in onDraw() 177 if (mSnapshot.mDurationMS == SkAnimatedImage::kFinished) { in onDraw() 181 mTimeToShowNextSnapshot += ms2ns(mSnapshot.mDurationMS); in onDraw() 203 canvas->drawPicture(mSnapshot.mPic, nullptr, lazyPaint ? &*lazyPaint : nullptr); in onDraw()
|
D | AnimatedImageDrawable.h | 122 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()
|
D | AppChangeTransitionTests.java | 108 assertNull(mTask.mSurfaceFreezer.mSnapshot); in testModeChangeRemoteAnimatorNoSnapshot()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 2087 private final GraphicBuffer mSnapshot; field in ActivityManager.TaskSnapshot 2116 mSnapshot = snapshot; in TaskSnapshot() 2133 mSnapshot = source.readParcelable(null /* classLoader */); 2168 return mSnapshot; 2259 dest.writeParcelable(mSnapshot != null && !mSnapshot.isDestroyed() ? mSnapshot : null, 2275 final int width = mSnapshot != null ? mSnapshot.getWidth() : 0; 2276 final int height = mSnapshot != null ? mSnapshot.getHeight() : 0; 2280 + " mSnapshot=" + mSnapshot + " (" + width + "x" + height + ")" 2306 private GraphicBuffer mSnapshot; 2329 mSnapshot = buffer; [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.cpp | 1150 Reverter() : mSnapshot(*RandomVariableNetwork::get()) {} in Reverter() 1158 *RandomVariableNetwork::get() = std::move(mSnapshot); in revert() 1164 RandomVariableNetwork mSnapshot; member in android::nn::fuzzing_test::RandomVariableNetwork::Reverter
|