Home
last modified time | relevance | path

Searched refs:mLayout (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java46 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/
DStaticLayoutGetLineLeftRightTest.java65 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/
DMagnifierTest.java82 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 …]
DTextViewTest.java9041 private Layout mLayout; field in TextViewTest.TestLayoutRunnable
9048 return mLayout; in getLayout()
9052 mLayout = mTextView.getLayout(); in saveLayout()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java578 private final LinearLayout mLayout; field in MockIme.KeyboardLayoutView
598 mLayout = new LinearLayout(getContext()); in KeyboardLayoutView()
599 mLayout.setOrientation(LinearLayout.VERTICAL); in KeyboardLayoutView()
616 mLayout.addView(scrollView); in KeyboardLayoutView()
643 mLayout.addView(secondaryLayout); in KeyboardLayoutView()
646 addView(mLayout, MATCH_PARENT, mainSpacerHeight); in KeyboardLayoutView()
670 mLayout.getLayoutParams().height = height; in setHeight()
671 mLayout.requestLayout(); in setHeight()
/cts/tests/tests/graphics/jni/
DVulkanTestHelpers.h129 VkPipelineLayout mLayout = VK_NULL_HANDLE; variable
DVulkanTestHelpers.cpp909 nullptr, &mLayout)); in renderImageAndReadback()
1039 .layout = mLayout, in renderImageAndReadback()
1143 vkCmdBindDescriptorSets(mCmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, mLayout, in renderImageAndReadback()
1236 if (mLayout != VK_NULL_HANDLE) { in cleanUpTemporaries()
1237 vkDestroyPipelineLayout(mInit->device(), mLayout, nullptr); in cleanUpTemporaries()
1238 mLayout = VK_NULL_HANDLE; in cleanUpTemporaries()