Home
last modified time | relevance | path

Searched refs:view1 (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/stylus/
H A DHandwritingAreaTrackerTest.java80 View view1 = createView(rect1); in updateHandwritingAreaForView_multipleViews() local
82 mHandwritingAreaTracker.updateHandwritingAreaForView(view1); in updateHandwritingAreaForView_multipleViews()
89 assertThat(viewInfos.get(0).getView()).isEqualTo(view1); in updateHandwritingAreaForView_multipleViews()
101 View view1 = createView(rect1); in updateHandwritingAreaForView_afterDisableAutoHandwriting() local
103 mHandwritingAreaTracker.updateHandwritingAreaForView(view1); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
110 view1.setAutoHandwritingEnabled(false); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
111 mHandwritingAreaTracker.updateHandwritingAreaForView(view1); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
128 View view1 = createView(rect1); in updateHandwritingAreaForView_removesInactiveView() local
130 mHandwritingAreaTracker.updateHandwritingAreaForView(view1); in updateHandwritingAreaForView_removesInactiveView()
137 view1.setAutoHandwritingEnabled(false); in updateHandwritingAreaForView_removesInactiveView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A DGlobalActionsLayoutTest.java175 View view1 = new View(mContext, null); in testOnUpdateList_oneSeparatedOneList() local
178 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_oneSeparatedOneList()
188 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_oneSeparatedOneList()
197 View view1 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems() local
210 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems()
222 View view1 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems_reverse() local
237 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems_reverse()
245 View view1 = new View(mContext, null); in testOnUpdateList_fourInList() local
266 assertEquals(view1, mLayout.mListViews.get(0)); in testOnUpdateList_fourInList()
277 View view1 = new View(mContext, null); in testOnUpdateList_fourInList_reverse() local
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DViewInputConnectionTest.java204 final TestButton view1 = new TestButton(mActivity); in testInputConnectionCallbacks_nonEditableInput() local
207 viewGroup.addView(view1); in testInputConnectionCallbacks_nonEditableInput()
213 mActivityRule.runOnUiThread(view1::requestFocus); in testInputConnectionCallbacks_nonEditableInput()
215 assertThat(view1.isFocused()).isTrue(); in testInputConnectionCallbacks_nonEditableInput()
222 assertThat(view1.mCalledOnCreateInputConnection).isTrue(); in testInputConnectionCallbacks_nonEditableInput()
223 assertThat(view1.mCalledOnInputConnectionOpened).isFalse(); in testInputConnectionCallbacks_nonEditableInput()
224 assertThat(view1.mCalledOnInputConnectionClosed).isFalse(); in testInputConnectionCallbacks_nonEditableInput()
234 assertThat(view1.isFocused()).isFalse(); in testInputConnectionCallbacks_nonEditableInput()
241 assertThat(view1.mCalledOnCreateInputConnection).isTrue(); in testInputConnectionCallbacks_nonEditableInput()
242 assertThat(view1.mCalledOnInputConnectionOpened).isFalse(); in testInputConnectionCallbacks_nonEditableInput()
[all …]
H A DViewGroupScrollCaptureTest.java276 final MockView view1 = new MockView(context, 0, 0, 200, 25); in testDispatchScrollCaptureSearch_toChildren() local
277 viewGroup.addView(view1); in testDispatchScrollCaptureSearch_toChildren()
315 view1.assertDispatchScrollCaptureSearchCount(0); in testDispatchScrollCaptureSearch_toChildren()
316 view1.assertCreateScrollCaptureCallbackInternalCount(0); in testDispatchScrollCaptureSearch_toChildren()
374 final MockView view1 = new MockView(context, 0, -100, 200, 100); in testOnScrollCaptureSearch_withPadding() local
375 parent.addView(view1); in testOnScrollCaptureSearch_withPadding()
394 view1.assertOnScrollCaptureSearchLastArgs( in testOnScrollCaptureSearch_withPadding()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java177 private boolean viewsCoverEntireWidth(View view1, View view2, int width) { in viewsCoverEntireWidth() argument
178 return view1.getLeft() <= 0 in viewsCoverEntireWidth()
179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DNearestTouchFrame.java58 (view1, view2) -> {
64 view1.getLocationInWindow(mTmpInt);
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A DNearestTouchFrameTest.java211 View view1 = mockViewAt(0, 20, 10, 10); in testViewMiddleChildNotAttachedCrash() local
215 mNearestTouchFrame.addView(view1); in testViewMiddleChildNotAttachedCrash()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSAnimator.java607 private int getRelativeTranslationY(View view1, View view2) { in getRelativeTranslationY() argument
611 getRelativePositionInt(qsPosition, view1, commonView); in getRelativeTranslationY()
/aosp14/frameworks/base/core/java/android/window/
H A DSurfaceSyncGroup.md66 syncGroup.addToSync(view1.getRootSurfaceControl());