Home
last modified time | relevance | path

Searched refs:setCallback (Results 1 – 25 of 88) sorted by relevance

1234

/packages/apps/TV/common/src/com/android/tv/common/compat/
DTvViewCompat.java55 public void setCallback(TvInputCallback callback) { in setCallback() method in TvViewCompat
56 super.setCallback(callback); in setCallback()
59 mTvViewCompatProcessor.setCallback(compatEvents); in setCallback()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceControllerTest.java70 verify(mPreference).setCallback(mCallback); in displayPreference_available_shouldUpdatePreference()
82 verify(mPreference, never()).setCallback(any(VolumeSeekBarPreference.Callback.class)); in displayPreference_notAvailable_shouldNotUpdatePreference()
162 setCallback(callback); in VolumeSeekBarPreferenceControllerTestable()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DGenericOneCameraImpl.java103 mAFStateListenable.setCallback(new Callback<Integer>() { in setFocusStateListener()
123 mFocusStateListenable.setCallback(new Callback<FocusState>() { in setFocusDistanceListener()
147 mReadyStateListenable.setCallback(new FilteredCallback<>(readyStateCallback)); in setReadyStateChangedListener()
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
DPictureManagerTest.java118 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureUpload()
176 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureUploadWithAuthRefresh()
215 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureDownload()
254 verify(mockPictureTransfer).setCallback(callbackCaptor.capture()); in testPictureDownloadWithAuthRefresh()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreferenceController.java49 public void setCallback(Callback callback) { in setCallback() method in VolumeSeekBarPreferenceController
58 mPreference.setCallback(mVolumePreferenceCallback); in displayPreference()
DSoundSettings.java189 use(HandsFreeProfileOutputPreferenceController.class).setCallback(listPreference -> in onAttach()
195 controller.setCallback(mVolumeCallback); in onAttach()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DIconView.java48 mDrawable.setCallback(null); in setDrawable()
52 mDrawable.setCallback(this); in setDrawable()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DNightDisplayConditionController.java91 mNightDisplayListener.setCallback(this); in startMonitoringStateChange()
96 mNightDisplayListener.setCallback(null); in stopMonitoringStateChange()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayPreferenceController.java61 mNightDisplayListener.setCallback(this); in onStart()
67 mNightDisplayListener.setCallback(null); in onStop()
DNightDisplaySettings.java65 mNightDisplayListener.setCallback(this); in onStart()
73 mNightDisplayListener.setCallback(null); in onStop()
/packages/apps/Calendar/src/com/android/calendar/
DMultiStateButton.java145 mButtonDrawable.setCallback(null); in setButtonDrawable()
148 d.setCallback(this); in setButtonDrawable()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java144 public void setCallback(@Nullable TvInputCallbackCompat callback) { in setCallback() method in DvrTvView
146 mTvView.setCallback(callback); in setCallback()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java99 mStart.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
121 mEnd.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
272 public void setCallback(Callback callback) { in setCallback() method in ZenModeScheduleRuleSettings.TimePickerPreference
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DClusterHalServiceTest.java103 mClusterHalService.setCallback(mHalEventListener); in setUp()
193 mClusterHalService.setCallback(null); in testOnSwitchUi_noListener()
258 mClusterHalService.setCallback(null); in testOnDisplayState_noListener()
/packages/apps/Settings/src/com/android/settings/gestures/
DOneHandedSettingsUtils.java262 mSettingsObserver.setCallback(callback); in registerToggleAwareObserver()
280 private void setCallback(TogglesCallback callback) { in setCallback() method in OneHandedSettingsUtils.SettingsObserver
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java123 setCallback(null); in DvrPlayer()
264 public void setCallback(DvrPlayerCallback callback) { in setCallback() method in DvrPlayer
474 mTvView.setCallback( in setTvViewCallbacks()
DDvrPlaybackMediaSessionHelper.java63 mDvrPlayer.setCallback( in DvrPlaybackMediaSessionHelper()
172 mMediaSession.setCallback(new MediaSessionCallback()); in initializeMediaSession()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java73 newFragment.setCallback(callback); in show()
196 public void setCallback(Callback callback) { in setCallback() method in BlockNumberDialogFragment
/packages/services/Car/experimental/experimental_api/src/android/car/experimental/
DIDriverAwarenessSupplier.aidl32 void setCallback(IDriverAwarenessSupplierCallback callback) = 1;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java225 sBluetoothMediaBrowserService.mSession.setCallback(callback); in addressedPlayerChanged()
333 sBluetoothMediaBrowserService.mSession.setCallback(null); in reset()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java147 mCenterDrawable.setCallback(null); in reapplyItemInfo()
180 mCenterDrawable.setCallback(this); in reapplyItemInfo()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java119 mClusterHalService.setCallback(this); in init()
172 mClusterHalService.setCallback(null); in release()
/packages/apps/Camera2/src/com/android/camera/async/
DListenable.java43 public void setCallback(final Callback<T> callback) { in setCallback() method in Listenable
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInterface.java73 void setCallback(MyCameraCallback callback); in setCallback() method
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureManager.java146 transfer.setCallback(new CallComposerPictureTransfer.PictureCallback() { in handleUploadToServer()
197 transfer.setCallback(new CallComposerPictureTransfer.PictureCallback() { in handleDownloadFromServer()

1234