/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPresenter.java | 33 public interface Callback { 47 * @return true if the Callback will handle presenting the submenu, false if 83 * Set a callback object that will be notified of menu events 85 * @param cb Callback that will be notified of future events 87 public void setCallback(Callback cb); 91 * has been selected. An active Callback should be notified, and 102 * of the menu indicated as necessary and notify a registered callback.
|
/frameworks/base/core/java/com/android/internal/widget/ |
DecorContentParent.java | 32 void setWindowCallback(Window.Callback cb); 48 void setMenu(Menu menu, MenuPresenter.Callback cb);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
FakeBluetoothController.java | 21 import com.android.systemui.statusbar.policy.BluetoothController.Callback; 25 public class FakeBluetoothController extends BaseLeakChecker<Callback> implements
|
FakeZenModeController.java | 24 import com.android.systemui.statusbar.policy.ZenModeController.Callback; 26 public class FakeZenModeController extends BaseLeakChecker<Callback> implements ZenModeController {
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
MenuPresenter.java | 38 interface Callback { 52 * @return true if the Callback will handle presenting the submenu, false if 88 * Set a callback object that will be notified of menu events 90 * @param cb Callback that will be notified of future events 92 void setCallback(Callback cb); 96 * has been selected. An active Callback should be notified, and 107 * of the menu indicated as necessary and notify a registered callback.
|
/frameworks/support/wear/src/android/support/wear/widget/ |
SwipeDismissFrameLayout.java | 32 * <p>At least one listener must be {@link #addCallback(Callback) added} to act on a dismissal 50 /** Implement this callback to act on particular stages of the dismissal. */ 52 public abstract static class Callback { 57 * If any one instance of this Callback returns false for a given set of coordinates, 60 * @param layout The layout associated with this callback. 75 * @param layout The layout associated with this callback. 83 * @param layout The layout associated with this callback. 91 * @param layout The layout associated with this callback. 103 private final ArrayList<Callback> mCallbacks = new ArrayList<>(); 182 /** Adds a callback for dismissal. * [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSCallbackHandlerProtectionTest.java | 28 import javax.security.auth.callback.Callback; 29 import javax.security.auth.callback.CallbackHandler; 30 import javax.security.auth.callback.UnsupportedCallbackException; 56 public void handle(Callback[] callbacks) throws IOException,
|
/packages/apps/Camera2/src/com/android/camera/async/ |
Listenable.java | 19 import com.android.camera.util.Callback; 23 * overwrite any existing callback. 41 * Sets the callback, removing any existing callback first. 43 public void setCallback(final Callback<T> callback) { 49 // Unregister any existing callback 55 callback.onCallback(mState.get()); 68 // Unregister any existing callback
|
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalFilmstripDataAdapter.java | 23 import com.android.camera.util.Callback; 55 public void requestLoad(Callback<Void> onDone);
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
SingleMessageHandler.java | 20 import android.os.Handler.Callback; 30 public abstract class SingleMessageHandler<EventType> implements Callback {
|
/external/v8/src/heap/ |
remembered-set.h | 87 // Iterates and filters the remembered set with the given callback. 88 // The callback should take (Address slot) and return SlotCallbackResult. 89 template <typename Callback> 90 static void Iterate(Heap* heap, Callback callback) { 92 heap, [callback](MemoryChunk* chunk) { Iterate(chunk, callback); }); 96 // The callback should take (MemoryChunk* chunk) and return void. 97 template <typename Callback> 98 static void IterateMemoryChunks(Heap* heap, Callback callback) [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
TestGnssMeasurementListener.java | 33 class TestGnssMeasurementListener extends GnssMeasurementsEvent.Callback { 89 case GnssMeasurementsEvent.Callback.STATUS_NOT_SUPPORTED: 98 case GnssMeasurementsEvent.Callback.STATUS_READY: 100 case GnssMeasurementsEvent.Callback.STATUS_LOCATION_DISABLED: 110 Assert.fail("GnssMeasurementsEvent status callback was not received.");
|
/external/autotest/client/deps/glbench/src/ |
glinterfacetest.h | 5 #include "base/callback.h" 27 // Callback for GL rendering function to be run before GLX/EGL calls. 28 base::Callback<void(void)> render_func_;
|
/external/libbrillo/brillo/dbus/ |
async_event_sequencer.h | 28 // void Init(const base::Callback<void(bool success)> cb) { 41 using Handler = base::Callback<void(bool success)>; 42 using ExportHandler = base::Callback<void(const std::string& interface_name, 45 using CompletionAction = base::Callback<void(bool all_succeeded)>; 46 using CompletionTask = base::Callback<void(void)>; 50 // Get a Finished handler callback. Each callback is "unique" in the sense 57 // ExportedObject's ExportMethod callback requirements. Will also assert
|
/external/libmojo/base/android/ |
application_status_listener.h | 41 // To start listening, create a new instance, passing a callback to a 44 // that the callback will always be called on the thread that created 65 typedef base::Callback<void(ApplicationState)> ApplicationStateChangeCallback; 68 const ApplicationStateChangeCallback& callback);
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
Callback.java | 10 * A simple single-argument callback to handle the result of a computation. 14 public abstract class Callback<T> {
|
/external/libmojo/mojo/message_pump/ |
handle_watcher.h | 36 // Start() multiple times, but it cancels any existing watches. |callback| is 39 // before the handle is ready, then |callback| is invoked with a result of 44 const base::Callback<void(MojoResult)>& callback);
|
/external/webrtc/webrtc/modules/pacing/ |
paced_sender.h | 36 class Callback { 38 // Note: packets sent as a result of a callback should not pass by this 51 virtual ~Callback() {} 71 Callback* callback, 137 Callback* const callback_;
|
/frameworks/base/core/java/android/webkit/ |
GeolocationPermissions.java | 37 * {@link WebChromeClient#onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) WebChromeClient.onGeolocationPermissionsShowPrompt()} 48 * A callback interface used by the host application to set the Geolocation 51 public interface Callback { 78 * @param callback a {@link ValueCallback} to receive the result of this 89 public void getOrigins(ValueCallback<Set<String> > callback) { 97 * @param callback a {@link ValueCallback} to receive the result of this 104 public void getAllowed(String origin, ValueCallback<Boolean> callback) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
VisualStabilityManager.java | 34 private final ArrayList<Callback> mCallbacks = new ArrayList<>(); 46 * Add a callback to invoke when reordering is allowed again. 47 * @param callback 49 public void addReorderingAllowedCallback(Callback callback) { 50 if (mCallbacks.contains(callback)) { 53 mCallbacks.add(callback); 94 Callback callback = mCallbacks.get(i); local 95 callback.onReorderingAllowed() [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
ReleaseHelper.java | 30 public static void showReleaseInfoDialog(Activity activity, Callback<Void> callback) { 31 callback.onCallback(null);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/ |
TestSelectionListener.java | 24 public final class TestSelectionListener implements SelectionManager.Callback {
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
ClusterInCallService.java | 25 import android.telecom.Call.Callback; 42 private volatile Callback mListener; 83 public void registerListener(Callback listener) { 88 private static class PhoneCallback extends Callback {
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
Player.java | 29 protected Callback mCallback; 57 public void setCallback(Callback callback) { 58 mCallback = callback; 75 public interface Callback {
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
Player.java | 29 protected Callback mCallback; 57 public void setCallback(Callback callback) { 58 mCallback = callback; 75 public interface Callback {
|