Searched defs:obtainMessage (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DMessageQueueTest.java44 mQueue.sendMessage(MessageThreadUtil.SyncQueueItem.obtainMessage(
59 mQueue.sendMessage(obtainMessage(1, 2));
60 mQueue.sendMessage(obtainMessage(3, 4));
61 mQueue.sendMessage(obtainMessage(5, 6));
81 mQueue.sendMessage(obtainMessage(1, 2));
82 mQueue.sendMessageAtFrontOfQueue(obtainMessage(3, 4));
83 mQueue.sendMessage(obtainMessage(5, 6));
103 mQueue.sendMessage(obtainMessage(1, 0));
104 mQueue.sendMessage(obtainMessage(2, 0));
105 mQueue.sendMessage(obtainMessage(
128 private MessageThreadUtil.SyncQueueItem obtainMessage(int what, int arg) { method in class:MessageQueueTest
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DMessageThreadUtil.java41 sendMessage(SyncQueueItem.obtainMessage(UPDATE_ITEM_COUNT, generation, itemCount));
46 sendMessage(SyncQueueItem.obtainMessage(ADD_TILE, generation, tile));
51 sendMessage(SyncQueueItem.obtainMessage(REMOVE_TILE, generation, position));
99 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(REFRESH, generation, null));
105 sendMessageAtFrontOfQueue(SyncQueueItem.obtainMessage(UPDATE_RANGE,
111 sendMessage(SyncQueueItem.obtainMessage(LOAD_TILE, position, scrollHint));
116 sendMessage(SyncQueueItem.obtainMessage(RECYCLE_TILE, 0, tile));
200 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4, method in class:MessageThreadUtil.SyncQueueItem
222 static SyncQueueItem obtainMessage(int what, int arg1, int arg2) { method in class:MessageThreadUtil.SyncQueueItem
223 return obtainMessage(wha
226 static SyncQueueItem obtainMessage(int what, int arg1, Object data) { method in class:MessageThreadUtil.SyncQueueItem
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java109 public Message obtainMessage(int what) { method in class:HandlerCaller
110 return mH.obtainMessage(what);
114 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2);
121 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args);
125 return mH.obtainMessage(what, 0, 0, arg1);
129 return mH.obtainMessage(what, arg1, 0);
133 return mH.obtainMessage(what, arg1, arg2);
137 return mH.obtainMessage(what, arg1, 0, arg2);
141 return mH.obtainMessage(what, arg1, arg2, arg3);
149 return mH.obtainMessage(wha
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java266 public final Message obtainMessage() method in class:Handler
272 * Same as {@link #obtainMessage()}, except that it also sets the what member of the returned Message.
277 public final Message obtainMessage(int what) method in class:Handler
284 * Same as {@link #obtainMessage()}, except that it also sets the what and obj members
291 public final Message obtainMessage(int what, Object obj) method in class:Handler
298 * Same as {@link #obtainMessage()}, except that it also sets the what, arg1 and arg2 members of the returned
305 public final Message obtainMessage(int what, int arg1, int arg2) method in class:Handler
312 * Same as {@link #obtainMessage()}, except that it also sets the what, obj, arg1,and arg2 values on the
320 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) method in class:Handler
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java69 * <code>obtainMessage</code>. When the state machine receives a message the
163 hw.sendMessage(hw.obtainMessage());
277 sendMessage(obtainMessage(CMD_3));
323 sendMessage(obtainMessage(CMD_4));
345 sendMessage(obtainMessage(CMD_5));
384 hsm.sendMessage(obtainMessage(hsm.CMD_1));
385 hsm.sendMessage(obtainMessage(hsm.CMD_2));
960 sendMessageAtFrontOfQueue(obtainMessage(SM_INIT_CMD, mSmHandlerObj));
1208 Message newMsg = obtainMessage();
1217 sendMessage(obtainMessage(SM_QUIT_CM
1549 public final Message obtainMessage() { method in class:StateMachine
1564 public final Message obtainMessage(int what) { method in class:StateMachine
1581 public final Message obtainMessage(int what, Object obj) { method in class:StateMachine
1598 public final Message obtainMessage(int what, int arg1) { method in class:StateMachine
1617 public final Message obtainMessage(int what, int arg1, int arg2) { method in class:StateMachine
1636 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) { method in class:StateMachine
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionWrapper.java199 dispatchMessage(obtainMessage(DO_FINISH_COMPOSING_TEXT));
221 dispatchMessage(obtainMessage(DO_BEGIN_BATCH_EDIT));
225 dispatchMessage(obtainMessage(DO_END_BATCH_EDIT));
243 dispatchMessage(obtainMessage(DO_CLOSE_CONNECTION));
608 Message obtainMessage(int what) { method in class:IInputConnectionWrapper
609 return mH.obtainMessage(what);
613 return mH.obtainMessage(what, arg1, arg2);
617 return mH.obtainMessage(what, 0, 0, arg1);
624 return mH.obtainMessage(what, arg1, 0, args);
631 return mH.obtainMessage(wha
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNsdService.java832 private Message obtainMessage(Message srcMsg) { method in class:NsdService
840 Message dstMsg = obtainMessage(msg);
847 Message dstMsg = obtainMessage(msg);
855 Message dstMsg = obtainMessage(msg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java963 sendMessageDelayed(obtainMessage(DISABLE_P2P_TIMED_OUT,
1522 sendMessageDelayed(obtainMessage(GROUP_CREATING_TIMED_OUT,
2924 Message dstMsg = obtainMessage(msg);
2931 Message dstMsg = obtainMessage(msg);
2939 Message dstMsg = obtainMessage(msg);
2947 private Message obtainMessage(Message srcMsg) { method in class:WifiP2pServiceImpl.P2pStateMachine

Completed in 78 milliseconds