/cts/tests/tests/view/src/android/view/cts/ |
D | FocusFinderTest.java | 46 private ViewGroup mLayout; field in FocusFinderTest 61 mLayout = activity.layout; in setup() 104 mLayout.setFocusableInTouchMode(true); in testFindNextFocus() 105 verifyNextFocus(mLayout, View.FOCUS_FORWARD, mTopLeft); in testFindNextFocus() 110 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); in verifyNextFocus() 154 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); in verifytNextFocusFromRect() 176 View view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_DOWN, deltas); in testFindNearestTouchable() 185 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas); in testFindNearestTouchable() 194 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_RIGHT, deltas); in testFindNearestTouchable() 203 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_UP, deltas); in testFindNearestTouchable() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutGetLineLeftRightTest.java | 65 final Layout mLayout; field in StaticLayoutGetLineLeftRightTest 114 mLayout = StaticLayout.Builder.obtain(mText, 0, mText.length(), mPaint, mWidth) in StaticLayoutGetLineLeftRightTest() 145 final int lineCount = mLayout.getLineCount(); in testGetLineLeft() 147 final int start = mLayout.getLineStart(line); in testGetLineLeft() 148 final int end = mLayout.getLineEnd(line); in testGetLineLeft() 163 assertEquals(expectedLeft, mLayout.getLineLeft(line), 0.0f); in testGetLineLeft() 169 final int lineCount = mLayout.getLineCount(); in testGetLineRight() 171 final int start = mLayout.getLineStart(line); in testGetLineRight() 172 final int end = mLayout.getLineEnd(line); in testGetLineRight() 188 assertEquals(expectedRight, mLayout.getLineRight(line), 0.0f); in testGetLineRight()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MagnifierTest.java | 82 private LinearLayout mLayout; field in MagnifierTest 101 mLayout = mActivity.findViewById(R.id.magnifier_activity_centered_view_layout); in setup() 103 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mLayout, null); in setup() 406 showMagnifier(mLayout.getWidth() / 2, mLayout.getHeight() / 2); in testMagnifierContent_refreshesAfterUpdate() 434 showMagnifier(mLayout.getWidth() / 2, mLayout.getHeight() / 2, in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft() 439 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft() 452 showMagnifier(mLayout.getWidth() / 2, mLayout.getHeight() / 2, in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() 453 mLayout.getRootView().getWidth() + mMagnifier.getWidth(), in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() 454 mLayout.getRootView().getHeight() + mMagnifier.getHeight()); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() 457 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() [all …]
|
D | TextViewTest.java | 8783 private Layout mLayout; field in TextViewTest.TestLayoutRunnable 8790 return mLayout; in getLayout() 8794 mLayout = mTextView.getLayout(); in saveLayout()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanTestHelpers.cpp | 862 nullptr, &mLayout)); in renderImageAndReadback() 992 .layout = mLayout, in renderImageAndReadback() 1096 vkCmdBindDescriptorSets(mCmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, mLayout, in renderImageAndReadback() 1189 if (mLayout != VK_NULL_HANDLE) { in cleanUpTemporaries() 1190 vkDestroyPipelineLayout(mInit->device(), mLayout, nullptr); in cleanUpTemporaries() 1191 mLayout = VK_NULL_HANDLE; in cleanUpTemporaries()
|
D | VulkanTestHelpers.h | 129 VkPipelineLayout mLayout = VK_NULL_HANDLE; variable
|