/frameworks/base/core/tests/coretests/src/android/view/stylus/ |
D | HandwritingAreaTrackerTest.java | 80 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsLayoutTest.java | 175 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 200 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems() 210 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems() 222 View view1 = new View(mContext, null); in testOnUpdateList_twoSeparatedItems_reverse() local 225 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse() 237 assertEquals(view1, mLayout.mSeparatedViews.get(0)); in testOnUpdateList_twoSeparatedItems_reverse() 245 View view1 = new View(mContext, null); in testOnUpdateList_fourInList() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScrollFeedbackProviderTest.java | 48 View view1 = new View(mContext); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls() local 51 ScrollFeedbackProvider view1Provider1 = ScrollFeedbackProvider.createProvider(view1); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls() 52 ScrollFeedbackProvider view1Provider2 = ScrollFeedbackProvider.createProvider(view1); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls()
|
D | ViewInputConnectionTest.java | 204 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() 217 mActivityRule.runOnUiThread(() -> mImm.showSoftInput(view1, 0)); 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() 236 mActivityRule.runOnUiThread(() -> mImm.showSoftInput(view1, 0)); in testInputConnectionCallbacks_nonEditableInput() [all …]
|
D | ViewGroupScrollCaptureTest.java | 276 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()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 177 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrame.java | 58 (view1, view2) -> { 64 view1.getLocationInWindow(mTmpInt);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
D | NearestTouchFrameTest.java | 211 View view1 = mockViewAt(0, 20, 10, 10); in testViewMiddleChildNotAttachedCrash() local 215 mNearestTouchFrame.addView(view1); in testViewMiddleChildNotAttachedCrash()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/ |
D | RemoteComposeCanvas.java | 112 viewArea.setOnClickListener(view1 in onViewAttachedToWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 605 private int getRelativeTranslationY(View view1, View view2) { in getRelativeTranslationY() argument 609 getRelativePositionInt(qsPosition, view1, commonView); in getRelativeTranslationY()
|
/frameworks/base/core/java/android/window/ |
D | SurfaceSyncGroup.md | 66 syncGroup.addToSync(view1.getRootSurfaceControl());
|