Home
last modified time | relevance | path

Searched refs:Callbacks (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DRuntimeDataSupplier.java51 private @Nullable Callbacks mDocCallbacks;
52 private @Nullable Callbacks mDirCallbacks;
83 mDocCallbacks = new Callbacks(mContext, uri, callback); in loadDocInfo()
105 mDirCallbacks = new Callbacks(mContext, children, callback); in loadDirCount()
160 static final class Callbacks implements LoaderCallbacks<Cursor> { class in RuntimeDataSupplier
167 Callbacks(Context context, Uri uri, Consumer<Cursor> callback) { in Callbacks() method in RuntimeDataSupplier.Callbacks
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java46 import com.android.launcher3.model.BgDataModel.Callbacks;
100 @Thunk WeakReference<Callbacks> mCallbacks;
148 Callbacks callbacks = getCallback(); in addAndBindAddedWorkspaceItems()
163 public void initialize(Callbacks callbacks) { in initialize()
313 Callbacks callbacks = getCallback(); in forceReload()
322 public boolean isCurrentCallbacks(Callbacks callbacks) { in isCurrentCallbacks()
336 final Callbacks oldCallbacks = mCallbacks.get(); in startLoader()
487 void execute(Callbacks callbacks); in execute()
550 public Callbacks getCallback() { in getCallback()
/packages/apps/Car/Media/src/com/android/car/media/
DBrowseFragment.java68 private final Callbacks mCallbacks;
103 public interface Callbacks { interface in BrowseFragment
149 private Callbacks getParent() { in getParent()
174 public static BrowseFragment newInstance(Callbacks callbacks, ViewGroup container) { in newInstance()
185 static BrowseFragment newSearchInstance(Callbacks callbacks, ViewGroup container) { in newSearchInstance()
220 private BrowseFragment(Callbacks callbacks, ViewGroup container, boolean isSearchFragment) { in BrowseFragment()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLoaderResults.java33 import com.android.launcher3.model.BgDataModel.Callbacks;
62 protected final WeakReference<Callbacks> mCallbacks;
67 AllAppsList allAppsList, int pageToBindFirst, WeakReference<Callbacks> callbacks) { in BaseLoaderResults()
80 Callbacks callbacks = mCallbacks.get(); in bindWorkspace()
294 Callbacks callbacks = mCallbacks.get(); in executeCallbacksTask()
DBaseModelUpdateTask.java25 import com.android.launcher3.model.BgDataModel.Callbacks;
81 final Callbacks callbacks = mModel.getCallback(); in scheduleCallbackTask()
83 Callbacks cb = mModel.getCallback(); in scheduleCallbackTask()
DPackageInstallStateChangedTask.java27 import com.android.launcher3.model.BgDataModel.Callbacks;
101 public void execute(Callbacks callbacks) { in execute()
DAddWorkspaceItemsTask.java32 import com.android.launcher3.model.BgDataModel.Callbacks;
173 public void execute(Callbacks callbacks) { in execute()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DKeyInputHandler.java38 private final Callbacks<DocumentItemDetails> mCallbacks;
43 Callbacks<DocumentItemDetails> callbacks) { in KeyInputHandler()
106 public static abstract class Callbacks<T extends ItemDetails<?>> { class in KeyInputHandler
DInputHandlers.java64 KeyInputHandler.Callbacks<DocumentItemDetails> callbacks = in createKeyHandler()
65 new KeyInputHandler.Callbacks<DocumentItemDetails>() { in createKeyHandler()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java45 protected Callbacks mCb;
59 Launcher launcher, Callbacks cb) { in initialize()
163 public interface Callbacks { interface in AllAppsSearchBarController
/packages/apps/Settings/src/com/android/settings/notification/
DRemoteVolumePreferenceController.java53 MediaSessions.Callbacks mCallbacks = new MediaSessions.Callbacks() {
243 MediaSessions.Callbacks {
DZenModeAllBypassingAppsPreferenceController.java158 private final ApplicationsState.Callbacks mAppSessionCallbacks =
159 new ApplicationsState.Callbacks() {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRemoteVolumePreferenceController.java54 MediaSessions.Callbacks mCallbacks = new MediaSessions.Callbacks() {
225 MediaSessions.Callbacks {
DZenModeAllBypassingAppsPreferenceController.java158 private final ApplicationsState.Callbacks mAppSessionCallbacks =
159 new ApplicationsState.Callbacks() {
/packages/apps/Launcher3/go/src/com/android/launcher3/model/
DLoaderResults.java20 import com.android.launcher3.model.BgDataModel.Callbacks;
30 AllAppsList allAppsList, int pageToBindFirst, WeakReference<Callbacks> callbacks) { in LoaderResults()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DLoaderResults.java20 import com.android.launcher3.model.BgDataModel.Callbacks;
34 AllAppsList allAppsList, int pageToBindFirst, WeakReference<Callbacks> callbacks) { in LoaderResults()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java24 import com.android.launcher3.model.BgDataModel.Callbacks;
68 public Callbacks callbacks;
77 callbacks = mock(Callbacks.class); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DInternalStateHandler.java27 import com.android.launcher3.model.BgDataModel.Callbacks;
112 Callbacks cb = app.getModel().getCallback(); in run()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DManageApplicationsController.java53 private final ApplicationsState.Callbacks mAppSessionCallbacks =
54 new ApplicationsState.Callbacks() {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceController.java47 final ApplicationsState.Callbacks mApplicationStateCallbacks =
48 new ApplicationsState.Callbacks() {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java75 private final ApplicationsState.Callbacks mSessionCallbacks =
76 new ApplicationsState.Callbacks() {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataSaverSummary.java38 import com.android.settingslib.applications.ApplicationsState.Callbacks;
47 implements OnSwitchChangeListener, Listener, Callback, Callbacks {
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverSummary.java38 import com.android.settingslib.applications.ApplicationsState.Callbacks;
47 implements OnSwitchChangeListener, Listener, Callback, Callbacks {
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/premiumsms/
DPremiumSmsAccess.java45 import com.android.settingslib.applications.ApplicationsState.Callbacks;
56 implements Callback, Callbacks, OnPreferenceChangeListener {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/premiumsms/
DPremiumSmsAccess.java45 import com.android.settingslib.applications.ApplicationsState.Callbacks;
56 implements Callback, Callbacks, OnPreferenceChangeListener {

123