Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp95 float expectedOffset = floor(4 * 1.5f + 0.5f); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
96 EXPECT_EQ(expectedOffset, reinterpret_cast<PathTexture*>(texture)->offset) in RENDERTHREAD_OPENGL_PIPELINE_TEST()
99 expectedBounds.outset(expectedOffset); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
102 expectedModelView.loadTranslate(10 - expectedOffset, 15 - expectedOffset, 0); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
103 expectedModelView.scale(10 + 2 * expectedOffset, 10 + 2 * expectedOffset, 1); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java856 int expectedOffset = 0; in keepFocusOnResizeTest() local
862 expectedOffset = childSize / 3; in keepFocusOnResizeTest()
864 scrollBy(expectedOffset); in keepFocusOnResizeTest()
867 scrollBy(-expectedOffset); in keepFocusOnResizeTest()