/frameworks/base/core/tests/coretests/src/android/view/stylus/ |
D | HandwritingAreaTrackerTest.java | 81 View view2 = createView(rect2); in updateHandwritingAreaForView_multipleViews() local 83 mHandwritingAreaTracker.updateHandwritingAreaForView(view2); in updateHandwritingAreaForView_multipleViews() 92 assertThat(viewInfos.get(1).getView()).isEqualTo(view2); in updateHandwritingAreaForView_multipleViews() 102 View view2 = createView(rect2); in updateHandwritingAreaForView_afterDisableAutoHandwriting() local 104 mHandwritingAreaTracker.updateHandwritingAreaForView(view2); in updateHandwritingAreaForView_afterDisableAutoHandwriting() 119 assertThat(viewInfos.get(0).getView()).isEqualTo(view2); in updateHandwritingAreaForView_afterDisableAutoHandwriting() 129 View view2 = createView(rect2); in updateHandwritingAreaForView_removesInactiveView() local 131 mHandwritingAreaTracker.updateHandwritingAreaForView(view2); in updateHandwritingAreaForView_removesInactiveView() 138 mHandwritingAreaTracker.updateHandwritingAreaForView(view2); in updateHandwritingAreaForView_removesInactiveView() 146 assertThat(viewInfos.get(0).getView()).isEqualTo(view2); in updateHandwritingAreaForView_removesInactiveView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsLayoutTest.java | 176 View view2 = new View(mContext, null); in testOnUpdateList_oneSeparatedOneList() local 181 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_oneSeparatedOneList() 189 assertEquals(view2, mLayout.mListViews.get(0)); in testOnUpdateList_oneSeparatedOneList() 198 View view2 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems() local 202 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems() 211 assertEquals(view2, mLayout.mSeparatedViews.get(1)); in testOnUpdateList_twoSeparatedItems() 223 View view2 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems_reverse() local 228 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse() 238 assertEquals(view2, mLayout.mSeparatedViews.get(1)); in testOnUpdateList_twoSeparatedItems_reverse() 246 View view2 = new View(mContext, null); in testOnUpdateList_fourInList() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/ |
D | MobileViewLoggerTest.kt | 68 val view2 = TextView(context) in collectionStarted_multipleViews_dumpHasInfo() constant 73 underTest.logCollectionStarted(view2, viewModel2) in collectionStarted_multipleViews_dumpHasInfo() 83 val view2 = TextView(context) in collectionStopped_dumpHasInfo() constant 88 underTest.logCollectionStarted(view2, viewModel2) in collectionStopped_dumpHasInfo()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewInputConnectionTest.java | 205 final TestButton view2 = new TestButton(mActivity); in testInputConnectionCallbacks_nonEditableInput() local 208 viewGroup.addView(view2); in testInputConnectionCallbacks_nonEditableInput() 216 assertThat(view2.isFocused()).isFalse(); in testInputConnectionCallbacks_nonEditableInput() 226 assertThat(view2.mCalledOnCreateInputConnection).isFalse(); in testInputConnectionCallbacks_nonEditableInput() 227 assertThat(view2.mCalledOnInputConnectionOpened).isFalse(); in testInputConnectionCallbacks_nonEditableInput() 228 assertThat(view2.mCalledOnInputConnectionClosed).isFalse(); in testInputConnectionCallbacks_nonEditableInput() 232 mActivityRule.runOnUiThread(view2::requestFocus); in testInputConnectionCallbacks_nonEditableInput() 235 assertThat(view2.isFocused()).isTrue(); in testInputConnectionCallbacks_nonEditableInput() 245 assertThat(view2.mCalledOnCreateInputConnection).isTrue(); in testInputConnectionCallbacks_nonEditableInput() 246 assertThat(view2.mCalledOnInputConnectionOpened).isFalse(); in testInputConnectionCallbacks_nonEditableInput() [all …]
|
D | ScrollFeedbackProviderTest.java | 49 View view2 = new View(mContext); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls() local 53 ScrollFeedbackProvider view2Provider = ScrollFeedbackProvider.createProvider(view2); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls()
|
D | ViewGroupScrollCaptureTest.java | 280 final MockView view2 = new MockView(context, 0, 25, 150, 100); in testDispatchScrollCaptureSearch_toChildren() local 281 viewGroup.addView(view2); in testDispatchScrollCaptureSearch_toChildren() 320 view2.assertDispatchScrollCaptureSearchCount(1); in testDispatchScrollCaptureSearch_toChildren() 321 view2.assertDispatchScrollCaptureSearchLastArgs( in testDispatchScrollCaptureSearch_toChildren() 324 view2.assertCreateScrollCaptureCallbackInternalCount(1); in testDispatchScrollCaptureSearch_toChildren() 377 final MockView view2 = new MockView(context, 0, 0, 200, 200); in testOnScrollCaptureSearch_withPadding() local 378 parent.addView(view2); in testOnScrollCaptureSearch_withPadding() 397 view2.assertOnScrollCaptureSearchLastArgs( in testOnScrollCaptureSearch_withPadding()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 177 private boolean viewsCoverEntireWidth(View view1, View view2, int width) { in viewsCoverEntireWidth() argument 179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth() 180 && view2.getRight() >= width; in viewsCoverEntireWidth()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrameTest.java | 212 View view2 = mockViewAt(11, 20, 10, 10); in testViewMiddleChildNotAttachedCrash() local 214 when(view2.isAttachedToWindow()).thenReturn(false); in testViewMiddleChildNotAttachedCrash() 216 mNearestTouchFrame.addView(view2); in testViewMiddleChildNotAttachedCrash() 222 verify(view2, never()).onTouchEvent(eq(ev)); in testViewMiddleChildNotAttachedCrash()
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 358 final TestTextView view2 = layout.findViewById(R.id.view_2); in testOverlayLayout() local 359 assertNotNull(view2); in testOverlayLayout() 362 assertEquals("none", view2.getCustomAttributeValue()); in testOverlayLayout() 365 assertEquals("single", view2.getCustomAttributeValue()); in testOverlayLayout() 368 assertEquals("multiple", view2.getCustomAttributeValue()); in testOverlayLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrame.java | 58 (view1, view2) -> { 66 view2.getLocationInWindow(mTmpInt);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 605 private int getRelativeTranslationY(View view1, View view2) { in getRelativeTranslationY() argument 610 getRelativePositionInt(qqsPosition, view2, commonView); in getRelativeTranslationY()
|
/frameworks/base/core/java/android/window/ |
D | SurfaceSyncGroup.md | 67 syncGroup.addToSync(view2.getRootSurfaceControl());
|