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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java319 Shape currentClip = baseLayer.getGraphics().getClip();
320 mLocalLayer.setClip(currentClip);
492 Shape currentClip = getClip();
493 return currentClip != null && currentClip.getBounds().isEmpty() == false;
513 Shape currentClip = getClip();
514 return currentClip != null && currentClip.getBounds().isEmpty() == false;
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp1335 const Rect* currentClip = currentClipRect(); local
1347 if(!clippedBounds.intersect(*currentClip)) {
1353 if (!currentClip->contains(state.mBounds)) {
1356 if (currentClip->left > state.mBounds.left) flags |= kClipSide_Left;
1357 if (currentClip->top > state.mBounds.top) flags |= kClipSide_Top;
1358 if (currentClip->right < state.mBounds.right) flags |= kClipSide_Right;
1359 if (currentClip->bottom < state.mBounds.bottom) flags |= kClipSide_Bottom;
1366 state.mBounds.set(*currentClip);
1372 state.mClip.set(*currentClip);

Completed in 158 milliseconds