Home
last modified time | relevance | path

Searched refs:mSnapshot (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java295 private final TaskSnapshot mSnapshot; field in TaskSnapshotPersister.StoreWriteQueueItem
300 mSnapshot = snapshot; in StoreWriteQueueItem()
335 proto.orientation = mSnapshot.getOrientation(); in writeProto()
336 proto.insetLeft = mSnapshot.getContentInsets().left; in writeProto()
337 proto.insetTop = mSnapshot.getContentInsets().top; in writeProto()
338 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto()
339 proto.insetBottom = mSnapshot.getContentInsets().bottom; in writeProto()
340 proto.isRealSnapshot = mSnapshot.isRealSnapshot(); in writeProto()
341 proto.windowingMode = mSnapshot.getWindowingMode(); in writeProto()
342 proto.systemUiVisibility = mSnapshot.getSystemUiVisibility(); in writeProto()
[all …]
DSnapshotStartingData.java29 private final TaskSnapshot mSnapshot; field in SnapshotStartingData
34 mSnapshot = snapshot; in SnapshotStartingData()
39 return mService.mTaskSnapshotController.createStartingSurface(atoken, mSnapshot); in createStartingSurface()
DTaskSnapshotSurface.java126 private TaskSnapshot mSnapshot; field in TaskSnapshotSurface
245 mSnapshot = snapshot; in TaskSnapshotSurface()
281 mSizeMismatch = (mFrame.width() != mSnapshot.getSnapshot().getWidth() in setFrames()
282 || mFrame.height() != mSnapshot.getSnapshot().getHeight()); in setFrames()
287 final GraphicBuffer buffer = mSnapshot.getSnapshot(); in drawSnapshot()
307 mSnapshot = null; in drawSnapshot()
353 final float scale = 1 / mSnapshot.getScale(); in drawSizeMismatchSnapshot()
377 rect.set(0, 0, mSnapshot.getSnapshot().getWidth(), mSnapshot.getSnapshot().getHeight()); in calculateSnapshotCrop()
378 final Rect insets = mSnapshot.getContentInsets(); in calculateSnapshotCrop()
383 rect.inset((int) (insets.left * mSnapshot.getScale()), in calculateSnapshotCrop()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java52 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 …]
DCanvas_Delegate.java75 return mSnapshot; in getSnapshot()
125 canvasDelegate.mSnapshot = GcSnapshot.createDefaultSnapshot(bitmapDelegate); in nSetBitmap()
385 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in nClipPath()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp147 const bool drawDirectly = !mSnapshot.mPic; in onDraw()
171 mSnapshot = mNextSnapshot.get(); in onDraw()
173 if (mSnapshot.mDurationMS == SkAnimatedImage::kFinished) { in onDraw()
177 mTimeToShowNextSnapshot += ms2ns(mSnapshot.mDurationMS); in onDraw()
197 canvas->drawPicture(mSnapshot.mPic, nullptr, lazyPaint ? &*lazyPaint : nullptr); in onDraw()
DAnimatedImageDrawable.h122 Snapshot mSnapshot; variable
/frameworks/base/core/java/android/app/
DActivityManager.java1828 private final GraphicBuffer mSnapshot; field in ActivityManager.TaskSnapshot
1849 mSnapshot = snapshot; in TaskSnapshot()
1864 mSnapshot = source.readParcelable(null /* classLoader */);
1891 return mSnapshot;
1974 dest.writeParcelable(mSnapshot, 0);
1988 final int width = mSnapshot != null ? mSnapshot.getWidth() : 0;
1989 final int height = mSnapshot != null ? mSnapshot.getHeight() : 0;
1992 + " mSnapshot=" + mSnapshot + " (" + width + "x" + height + ")"
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp1143 Reverter() : mSnapshot(*RandomVariableNetwork::get()) {} in Reverter()
1151 *RandomVariableNetwork::get() = std::move(mSnapshot); in revert()
1157 RandomVariableNetwork mSnapshot; member in android::nn::fuzzing_test::RandomVariableNetwork::Reverter