Searched defs:event (Results 76 - 100 of 529) sorted by last modified time

1234567891011>>

/frameworks/support/v4/eclair/android/support/v4/view/
H A DMotionEventCompatEclair.java22 * Implementation of motion event compatibility that can call Eclair APIs.
25 public static int findPointerIndex(MotionEvent event, int pointerId) { argument
26 return event.findPointerIndex(pointerId);
28 public static int getPointerId(MotionEvent event, int pointerIndex) { argument
29 return event.getPointerId(pointerIndex);
31 public static float getX(MotionEvent event, int pointerIndex) { argument
32 return event.getX(pointerIndex);
34 public static float getY(MotionEvent event, int pointerIndex) { argument
35 return event.getY(pointerIndex);
37 public static int getPointerCount(MotionEvent event) { argument
[all...]
/frameworks/support/v4/ics/android/support/v4/view/
H A DAccessibilityDelegateCompatIcs.java31 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); argument
32 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); argument
34 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); argument
36 AccessibilityEvent event);
38 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); argument
48 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) {
49 return bridge.dispatchPopulateAccessibilityEvent(host, event);
53 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) {
54 bridge.onInitializeAccessibilityEvent(host, event);
63 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) {
35 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument
85 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
90 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
100 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument
105 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument
115 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument
[all...]
H A DViewCompatICS.java42 public static void onPopulateAccessibilityEvent(View v, AccessibilityEvent event) { argument
43 v.onPopulateAccessibilityEvent(event);
46 public static void onInitializeAccessibilityEvent(View v, AccessibilityEvent event) { argument
47 v.onInitializeAccessibilityEvent(event);
H A DViewGroupCompatIcs.java28 AccessibilityEvent event) {
29 return group.onRequestSendAccessibilityEvent(child, event);
27 onRequestSendAccessibilityEvent(ViewGroup group, View child, AccessibilityEvent event) argument
H A DViewParentCompatICS.java28 ViewParent parent, View child, AccessibilityEvent event) {
29 return parent.requestSendAccessibilityEvent(child, event);
27 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityEventCompatIcs.java27 public static int getRecordCount(AccessibilityEvent event) { argument
28 return event.getRecordCount();
31 public static void appendRecord(AccessibilityEvent event, Object record) { argument
32 event.appendRecord((AccessibilityRecord) record);
35 public static Object getRecord(AccessibilityEvent event, int index) { argument
36 return event.getRecord(index);
39 public static void setScrollable(AccessibilityEvent event, boolean scrollable) { argument
40 event.setScrollable(scrollable);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java323 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
326 && event.getRepeatCount() == 0) {
333 return super.onKeyDown(keyCode, event);
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioGroup.java177 * only event {@code 0} to {@code 15} are supported.
179 * @throws IllegalArgumentException if the event is invalid.
181 public void sendDtmf(int event) { argument
182 if (event < 0 || event > 15) {
183 throw new IllegalArgumentException("Invalid event");
186 nativeSendDtmf(event);
190 private native void nativeSendDtmf(int event); argument
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java335 public ServerTransaction getServerTransaction(RequestEvent event) argument
337 ServerTransaction transaction = event.getServerTransaction();
339 Request request = event.getRequest();
347 * @param event the INVITE request event
349 public ServerTransaction sendRinging(RequestEvent event, String tag) argument
352 Request request = event.getRequest();
353 ServerTransaction transaction = getServerTransaction(event);
370 * @param event the INVITE request event
372 sendInviteOk(RequestEvent event, SipProfile localProfile, String sessionDescription, ServerTransaction inviteTransaction, String externalIp, int externalPort) argument
401 sendInviteBusyHere(RequestEvent event, ServerTransaction inviteTransaction) argument
424 sendInviteAck(ResponseEvent event, Dialog dialog) argument
447 sendResponse(RequestEvent event, int responseCode) argument
494 getCallId(EventObject event) argument
[all...]
H A DSipSessionGroup.java277 private synchronized SipSessionImpl getSipSession(EventObject event) { argument
278 String key = SipHelper.getCallId(event);
281 if (DBG) log("getSipSession: event=" + key);
329 public void processRequest(final RequestEvent event) { argument
330 if (isRequestEvent(Request.INVITE, event)) {
337 process(event);
341 public void processResponse(ResponseEvent event) { argument
342 process(event);
346 public void processIOException(IOExceptionEvent event) { argument
347 process(event);
351 processTimeout(TimeoutEvent event) argument
356 processTransactionTerminated(TransactionTerminatedEvent event) argument
361 processDialogTerminated(DialogTerminatedEvent event) argument
365 process(EventObject event) argument
422 createNewSession(RequestEvent event, ISipSessionListener listener, ServerTransaction transaction, int newState) argument
445 processInviteWithReplaces(RequestEvent event, ReplacesHeader replaces) argument
471 processNewInviteRequest(RequestEvent event) argument
849 processDialogTerminated(DialogTerminatedEvent event) argument
858 isCurrentTransaction(TransactionTerminatedEvent event) argument
889 processTransactionTerminated( TransactionTerminatedEvent event) argument
903 processTimeout(TimeoutEvent event) argument
975 handleAuthentication(ResponseEvent event) argument
1261 processReferRequest(RequestEvent event) argument
1676 isRequestEvent(String method, EventObject event) argument
[all...]
H A DSipWakeupTimer.java63 * Stops the timer. No event can be scheduled after this method is called.
113 // Determines the period and the trigger time of the new event and insert it
115 private void insertEvent(MyEvent event) { argument
118 event.mTriggerTime = now + event.mPeriod;
119 mEventQueue.add(event);
124 if (minPeriod <= event.mMaxPeriod) {
125 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod;
126 int interval = event
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp103 void sendDtmf(int event);
226 void AudioStream::sendDtmf(int event) argument
229 mDtmfEvent = event << 24;
280 // If there is an ongoing DTMF event, send it now.
479 bool sendDtmf(int event);
609 // Add device stream into event queue.
610 epoll_event event; local
611 event.events = EPOLLIN;
612 event.data.ptr = mChain;
613 if (epoll_ctl(mEventQueue, EPOLL_CTL_ADD, pair[1], &event)) {
647 sendDtmf(int event) argument
674 epoll_event event; local
735 int event = mGroup->mDtmfEvent; local
1045 sendDtmf(JNIEnv *env, jobject thiz, jint event) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java582 public void onEvent(int event, String path) { argument
583 if (event == CLOSE_WRITE) {
807 * or a failure event from supplicant
H A DWifiMonitor.java123 //used to debug and detect if we miss an event
129 * designates a dynamic value that needs to be parsed out from the event
141 * CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
188 * This indicates an authentication failure on EAP FAILURE event
193 * This indicates an assoc reject event
463 /* Indicates assoc reject event */
496 // The event will be dispatched to all monitors, and each of them will end up incrementing
648 // No point dispatching this event to any interface, the dispatched
649 // event string will begin with "IFNAME=" which dispatchEvent can't really
651 Log.e(TAG, "Dropping malformed event (unparsabl
944 handleEvent(int event, String remainder) argument
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp301 static void onScanEvent(wifi_scan_event event, unsigned status) { argument
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp174 printMsg("starting wifi event loop\n");
176 printMsg("out of wifi event loop\n");
266 //printf("put new event in cache; size = %d\n", eventsInCache);
277 //printf("found an event in cache; size = %d\n", eventsInCache);
293 printMsg("Received scan results available event\n");
298 static void on_scan_event(wifi_scan_event event, unsigned status) { argument
299 if (event == WIFI_SCAN_BUFFER_FULL) {
300 printMsg("Received scan complete event - WIFI_SCAN_BUFFER_FULL \n");
301 } else if(event == WIFI_SCAN_COMPLETE) {
302 printMsg("Received scan complete event
410 on_single_shot_scan_event(wifi_scan_event event, unsigned status) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java141 /** When {@code false}, event is a scale gesture. Otherwise, event is a double touch. */
175 * Track whether a double tap event occurred.
180 * X and Y coordinates for the current down event. Since mDoubleTapOccurred only contains the
181 * information that there was a double tap event, use these to get the secondary tap
208 public boolean onTouchEvent(MotionEvent event) { argument
214 mScaleGetureDetector.onTouchEvent(event);
215 mGestureDetector.onTouchEvent(event);
216 final int action = event.getAction();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatResponseMessage.java47 public void setEventDownload(int event, byte[] addedInfo) { argument
48 this.mEventValue = event;
H A DCatService.java164 // Register for SIM ready event.
326 // prior event notify command supplied all the information
684 private void eventDownload(int event, int sourceId, int destinationId, argument
696 // event list
700 buf.write(event); // event value
710 * Check for type of event download to be sent to UICC - Browser
718 * Other event download commands should be encoded similar way
721 switch (event) {
723 CatLog.d(sInstance, " Sending Idle Screen Available event downloa
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java595 private void notifyAllWithEvent(ApnContext alreadySent, int event, String reason) { argument
601 Message msg = mDct.obtainMessage(event, apnContext);
1416 // have to retry connecting since no attach event will come
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DAccessibleLinearLayout.java36 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
37 super.onInitializeAccessibilityEvent(event);
38 event.setClassName(Button.class.getName());
H A DAccessibleTextView.java36 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
37 super.onInitializeAccessibilityEvent(event);
38 event.setClassName(Button.class.getName());
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DAccessibleDateAnimator.java40 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { argument
41 if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) {
42 // Clear the event's current text so that only the current date will be spoken.
43 event.getText().clear();
48 event.getText().add(dateString);
51 return super.dispatchPopulateAccessibilityEvent(event);
H A DDayPickerView.java435 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
436 super.onInitializeAccessibilityEvent(event);
437 event.setItemCount(-1);
H A DMonthView.java255 public boolean dispatchHoverEvent(MotionEvent event) { argument
257 if (mTouchHelper.dispatchHoverEvent(event)) {
260 return super.dispatchHoverEvent(event);
264 public boolean onTouchEvent(MotionEvent event) { argument
265 switch (event.getAction()) {
267 final int day = getDayFromLocation(event.getX(), event.getY());
530 * @param x The x position of the touch event
545 * @param x The x position of the touch event
737 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { argument
[all...]

Completed in 245 milliseconds

1234567891011>>