HomeSort by relevance Sort by last modified time
    Searched refs:looper (Results 76 - 100 of 495) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GSMTestHandler.java.broken 23 import android.os.Looper;
78 Looper looper = getLooper();
79 if (looper != null) looper.quit();
  /frameworks/base/core/java/android/view/
InputEventSender.java 21 import android.os.Looper;
53 * @param looper The looper to use when invoking callbacks.
55 public InputEventSender(InputChannel inputChannel, Looper looper) {
59 if (looper == null) {
60 throw new IllegalArgumentException("looper must not be null");
64 mMessageQueue = looper.getQueue();
114 * Must be called on the same Looper thread to which the sender is attached.
InputEventReceiver.java 21 import android.os.Looper;
58 * @param looper The looper to use when invoking callbacks.
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) {
64 if (looper == null) {
65 throw new IllegalArgumentException("looper must not be null");
69 mMessageQueue = looper.getQueue();
134 * Must be called on the same Looper thread to which the receiver is attached.
161 * Must be called on the same Looper thread to which the receiver is attached
    [all...]
Choreographer.java 21 import android.os.Looper;
68 * Each {@link Looper} thread has its own choreographer. Other threads can
69 * post callbacks to run on the choreographer but they will run on the {@link Looper}
100 Looper looper = Looper.myLooper();
101 if (looper == null) {
102 throw new IllegalStateException("The current thread must have a looper!");
104 return new Choreographer(looper);
132 private final Looper mLooper
    [all...]
  /frameworks/av/include/media/stagefright/foundation/
ALooperRoster.h 31 const sp<ALooper> looper, const sp<AHandler> &handler);
  /external/skia/tests/
LayerDrawLooperTest.cpp 60 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper());
62 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
63 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
100 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper());
102 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
103 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
140 SkAutoTUnref<SkLayerDrawLooper> looper(looperBuilder.detachLooper());
142 void* buffer = allocator.reserveT<SkDrawLooper::Context>(looper->contextSize());
143 SkDrawLooper::Context* context = looper->createContext(&canvas, buffer);
  /development/ndk/sources/android/native_app_glue/
android_native_app_glue.h 26 #include <android/looper.h>
143 ALooper* looper; member in struct:android_app
189 * Looper data ID of commands coming from the app's main thread, which
198 * Looper data ID of events coming from the AInputQueue of the
  /frameworks/base/core/java/android/app/
IntentService.java 24 import android.os.Looper;
54 private volatile Looper mServiceLooper;
60 public ServiceHandler(Looper looper) {
61 super(looper);
  /frameworks/base/core/jni/
android_view_InputQueue.cpp 27 #include <utils/Looper.h>
48 InputQueue::InputQueue(jobject inputQueueObj, const sp<Looper>& looper,
51 mDispatchLooper(looper), mHandler(new WeakMessageHandler(this)) {
64 void InputQueue::attachLooper(Looper* looper, int ident,
68 if (looper == mAppLoopers[i]) {
72 mAppLoopers.push(looper);
73 looper->addFd(mDispatchReadFd, ident, ALOOPER_EVENT_INPUT, callback, data);
187 InputQueue* InputQueue::createQueue(jobject inputQueueObj, const sp<Looper>& looper)
    [all...]
  /hardware/ti/omap4-aah/camera/inc/
SensorListener.h 31 #include <utils/Looper.h>
46 SensorLooperThread(android::Looper* looper)
48 mLooper = android::sp<android::Looper>(looper);
59 // force looper wake up
64 android::sp<android::Looper> mLooper;
97 android::sp<android::Looper> mLooper;
  /hardware/ti/omap4xxx/camera/inc/
SensorListener.h 31 #include <utils/Looper.h>
43 SensorLooperThread(Looper* looper)
45 mLooper = sp<Looper>(looper);
56 // force looper wake up
61 sp<Looper> mLooper;
94 sp<Looper> mLooper;
  /frameworks/base/core/java/android/hardware/radio/
RadioModule.java 23 import android.os.Looper;
100 // find the looper for our new event handler
101 Looper looper; local
103 looper = handler.getLooper();
105 looper = Looper.getMainLooper();
108 // construct the event handler with this looper
109 if (looper != null) {
111 mHandler = new Handler(looper) {
    [all...]
  /frameworks/base/media/java/android/media/
SoundPool.java 29 import android.os.Looper;
480 Looper looper; local
481 if ((looper = Looper.myLooper()) != null) {
482 mEventHandler = new EventHandler(looper);
483 } else if ((looper = Looper.getMainLooper()) != null) {
484 mEventHandler = new EventHandler(looper);
537 public EventHandler(Looper looper)
    [all...]
  /frameworks/base/media/java/android/media/audiofx/
Visualizer.java 23 import android.os.Looper;
595 Looper looper; local
596 if ((looper = Looper.myLooper()) != null) {
597 mNativeEventHandler = new NativeEventHandler(this, looper);
598 } else if ((looper = Looper.getMainLooper()) != null) {
599 mNativeEventHandler = new NativeEventHandler(this, looper);
653 public NativeEventHandler(Visualizer v, Looper looper)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
AvrcpControllerService.java 27 import android.os.Looper;
73 Looper looper = thread.getLooper(); local
74 mHandler = new AvrcpMessageHandler(looper);
87 Looper looper = mHandler.getLooper(); local
88 if (looper != null) looper.quit();
221 private AvrcpMessageHandler(Looper looper) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecFeatureAction.java 19 import android.os.Looper;
127 public ActionTimerHandler(Looper looper) {
128 super(looper);
155 private ActionTimer createActionTimer(Looper looper) {
156 return new ActionTimerHandler(looper);
  /frameworks/native/libs/gui/
SensorEventQueue.cpp 27 #include <utils/Looper.h>
85 sp<Looper> SensorEventQueue::getLooper() const
89 mLooper = new Looper(true);
98 sp<Looper> looper(getLooper());
103 result = looper->pollOnce(-1, NULL, &events, NULL);
122 sp<Looper> looper(getLooper());
123 looper->wake();
  /development/ndk/platforms/android-9/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /frameworks/base/native/android/
Android.mk 12 looper.cpp \
  /prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
  /prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/
sensor.h 45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);

Completed in 626 milliseconds

1 2 34 5 6 7 8 91011>>