Home
last modified time | relevance | path

Searched defs:listener (Results 1 – 25 of 168) sorted by relevance

1234567

/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java93 final ViewTreeObserver.OnGlobalFocusChangeListener listener = in testAddOnGlobalFocusChangeListener() local
106 final ViewTreeObserver.OnGlobalLayoutListener listener = in testAddOnGlobalLayoutListener() local
117 final ViewTreeObserver.OnPreDrawListener listener = in testAddOnPreDrawListener() local
128 final ViewTreeObserver.OnDrawListener listener = in testAddOnDrawListener() local
155 final ViewTreeObserver.OnDrawListener listener = in testRemoveOnDrawListenerInDispatch() local
173 final ViewTreeObserver.OnTouchModeChangeListener listener = in testAddOnTouchModeChangeListener() local
194 final ViewTreeObserver.OnGlobalLayoutListener listener = in testRemoveGlobalOnLayoutListener() local
214 final ViewTreeObserver.OnGlobalLayoutListener listener = in testRemoveOnGlobalLayoutListener() local
238 final ViewTreeObserver.OnGlobalFocusChangeListener listener = in testRemoveOnGlobalFocusChangeListener() local
260 final ViewTreeObserver.OnPreDrawListener listener = in testRemoveOnPreDrawListener() local
[all …]
DOrientationListenerTest.java54 MockOrientationListener listener = new MockOrientationListener(mContext); in testRegisterationOfOrientationListener() local
72 MockOrientationListener listener = new MockOrientationListener(mContext); in testOnSensorChanged() local
89 MockOrientationListener listener = new MockOrientationListener(mContext); in testOnOrientationChanged() local
DOrientationEventListenerTest.java56 MyOrientationEventListener listener = new MyOrientationEventListener(mContext); in testEnableAndDisable() local
67 MyOrientationEventListener listener = new MyOrientationEventListener(mContext); in testCanDetectOrientation() local
DViewStubTest.java95 final ViewStub.OnInflateListener listener = mock(ViewStub.OnInflateListener.class); in testSetVisibility() local
161 final ViewStub.OnInflateListener listener = mock(ViewStub.OnInflateListener.class); in testSetOnInflateListener() local
198 final ViewStub.OnInflateListener listener = mock(ViewStub.OnInflateListener.class); in testInflate() local
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainRecognitionService.java36 protected void onStartListening(Intent recognizerIntent, Callback listener) { in onStartListening()
41 protected void onCancel(Callback listener) { in onCancel()
46 protected void onStopListening(Callback listener) { in onStopListening()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java94 AutoFocusListener listener, CameraCharacteristics staticInfo, Handler handler) in Camera2Focuser()
218 CaptureCallback listener = createCaptureListener(); in cancelAutoFocus() local
219 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in cancelAutoFocus() local
220 mSession.capture(requestBuilder.build(), listener, mHandler); in cancelAutoFocus() local
255 CaptureCallback listener = createCaptureListener(); in startAutoFocusLocked() local
256 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
257 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusLocked() local
279 CaptureCallback listener = createCaptureListener(); in startAutoFocusFullActiveLocked() local
280 mSession.setRepeatingRequest(mRepeatingBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
281 mSession.capture(requestBuilder.build(), listener, mHandler); in startAutoFocusFullActiveLocked() local
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DSurfaceTextureGLSurfaceView.java32 public SurfaceTextureGLSurfaceView(Context context, OnSurfaceChangedListener listener) { in SurfaceTextureGLSurfaceView()
37 OnSurfaceChangedListener listener) { in SurfaceTextureGLSurfaceView()
43 private void init(OnSurfaceChangedListener listener) { in init()
/cts/tests/tests/widget/src/android/widget/cts/
DRadioGroupTest.java87 MockOnHierarchyChangeListener listener = new MockOnHierarchyChangeListener(); in testSetOnHierarchyChangeListener() local
129 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testInternalCheckedStateTracker() local
178 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testClearCheck() local
216 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testCheck() local
262 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testSetOnCheckedChangeListener() local
370 MockOnCheckedChangeListener listener = new MockOnCheckedChangeListener(); in testOnFinishInflate() local
435 private void assertHaveNotCalledOnCheckedChanged(MockOnCheckedChangeListener listener) { in assertHaveNotCalledOnCheckedChanged()
440 private void assertHasCalledOnCheckedChanged(MockOnCheckedChangeListener listener) { in assertHasCalledOnCheckedChanged()
445 private void assertOnCheckedChangedParams(MockOnCheckedChangeListener listener, int time, in assertOnCheckedChangedParams()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerActivity.java38 public synchronized void addPrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in addPrimaryClipChangedListener()
42 … public synchronized void removePrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in removePrimaryClipChangedListener()
/cts/tests/tests/permission2/src/android/permission2/cts/
DCommandBroadcastReceiver.java35 final OnCommandResultListener listener; in onReceive() local
44 public static void setOnCommandResultListener(@Nullable OnCommandResultListener listener) { in setOnCommandResultListener()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorManager.java72 public void registerListener(TestSensorEventListener listener) { in registerListener()
99 TestSensorEventListener listener, in registerListener()
139 TestSensorEventListener listener, in registerListener()
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java91 PhoneStateListener listener = new PhoneStateListener(executor) { in listenForCellInfo() local
115 PhoneStateListener listener = new PhoneStateListener(executor) { in listenForCellLocation() local
139 PhoneStateListener listener = new PhoneStateListener(executor) { in listenForServiceState() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java110 AccessibilityStateChangeListener listener = (state) -> { in testAddAndRemoveAccessibilityStateChangeListener() local
120 TouchExplorationStateChangeListener listener = (boolean enabled) -> { in testAddAndRemoveTouchExplorationStateChangeListener() local
297 TouchExplorationStateChangeListener listener = (boolean b) -> { in testTouchExplorationListenerNoHandler() local
323 TouchExplorationStateChangeListener listener = (boolean b) -> { in testTouchExplorationListenerWithHandler() local
349 AccessibilityStateChangeListener listener = (boolean b) -> { in testAccessibilityStateListenerNoHandler() local
374 AccessibilityStateChangeListener listener = (boolean b) -> { in testAccessibilityStateListenerWithHandler() local
500 AccessibilityStateChangeListener listener = (boolean b) -> { in waitForAccessibilityEnabled() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DEventSanitizationTestActivity.java76 final TriggerEventListener listener = new TriggerEventListener() { in testNoTriggerEventsWhileUidIdle() local
120 final SensorEventListener listener = new SensorEventListener() { in testNoOnChangeEventsWhileUidIdle() local
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java186 CaptureCallback listener, Handler handler) throws Exception { in startCapture()
236 protected void openDevice(String cameraId, BlockingStateCallback listener) throws Exception { in openDevice()
302 protected void closeDevice(String cameraId, BlockingStateCallback listener) { in closeDevice()
339 ImageReader.OnImageAvailableListener listener) throws Exception { in createDefaultImageReader()
364 ImageReader.OnImageAvailableListener listener) throws Exception { in createDefaultImageReader()
384 ImageReader.OnImageAvailableListener listener) throws Exception { in createImageReader()
408 ImageReader.OnImageAvailableListener listener) throws Exception { in createImageReader()
DCamera2MultiViewTestCase.java255 String cameraId, List<Surface> outputSurfaces, CaptureCallback listener) in startPreview()
264 CaptureCallback listener) in startPreviewWithConfigs()
284 CaptureCallback listener) throws Exception { in finalizeOutputConfigs()
291 CaptureCallback listener) throws Exception { in updateRepeatingRequest()
311 protected void capture(String cameraId, CaptureRequest request, CaptureCallback listener) in capture()
508 public void startPreview(List<Surface> outputSurfaces, CaptureCallback listener) in startPreview()
523 mSession.setRepeatingRequest(captureBuilder.build(), listener, mHandler); in startPreview() local
547 CaptureCallback listener) in startPreviewWithConfigs()
566 CaptureCallback listener) throws Exception { in updateRepeatingRequest()
588 public void capture(CaptureRequest request, CaptureCallback listener) in capture()
[all …]
DCamera2SurfaceViewTestCase.java208 CaptureCallback listener) throws Exception { in startPreview()
217 mSession.setRepeatingRequest(request.build(), listener, mHandler); in startPreview() local
357 protected static <T> void waitForResultValue(SimpleCaptureCallback listener, in waitForResultValue()
380 protected static <T> void waitForAnyResultValue(SimpleCaptureCallback listener, in waitForAnyResultValue()
408 CaptureRequest request, int count, CaptureCallback listener, Handler handler) in captureRequestsSynchronizedBurst()
433 CaptureRequest request, CaptureCallback listener, Handler handler) in captureRequestsSynchronized()
461 CaptureRequest request, int count, CaptureCallback listener, Handler handler) in captureRequestsSynchronized()
556 ImageReader.OnImageAvailableListener listener) throws Exception { in createImageReader()
891 CaptureRequest request, int count, CaptureCallback listener, Handler handler, in captureRequestsSynchronizedImpl()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNgTestExecutor.java53 SingleTestNGTestRunListener listener = new SingleTestNGTestRunListener(); in execute() local
73 SingleTestNGTestRunListener listener) { in createTestNG()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DSingleTestNgTestExecutor.java53 SingleTestNGTestRunListener listener = new SingleTestNGTestRunListener(); in execute() local
73 SingleTestNGTestRunListener listener) { in createTestNG()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DIntentSenderActivity.java102 public void addPrimaryClipChangedListener(OnPrimaryClipChangedListener listener) { in addPrimaryClipChangedListener()
107 OnPrimaryClipChangedListener listener) { in removePrimaryClipChangedListener()
/cts/tests/tests/media/src/android/media/cts/
DRemoteControllerTest.java59 static OnClientUpdateListener listener = new OnClientUpdateListener() { field in RemoteControllerTest
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DOwnerChangedBroadcastTest.java48 OnSharedPreferenceChangeListener listener = new OnSharedPreferenceChangeListener() { in testOwnerChangedBroadcastReceived() local
/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java81 protected static void waitForStart(Transition.TransitionListener listener) { in waitForStart()
90 protected static void waitForEnd(Transition.TransitionListener listener, long waitMillis) { in waitForEnd()
160 ViewTreeObserver.OnDrawListener listener = new ViewTreeObserver.OnDrawListener() { in captureTranslations() local

1234567