Lines Matching refs:looper
104 Looper looper = Looper.myLooper();
105 if (looper == null) {
106 throw new IllegalStateException("The current thread must have a looper!");
108 return new Choreographer(looper, VSYNC_SOURCE_APP);
117 Looper looper = Looper.myLooper();
118 if (looper == null) {
119 throw new IllegalStateException("The current thread must have a looper!");
121 return new Choreographer(looper, VSYNC_SOURCE_SURFACE_FLINGER);
152 // The display event receiver can only be accessed by the looper thread to which
153 // it is attached. We take care to ensure that we post message to the looper
221 private Choreographer(Looper looper, int vsyncSource) {
222 mLooper = looper;
223 mHandler = new FrameHandler(looper);
225 ? new FrameDisplayEventReceiver(looper, vsyncSource)
248 * @throws IllegalStateException if the thread does not have a looper.
818 public FrameHandler(Looper looper) {
819 super(looper);
844 public FrameDisplayEventReceiver(Looper looper, int vsyncSource) {
845 super(looper, vsyncSource);