Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DCanvasState.cpp31 , mSnapshot(&mFirstSnapshot) { in CanvasState()
56 mSnapshot = allocSnapshot(&mFirstSnapshot, SaveFlags::MatrixClip); in initializeRecordingSaveStack()
57 mSnapshot->setRelativeLightCenter(Vector3()); in initializeRecordingSaveStack()
73 mSnapshot = allocSnapshot(&mFirstSnapshot, SaveFlags::MatrixClip); in initializeSaveStack()
74 mSnapshot->setClip(clipLeft, clipTop, clipRight, clipBottom); in initializeSaveStack()
75 mSnapshot->fbo = mCanvas.getTargetFbo(); in initializeSaveStack()
76 mSnapshot->setRelativeLightCenter(lightCenter); in initializeSaveStack()
105 while (mSnapshot != &mFirstSnapshot) { in freeAllSnapshots()
106 Snapshot* temp = mSnapshot; in freeAllSnapshots()
107 mSnapshot = mSnapshot->previous; in freeAllSnapshots()
[all …]
DCanvasState.h120 const Rect& getLocalClipBounds() const { return mSnapshot->getLocalClip(); } in getLocalClipBounds()
121 const Rect& getRenderTargetClipBounds() const { return mSnapshot->getRenderTargetClip(); } in getRenderTargetClipBounds()
151 void scaleAlpha(float alpha) { mSnapshot->alpha *= alpha; } in scaleAlpha()
152 void setEmpty(bool value) { mSnapshot->empty = value; } in setEmpty()
153 void setInvisible(bool value) { mSnapshot->invisible = value; } in setInvisible()
167 inline const Snapshot* currentSnapshot() const { return mSnapshot; } in currentSnapshot()
168 inline Snapshot* writableSnapshot() { return mSnapshot; } in writableSnapshot()
193 Snapshot* mSnapshot; variable
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java73 private GcSnapshot mSnapshot; field in Canvas_Delegate
98 return mSnapshot; in getSnapshot()
152 canvasDelegate.mSnapshot = GcSnapshot.createDefaultSnapshot(bitmapDelegate); in native_setBitmap()
413 return canvasDelegate.mSnapshot.clip(pathDelegate.getJavaShape(), regionOp); in native_clipPath()
430 return canvasDelegate.mSnapshot.clip(region.getJavaArea(), regionOp); in native_clipRegion()
1048 canvasDelegate.mSnapshot.draw(drawable); in draw()
1087 mSnapshot = GcSnapshot.createDefaultSnapshot(mBitmap = bitmap); in Canvas_Delegate()
1091 mSnapshot = GcSnapshot.createDefaultSnapshot(null /*image*/); in Canvas_Delegate()
1098 mSnapshot.dispose(); in dispose()
1103 int count = mSnapshot.size(); in save()
[all …]