Lines Matching defs:wrappedCallback
39 private Map<OnAppsChangedCallbackCompat, WrappedCallback> mCallbacks
40 = new HashMap<OnAppsChangedCallbackCompat, WrappedCallback>();
81 WrappedCallback wrappedCallback = new WrappedCallback(callback);
83 mCallbacks.put(callback, wrappedCallback);
85 mLauncherApps.registerCallback(wrappedCallback);
90 WrappedCallback wrappedCallback = null;
92 wrappedCallback = mCallbacks.remove(callback);
94 if (wrappedCallback != null) {
95 mLauncherApps.unregisterCallback(wrappedCallback);
107 private static class WrappedCallback extends LauncherApps.Callback {
110 public WrappedCallback(LauncherAppsCompat.OnAppsChangedCallbackCompat callback) {