Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DOffscreenBufferPoolTests.cpp80 auto layer2 = pool.get(renderThread.renderState(), 102u, 202u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
81 EXPECT_EQ(layer, layer2) << "layer should be recycled"; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
106 auto layer2 = pool.get(renderThread.renderState(), 128u, 128u); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
107 layer2->dirty(Rect(128, 128)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
108 EXPECT_FALSE(layer2->region.isEmpty()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
109 pool.putOrDelete(layer2); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
112 ASSERT_EQ(layer2, pool.resize(layer, 120u, 125u)); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
113 EXPECT_TRUE(layer2->region.isEmpty()) << "Swap resize should clear usage region"; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
114 EXPECT_EQ(120u, layer2->viewportWidth); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
115 EXPECT_EQ(125u, layer2->viewportHeight); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java71 final TestWindowContainer layer2 = root.addChildWindow(builder.setLayer(2)); in testAdd() local
81 assertEquals(root, layer2.getParentWindow()); in testAdd()
93 assertEquals(layer2, root.getChildAt(6)); in testAdd()
97 assertTrue(layer2.mOnParentSetCalled); in testAdd()
741 final int layer2 = w2.mLayer;
742 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0 )) {
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java571 final int layer2 = w2.mSubLayer;
572 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0 )) {