/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRouterTest.java | 350 MediaRouterCallback callback = new MediaRouterCallback(); in testCallback() local 351 MediaRouter.Callback mrc = (MediaRouter.Callback) callback; in testCallback() 352 MediaRouter.SimpleCallback mrsc = (MediaRouter.SimpleCallback) callback; in testCallback() 356 mMediaRouter.addCallback(allRouteTypes, callback); in testCallback() 359 callback.reset(); in testCallback() 362 assertTrue(callback.mOnRouteAddedCalled); in testCallback() 363 assertEquals(userRoute, callback.mAddedRoute); in testCallback() 365 mrc.onRouteAdded(mMediaRouter, callback.mAddedRoute); in testCallback() 366 mrsc.onRouteAdded(mMediaRouter, callback.mAddedRoute); in testCallback() 371 callback.reset(); in testCallback() [all …]
|
D | AudioPlaybackConfigurationTest.java | 209 MyAudioPlaybackCallback callback = new MyAudioPlaybackCallback(); in doTestCallbackMediaPlayer() local 224 am.registerAudioPlaybackCallback(callback, h /*handler*/); in doTestCallbackMediaPlayer() 225 registeredCallback = callback; in doTestCallbackMediaPlayer() 231 assertPlayerStartAndCallbackWithPlayerAttributes(mMp, callback, in doTestCallbackMediaPlayer() 236 callback.reset(); in doTestCallbackMediaPlayer() 241 1/*expected*/, callback.getCbInvocationNumber());//only 1 pause call since reset in doTestCallbackMediaPlayer() 243 nbActivePlayersBeforeStart/*expected*/, callback.getNbConfigs()); in doTestCallbackMediaPlayer() 246 am.unregisterAudioPlaybackCallback(callback); in doTestCallbackMediaPlayer() 249 callback.reset(); in doTestCallbackMediaPlayer() 253 0/*expected*/, callback.getCbInvocationNumber()); //callback is unregistered in doTestCallbackMediaPlayer() [all …]
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | RangingSessionTest.java | 62 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingOpened_OnOpenSuccessCalled() local 64 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnOpenSuccessCalled() 71 verify(callback, times(1)).onOpened(eq(session)); in testOnRangingOpened_OnOpenSuccessCalled() 72 verify(callback, times(0)).onClosed(anyInt(), any()); in testOnRangingOpened_OnOpenSuccessCalled() 78 RangingSession.Callback callback = mock(RangingSession.Callback.class); in testOnRangingOpened_CannotOpenClosedSession() local 80 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_CannotOpenClosedSession() 84 verify(callback, times(1)).onOpened(eq(session)); in testOnRangingOpened_CannotOpenClosedSession() 85 verify(callback, times(0)).onClosed(anyInt(), any()); in testOnRangingOpened_CannotOpenClosedSession() 89 verify(callback, times(1)).onOpened(eq(session)); in testOnRangingOpened_CannotOpenClosedSession() 90 verify(callback, times(1)).onClosed(anyInt(), any()); in testOnRangingOpened_CannotOpenClosedSession() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsAnimationImeTests.java | 90 MultiAnimCallback callback = mock(MultiAnimCallback.class, in testAnimationCallbacks_overlapping_opposite() local 95 mActivity.mView.setWindowInsetsAnimationCallback(callback); in testAnimationCallbacks_overlapping_opposite() 102 waitForOrFail("Waiting until IME animation starts", () -> callback.imeAnim != null); in testAnimationCallbacks_overlapping_opposite() 103 waitForOrFail("Waiting until animation done", () -> callback.runningAnims.isEmpty()); in testAnimationCallbacks_overlapping_opposite() 110 InOrder inOrderBar = inOrder(callback, mActivity.mListener); in testAnimationCallbacks_overlapping_opposite() 111 InOrder inOrderIme = inOrder(callback, mActivity.mListener); in testAnimationCallbacks_overlapping_opposite() 113 inOrderBar.verify(callback).onPrepare(eq(callback.statusBarAnim)); in testAnimationCallbacks_overlapping_opposite() 119 inOrderBar.verify(callback).onStart(eq(callback.statusBarAnim), argThat( in testAnimationCallbacks_overlapping_opposite() 123 inOrderIme.verify(callback).onPrepare(eq(callback.imeAnim)); in testAnimationCallbacks_overlapping_opposite() 127 inOrderIme.verify(callback).onStart(eq(callback.imeAnim), argThat( in testAnimationCallbacks_overlapping_opposite() [all …]
|
D | WindowInsetsAnimationTests.java | 116 MultiAnimCallback callback = mock(MultiAnimCallback.class, in testAnimationCallbacks_overlapping() local 121 mActivity.mView.setWindowInsetsAnimationCallback(callback); in testAnimationCallbacks_overlapping() 122 callback.startRunnable = () -> mRootView.postDelayed( in testAnimationCallbacks_overlapping() 128 waitForOrFail("Waiting until animation done", () -> callback.animationDone); in testAnimationCallbacks_overlapping() 132 InOrder inOrder = inOrder(callback, mActivity.mListener); in testAnimationCallbacks_overlapping() 134 inOrder.verify(callback).onPrepare(eq(callback.navBarAnim)); in testAnimationCallbacks_overlapping() 140 inOrder.verify(callback).onStart(eq(callback.navBarAnim), argThat( in testAnimationCallbacks_overlapping() 144 inOrder.verify(callback).onPrepare(eq(callback.statusBarAnim)); in testAnimationCallbacks_overlapping() 148 inOrder.verify(callback).onStart(eq(callback.statusBarAnim), argThat( in testAnimationCallbacks_overlapping() 152 inOrder.verify(callback).onEnd(eq(callback.navBarAnim)); in testAnimationCallbacks_overlapping() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | FakeCarrierMessagingService.java | 33 int subId, ResultCallback<Integer> callback) { in onReceiveTextSms() argument 35 callback.onReceiveResult(CarrierMessagingService.RECEIVE_OPTIONS_DEFAULT); in onReceiveTextSms() 42 int sendSmsFlag, ResultCallback<SendSmsResult> callback) { in onSendTextSms() argument 44 callback.onReceiveResult(new SendSmsResult(SEND_STATUS_OK, FAKE_MESSAGE_REF)); in onSendTextSms() 51 int destPort, int sendSmsFlag, ResultCallback<SendSmsResult> callback) { in onSendDataSms() argument 53 callback.onReceiveResult(new SendSmsResult(SEND_STATUS_OK, FAKE_MESSAGE_REF)); in onSendDataSms() 61 ResultCallback<SendMultipartSmsResult> callback) { in onSendMultipartTextSms() argument 63 callback.onReceiveResult(new SendMultipartSmsResult( in onSendMultipartTextSms() 71 ResultCallback<SendMmsResult> callback) { in onSendMms() argument 73 callback.onReceiveResult(new SendMmsResult( in onSendMms() [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | QuickAccessWalletClientTest.java | 136 TestCallback callback = new TestCallback(); in testGetWalletCards_success() local 138 client.getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_success() 140 callback.await(3, TimeUnit.SECONDS); in testGetWalletCards_success() 141 assertThat(callback.mResponse).isNotNull(); in testGetWalletCards_success() 142 assertThat(callback.mResponse.getWalletCards()).hasSize(1); in testGetWalletCards_success() 143 assertThat(callback.mError).isNull(); in testGetWalletCards_success() 152 TestCallback callback = new TestCallback(); in testGetWalletCards_failsIfNoServiceAvailable() local 154 client.getWalletCards(GET_WALLET_CARDS_REQUEST, callback); in testGetWalletCards_failsIfNoServiceAvailable() 156 callback.await(3, TimeUnit.SECONDS); in testGetWalletCards_failsIfNoServiceAvailable() 157 assertThat(callback.mResponse).isNull(); in testGetWalletCards_failsIfNoServiceAvailable() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 216 final Animatable2Callback callback = new Animatable2Callback(); in testReset() local 220 d1.registerAnimationCallback(callback); in testReset() 224 waitForAVDStop(callback, MAX_TIMEOUT_MS); in testReset() 231 final Animatable2Callback callback = new Animatable2Callback(); in testStop() local 235 d1.registerAnimationCallback(callback); in testStop() 239 waitForAVDStop(callback, MAX_TIMEOUT_MS); in testStop() 246 final Animatable2Callback callback = new Animatable2Callback(); in testAddCallbackBeforeStart() local 252 d1.registerAnimationCallback(callback); in testAddCallbackBeforeStart() 255 callback.waitForStart(); in testAddCallbackBeforeStart() 256 waitForAVDStop(callback, MAX_TIMEOUT_MS); in testAddCallbackBeforeStart() [all …]
|
D | ColorStateListDrawableTest.java | 176 final TestCallback callback = new TestCallback(); in testInvalidationCallbackProxy() local 177 mDrawable.setCallback(callback); in testInvalidationCallbackProxy() 179 callback.mInvalidatedDrawable = null; in testInvalidationCallbackProxy() 181 assertEquals(mDrawable, callback.mInvalidatedDrawable); in testInvalidationCallbackProxy() 183 callback.mInvalidatedDrawable = null; in testInvalidationCallbackProxy() 185 assertEquals(mDrawable, callback.mInvalidatedDrawable); in testInvalidationCallbackProxy() 192 final TestCallback callback = new TestCallback(); in testScheduleCallbackProxy() local 193 mDrawable.setCallback(callback); in testScheduleCallbackProxy() 196 assertEquals(mDrawable, callback.mScheduledDrawable); in testScheduleCallbackProxy() 197 assertEquals(runnable, callback.mScheduledRunnable); in testScheduleCallbackProxy() [all …]
|
/cts/tests/tests/permission5/BlamedPermissionApp2/src/android/permission5/cts/blamed2/ |
D | MyRecognitionService.kt | 32 override fun onStartListening(intent: Intent, callback: Callback) { in onStartListening() 35 performOperationMicRecoWithAttribution(callback) in onStartListening() 39 performOperationInjectRecoWithoutAttribution(callback) in onStartListening() 45 override fun onStopListening(callback: Callback) {} in onStopListening() 47 override fun onCancel(callback: Callback) { in onCancel() 53 callback.bufferReceived(ByteArray(0)) in onCancel() 57 fun performOperationMicRecoWithAttribution(callback: Callback) { in performOperationMicRecoWithAttribution() 59 .setNextAttributionSource(callback.callingAttributionSource) in performOperationMicRecoWithAttribution() 81 callback.bufferReceived(ByteArray(0)) in performOperationMicRecoWithAttribution() 86 fun performOperationInjectRecoWithoutAttribution(callback: Callback) { in performOperationInjectRecoWithoutAttribution() [all …]
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestLocationManager.java | 65 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in registerGnssMeasurementCallback() argument 68 mLocationManager.registerGnssMeasurementsCallback(callback); in registerGnssMeasurementCallback() 82 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() argument 86 mLocationManager.registerGnssMeasurementsCallback(callback, handler); in registerGnssMeasurementCallback() 100 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() argument 104 mLocationManager.registerGnssMeasurementsCallback(request, Runnable::run, callback); in registerGnssMeasurementCallback() 118 public void registerGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback, in registerGnssMeasurementCallback() argument 122 mLocationManager.registerGnssMeasurementsCallback(request, Runnable::run, callback); in registerGnssMeasurementCallback() 155 public void unregisterGnssMeasurementCallback(GnssMeasurementsEvent.Callback callback) { in unregisterGnssMeasurementCallback() argument 157 mLocationManager.unregisterGnssMeasurementsCallback(callback); in unregisterGnssMeasurementCallback() [all …]
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BugreportManagerTest.java | 115 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startConnectivityBugreport() local 117 assertThat(callback.hasEarlyReportFinished()).isFalse(); in startConnectivityBugreport() 118 mBugreportManager.startConnectivityBugreport(mBugreportFd, Runnable::run, callback); in startConnectivityBugreport() 120 waitUntilDoneOrTimeout(callback); in startConnectivityBugreport() 122 assertThat(callback.isSuccess()).isTrue(); in startConnectivityBugreport() 123 assertThat(callback.hasEarlyReportFinished()).isTrue(); in startConnectivityBugreport() 124 assertThat(callback.hasReceivedProgress()).isTrue(); in startConnectivityBugreport() 131 BugreportCallbackImpl callback = new BugreportCallbackImpl(); in startConnectivityBugreport_consentDenied() local 133 mBugreportManager.startConnectivityBugreport(mBugreportFd, Runnable::run, callback); in startConnectivityBugreport_consentDenied() 135 waitUntilDoneOrTimeout(callback); in startConnectivityBugreport_consentDenied() [all …]
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | DirectActionsActivity.java | 87 @NonNull Consumer<List<DirectAction>> callback) { in onGetDirectActions() argument 90 callback.accept(Collections.emptyList()); in onGetDirectActions() 101 callback.accept(actions); in onGetDirectActions() 106 CancellationSignal cancellationSignal, Consumer<Bundle> callback) { in onPerformDirectAction() argument 110 reportActionFailed(callback); in onPerformDirectAction() 118 reportActionExecuting(callback); in onPerformDirectAction() 120 reportActionPerformed(callback); in onPerformDirectAction() 124 private void detectDestroyedInteractor(@NonNull RemoteCallback callback) { in detectDestroyedInteractor() argument 149 callback.sendResult(result); in detectDestroyedInteractor() 152 private void invalidateDirectActions(@NonNull RemoteCallback callback) { in invalidateDirectActions() argument [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | AuthenticationTest.java | 71 final MyAutofillCallback callback = mActivity.registerCallback(); in datasetAuthTwoFields() local 99 callback.assertUiShownEvent(username); in datasetAuthTwoFields() 105 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields() 106 callback.assertUiShownEvent(password); in datasetAuthTwoFields() 111 callback.assertUiHiddenEvent(password); in datasetAuthTwoFields() 112 callback.assertUiShownEvent(username); in datasetAuthTwoFields() 119 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields() 120 callback.assertUiShownEvent(username); in datasetAuthTwoFields() 125 callback.assertUiHiddenEvent(username); in datasetAuthTwoFields() 126 callback.assertUiShownEvent(password); in datasetAuthTwoFields() [all …]
|
D | WebViewActivityTest.java | 120 final MyAutofillCallback callback = mActivity.registerCallback(); 133 final int usernameChildId = callback.assertUiShownEventForVirtualChild(myWebView); 135 callback.assertUiHiddenEvent(myWebView, usernameChildId); 138 final int passwordChildId = callback.assertUiShownEventForVirtualChild(myWebView); 145 callback.assertUiHiddenEvent(myWebView, passwordChildId); 241 final MyAutofillCallback callback = mActivity.registerCallback(); 257 final int usernameChildId = callback.assertUiShownEventForVirtualChild(myWebView); 274 callback.assertUiHiddenEvent(myWebView, usernameChildId); 328 final MyAutofillCallback callback = mActivity.registerCallback(); 345 final int usernameChildId = callback.assertUiShownEventForVirtualChild(myWebView); [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | SavedDatasetsInfoTest.java | 67 (callback) -> callback.onError(ERROR_NEEDS_USER_ACTION)); in testError() 71 (callback) -> callback.onError(ERROR_OTHER)); in testError() 78 (callback) -> callback.onSuccess( in testSuccess() 88 (callback) -> callback.onSuccess(Collections.emptySet())); in testSuccess_withoutValidCounts() 91 InstrumentedAutoFillService.setSavedDatasetsInfoReplier((callback) -> in testSuccess_withoutValidCounts() 93 callback.onSuccess( in testSuccess_withoutValidCounts()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricSimpleTests.java | 166 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialNotEnrolled() local 168 showCredentialOnlyBiometricPrompt(callback, new CancellationSignal(), in testWhenCredentialNotEnrolled() 170 verify(callback).onAuthenticationError( in testWhenCredentialNotEnrolled() 177 callback = mock(BiometricPrompt.AuthenticationCallback.class); in testWhenCredentialNotEnrolled() 178 showDeviceCredentialAllowedBiometricPrompt(callback, new CancellationSignal(), in testWhenCredentialNotEnrolled() 180 verify(callback).onAuthenticationError( in testWhenCredentialNotEnrolled() 207 BiometricPrompt.AuthenticationCallback callback = in testWhenCredentialEnrolled() local 209 showCredentialOnlyBiometricPrompt(callback, new CancellationSignal(), in testWhenCredentialEnrolled() 212 verify(callback).onAuthenticationSucceeded(any()); in testWhenCredentialEnrolled() 216 callback = mock(BiometricPrompt.AuthenticationCallback.class); in testWhenCredentialEnrolled() [all …]
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTests.java | 76 final DeviceStateManager.DeviceStateCallback callback in testRequestAllSupportedStates() local 79 manager.registerCallback(Runnable::run, callback); in testRequestAllSupportedStates() 87 verify(callback, atLeastOnce()).onStateChanged(intAgumentCaptor.capture()); in testRequestAllSupportedStates() 133 final StateTrackingCallback callback = new StateTrackingCallback(); in testRequestStateSucceedsAsTopApp() local 134 manager.registerCallback(Runnable::run, callback); in testRequestStateSucceedsAsTopApp() 135 PollingCheck.waitFor(TIMEOUT, () -> callback.mCurrentState != -1); in testRequestStateSucceedsAsTopApp() 146 int newState = determineNewState(callback.mCurrentState, supportedStates); in testRequestStateSucceedsAsTopApp() 149 PollingCheck.waitFor(TIMEOUT, () -> callback.mCurrentState == newState); in testRequestStateSucceedsAsTopApp() 151 assertEquals(newState, callback.mCurrentState); in testRequestStateSucceedsAsTopApp() 168 final StateTrackingCallback callback = new StateTrackingCallback(); in testRequestStateFailsAsBackgroundApp() local [all …]
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | NoOpHotwordDetectionService.java | 40 @NonNull Callback callback) { in onDetect() argument 41 super.onDetect(eventPayload, timeoutMillis, callback); in onDetect() 49 @NonNull Callback callback) { in onDetect() argument 50 super.onDetect(audioStream, audioFormat, options, callback); in onDetect() 54 public void onDetect(@NonNull Callback callback) { in onDetect() argument 55 super.onDetect(callback); in onDetect()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 121 final CameraDevice.StateCallback callback = mock(CameraDevice.StateCallback.class); in assertCameraAccess() local 125 cameraManager.openCamera(cameraId, callback, handler); in assertCameraAccess() 139 verify(callback, timeout(CAMERA_OPERATION_TIMEOUT_MILLIS) in assertCameraAccess() 141 verifyNoMoreInteractions(callback); in assertCameraAccess() 144 verify(callback, timeout(CAMERA_OPERATION_TIMEOUT_MILLIS) in assertCameraAccess() 147 verifyNoMoreInteractions(callback); in assertCameraAccess() 159 final CameraDevice.StateCallback callback = mock(CameraDevice.StateCallback.class); in testCameraAccessBecomingInactiveUidByCamera() local 163 mCameraManager.openCamera(cameraId, callback, handler); in testCameraAccessBecomingInactiveUidByCamera() 172 verify(callback, timeout(CAMERA_OPERATION_TIMEOUT_MILLIS) in testCameraAccessBecomingInactiveUidByCamera() 174 verifyNoMoreInteractions(callback); in testCameraAccessBecomingInactiveUidByCamera() [all …]
|
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/ |
D | MyReceiver.java | 35 final Consumer<Intent>callback = sCallback.get(); in onReceive() local 36 if (callback != null) { in onReceive() 37 callback.accept(intent); in onReceive() 41 public static void setCallback(Consumer<Intent> callback) { in setCallback() argument 42 sCallback.set(callback); in setCallback()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | Player.java | 132 public void addBufferCallback(BufferCallback callback) { in addBufferCallback() argument 133 mCallbacks.add(callback); in addBufferCallback() 140 public void removeBufferCallback(BufferCallback callback) { in removeBufferCallback() argument 141 mCallbacks.remove(callback); in removeBufferCallback() 148 for (BufferCallback callback : mCallbacks) { in onPull() 149 callback.onPull(); in onPull()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConferenceTest.java | 226 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_StateChange() local 228 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_StateChange() 235 mRemoteConferenceObject.registerCallback(callback, handler); in testRemoteConferenceCallbacks_StateChange() 241 mRemoteConferenceObject.unregisterCallback(callback); in testRemoteConferenceCallbacks_StateChange() 256 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_Disconnect() local 258 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_Disconnect() 266 mRemoteConferenceObject.registerCallback(callback, handler); in testRemoteConferenceCallbacks_Disconnect() 272 mRemoteConferenceObject.unregisterCallback(callback); in testRemoteConferenceCallbacks_Disconnect() 287 RemoteConference.Callback callback; in testRemoteConferenceCallbacks_ConnectionAdd() local 289 callback = new RemoteConference.Callback() { in testRemoteConferenceCallbacks_ConnectionAdd() [all …]
|
D | RemoteConnectionTest.java | 264 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_StateChange() local 266 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_StateChange() 273 mRemoteConnectionObject.registerCallback(callback, handler); in testRemoteConnectionCallbacks_StateChange() 278 mRemoteConnectionObject.unregisterCallback(callback); in testRemoteConnectionCallbacks_StateChange() 290 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_RingbackRequest() local 292 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_RingbackRequest() 299 mRemoteConnectionObject.registerCallback(callback, handler); in testRemoteConnectionCallbacks_RingbackRequest() 304 mRemoteConnectionObject.unregisterCallback(callback); in testRemoteConnectionCallbacks_RingbackRequest() 316 RemoteConnection.Callback callback; in testRemoteConnectionCallbacks_ConnectionCapabilities() local 318 callback = new RemoteConnection.Callback() { in testRemoteConnectionCallbacks_ConnectionCapabilities() [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 390 private int swipeBigX(Rect viewBoundary, BiConsumer<Point, Point> callback) { in swipeBigX() argument 396 if (callback != null) { in swipeBigX() 397 callback.accept(new Point(theLeftestLine, theToppestLine), in swipeBigX() 402 if (callback != null) { in swipeBigX() 403 callback.accept(new Point(theRightestLine, theToppestLine), in swipeBigX() 412 Consumer<Point> callback) { in clickAllOfHorizontalSamplePoints() argument 419 if (callback != null) { in clickAllOfHorizontalSamplePoints() 420 callback.accept(new Point(i, y)); in clickAllOfHorizontalSamplePoints() 426 if (callback != null) { in clickAllOfHorizontalSamplePoints() 427 callback.accept(new Point(theRightestLine, y)); in clickAllOfHorizontalSamplePoints() [all …]
|