Home
last modified time | relevance | path

Searched refs:currentClip (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java318 Shape currentClip = baseLayer.getGraphics().getClip(); in GcSnapshot() local
319 mLocalLayer.setClip(currentClip); in GcSnapshot()
491 Shape currentClip = getClip(); in clip() local
492 return currentClip != null && currentClip.getBounds().isEmpty() == false; in clip()
512 Shape currentClip = getClip(); in clip() local
513 return currentClip != null && currentClip.getBounds().isEmpty() == false; in clip()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp1418 const Rect& currentClip = *(mSnapshot->clipRect); in storeDisplayState() local
1430 if(!clippedBounds.intersect(currentClip)) { in storeDisplayState()
1436 if (!currentClip.contains(state.mBounds)) { in storeDisplayState()
1439 if (currentClip.left > state.mBounds.left) flags |= kClipSide_Left; in storeDisplayState()
1440 if (currentClip.top > state.mBounds.top) flags |= kClipSide_Top; in storeDisplayState()
1441 if (currentClip.right < state.mBounds.right) flags |= kClipSide_Right; in storeDisplayState()
1442 if (currentClip.bottom < state.mBounds.bottom) flags |= kClipSide_Bottom; in storeDisplayState()
1449 state.mBounds.set(currentClip); in storeDisplayState()
1455 state.mClip.set(currentClip); in storeDisplayState()