Home
last modified time | relevance | path

Searched refs:setCallback (Results 1 – 25 of 86) 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/apps/Settings/src/com/android/settings/display/
DNightDisplayPreference.java46 mNightDisplayListener.setCallback(this); in onAttached()
57 mNightDisplayListener.setCallback(null); in onDetached()
DNightDisplaySettings.java70 mNightDisplayListener.setCallback(this); in onStart()
78 mNightDisplayListener.setCallback(null); in onStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayPreference.java46 mNightDisplayListener.setCallback(this); in onAttached()
57 mNightDisplayListener.setCallback(null); in onDetached()
DNightDisplaySettings.java70 mNightDisplayListener.setCallback(this); in onStart()
78 mNightDisplayListener.setCallback(null); in onStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVolumeSeekBarPreferenceController.java49 public void setCallback(Callback callback) { in setCallback() method in VolumeSeekBarPreferenceController
58 mPreference.setCallback(mVolumePreferenceCallback); in displayPreference()
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
DSoundSettings.java185 use(HandsFreeProfileOutputPreferenceController.class).setCallback(listPreference -> in onAttach()
191 controller.setCallback(mVolumeCallback); in onAttach()
/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()
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
DSoundSettings.java185 use(HandsFreeProfileOutputPreferenceController.class).setCallback(listPreference -> in onAttach()
191 controller.setCallback(mVolumeCallback); in onAttach()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DNightDisplayConditionController.java91 mNightDisplayListener.setCallback(this); in startMonitoringStateChange()
96 mNightDisplayListener.setCallback(null); in stopMonitoringStateChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DNightDisplayConditionController.java91 mNightDisplayListener.setCallback(this); in startMonitoringStateChange()
96 mNightDisplayListener.setCallback(null); in stopMonitoringStateChange()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DIconView.java58 mDrawable.setCallback(null); in setDrawable()
62 mDrawable.setCallback(this); in setDrawable()
/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/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/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java128 mCenterDrawable.setCallback(null); in reapplyItemInfo()
152 mCenterDrawable.setCallback(this); in reapplyItemInfo()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java123 layer.mDrawable.setCallback(this); in createChildDrawable()
392 layer.mDrawable.setCallback(this); in inflateLayers()
744 clone.setCallback(owner); in ChildDrawable()
/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

1234