/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
WindowLocationUtil.java | 111 RectF clippedBounds, RectF unclippedBitmapRect) { 113 clippedBounds.set(view.getPaddingLeft(), view.getPaddingTop(), 124 sTmpFloat8[0] = clippedBounds.left; 125 sTmpFloat8[1] = clippedBounds.top; 126 sTmpFloat8[2] = clippedBounds.right; 127 sTmpFloat8[3] = clippedBounds.bottom; 133 clippedBounds.left = sTmpFloat8[0]; 134 clippedBounds.top = sTmpFloat8[1]; 135 clippedBounds.right = sTmpFloat8[2]; 136 clippedBounds.bottom = sTmpFloat8[3] [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 41 EXPECT_EQ(Rect(40, 60, 100, 200), state.clippedBounds); // translated and also clipped 57 EXPECT_EQ(Rect(50, 80, 100, 200), state.clippedBounds); 101 EXPECT_EQ(Rect(49.5f, 49.5f, 150.5f, 150.5f), state.clippedBounds); 106 EXPECT_TRUE(state.clippedBounds.contains(49.5f, 49.5f, 150.5f, 150.5f)); 107 EXPECT_TRUE(Rect(49, 49, 151, 151).contains(state.clippedBounds)); 112 EXPECT_EQ(Rect(40, 40, 160, 160), state.clippedBounds); 119 EXPECT_EQ(Rect(149.5f, 149.5f, 200, 200), state.clippedBounds); 125 EXPECT_TRUE(state.clippedBounds.contains(149.5f, 149.5f, 200, 200)); 126 EXPECT_TRUE(Rect(149, 149, 200, 200).contains(state.clippedBounds)); 131 EXPECT_TRUE(state.clippedBounds.contains(120, 120, 200, 200)) [all...] |
FrameBuilderTests.cpp | 153 EXPECT_EQ(Rect(45, 45, 55, 55), state.computedState.clippedBounds) 231 EXPECT_EQ(Rect(5, 10, 55, 60), state.computedState.clippedBounds); 256 const Rect& clippedBounds = state.computedState.clippedBounds; 261 EXPECT_EQ(Rect(600, 100, 700, 500), clippedBounds); 266 EXPECT_EQ(Rect(100, 400, 600, 500), clippedBounds); 271 EXPECT_EQ(Rect(100, 100, 700, 500), clippedBounds); 276 EXPECT_EQ(Rect(0, 0, 800, 200), clippedBounds); 594 Rect fill = opList.states[0]->computedState.clippedBounds; 595 Rect stroke = opList.states[1]->computedState.clippedBounds; [all...] |
/frameworks/base/libs/hwui/ |
BakedOpState.cpp | 39 clippedBounds = recordedOp.unmappedBounds; 42 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f); 44 transform.mapRect(clippedBounds); 49 clippedBounds.outset(0.5f); 58 if (CC_UNLIKELY(clipRect.isEmpty() || !clippedBounds.intersects(clipRect))) { 64 clippedBounds.setEmpty(); 66 // Not rejected! compute true clippedBounds, clipSideFlags, and path mask 67 clipSideFlags = computeClipSideFlags(clipRect, clippedBounds); 68 clippedBounds.doIntersect(clipRect); 89 clippedBounds = clipState->rect [all...] |
LayerBuilder.cpp | 34 mBounds = op->computedState.clippedBounds; 42 if (rect.intersects(op->computedState.clippedBounds)) { 72 mBounds.unionWith(op->computedState.clippedBounds); 132 if (intersects(op->computedState.clippedBounds)) return false; 156 const Rect& opBounds = op->computedState.clippedBounds; 184 mBounds.unionWith(op->computedState.clippedBounds); 212 void LayerBuilder::locateInsertIndex(int batchId, const Rect& clippedBounds, 225 if (overBatch->intersects(clippedBounds)) { 247 && bakedState->computedState.clippedBounds.contains(repaintRect) 294 locateInsertIndex(batchId, op->computedState.clippedBounds, [all...] |
LayerBuilder.h | 85 void locateInsertIndex(int batchId, const Rect& clippedBounds,
|
BakedOpRenderer.h | 81 renderGlop(&state.computedState.clippedBounds,
|
BakedOpState.h | 93 Rect clippedBounds;
|
BakedOpDispatcher.cpp | [all...] |
BakedOpRenderer.cpp | 356 prepareRender(&state.computedState.clippedBounds, state.computedState.getClipIfNeeded());
|
OpenGLRenderer.cpp | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GestureManager.java | [all...] |