/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | NotificationIntentReceiver.java | 41 if (intent.getAction().equals(ACTION_EXAMPLE)) { in onReceive() 54 } else if (intent.getAction().equals(ACTION_ENABLE_MESSAGES)) { in onReceive() 56 } else if (intent.getAction().equals(ACTION_DISABLE_MESSAGES)) { in onReceive()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ForegroundService.java | 86 if (ACTION_FOREGROUND.equals(intent.getAction()) in onStartCommand() 87 || ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand() 106 } else if (ACTION_BACKGROUND.equals(intent.getAction()) in onStartCommand() 107 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand() 111 if (ACTION_FOREGROUND_WAKELOCK.equals(intent.getAction()) in onStartCommand() 112 || ACTION_BACKGROUND_WAKELOCK.equals(intent.getAction())) { in onStartCommand()
|
D | SearchQueryResults.java | 54 final String queryAction = queryIntent.getAction(); in onCreate() 76 final String queryAction = queryIntent.getAction(); in onNewIntent()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyKeyEvent.java | 68 public int getAction() { in getAction() method in MonkeyKeyEvent 69 return mKeyEvent != null ? mKeyEvent.getAction() : mAction; in getAction() 96 return (getAction() == KeyEvent.ACTION_UP); in isThrottlable()
|
D | MonkeyMotionEvent.java | 81 public int getAction() { in getAction() method in MonkeyMotionEvent 146 return (getAction() == MotionEvent.ACTION_UP); in isThrottlable() 175 msg.append(me.getAction()); in injectEvent()
|
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/ |
D | CheckInAndDeleteDataItemsService.java | 65 if (ACTION_CHECK_IN.equals(intent.getAction())) { in onHandleIntent() 72 } else if (!ACTION_DELETE_DATA_ITEM.equals(intent.getAction())) { in onHandleIntent() 75 Log.e(TAG, "Unrecognized action: " + intent.getAction()); in onHandleIntent()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | VersionedGestureDetector.java | 72 switch (ev.getAction()) { in onTouchEvent() 112 final int action = ev.getAction(); in onTouchEvent() 122 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | MyReceiver.java | 34 if (Intent.ACTION_LOCALE_CHANGED.equals(intent.getAction())) { in onReceive() 38 } else if (ACTION_PIN_REQUEST_ACCEPTED.equals(intent.getAction())) { in onReceive()
|
/development/samples/devbytes/animation/LiveButton/src/com/example/android/livebutton/ |
D | LiveButton.java | 53 if (arg1.getAction() == MotionEvent.ACTION_DOWN) { in onCreate() 56 } else if (arg1.getAction() == MotionEvent.ACTION_UP) { in onCreate()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardLayout.java | 62 switch(event.getAction()){ in onTouchEvent() 74 switch(event.getAction()){ in onInterceptTouchEvent()
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | SearchableDictionary.java | 70 if (Intent.ACTION_VIEW.equals(intent.getAction())) { in handleIntent() 75 } else if (Intent.ACTION_SEARCH.equals(intent.getAction())) { in handleIntent()
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ResponderService.java | 73 if (null == intent || null == intent.getAction()) { in onStartCommand() 76 String action = intent.getAction(); in onStartCommand()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | MyReceiver.java | 29 if (Intent.ACTION_LOCALE_CHANGED.equals(intent.getAction())) { in onReceive()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/ |
D | RespondService.java | 41 TelephonyManager.ACTION_RESPOND_VIA_MESSAGE.equals(intent.getAction())) { in onHandleIntent()
|
D | MessagingService.java | 44 String intentAction = intent.getAction(); in onHandleIntent()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | SampleMediaButtonReceiver.java | 41 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) { in onReceive()
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
D | MessageReceiver.java | 29 if (intent.getAction() in onReceive()
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutPublishingService.java | 44 if (intent.getAction().endsWith(".ADD")) { in onHandleIntent()
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 55 switch (e.getAction()) { in onTouchEvent()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/ |
D | UpdateComplicationDataService.java | 32 final String action = intent.getAction(); in onHandleIntent()
|
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
D | TechFilter.java | 39 String action = intent.getAction(); in onCreate()
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
D | ContentViewActivity.java | 35 if (Intent.ACTION_VIEW.equals(intent.getAction())) { in onCreate()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 58 switch (e.getAction()) { in onTouchEvent()
|
/development/apps/Development/src/com/android/development/ |
D | MediaScannerActivity.java | 113 if (intent.getAction().equals(Intent.ACTION_MEDIA_SCANNER_STARTED)) { 116 else if (intent.getAction().equals(Intent.ACTION_MEDIA_SCANNER_FINISHED)) {
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | BouncingBalls.java | 80 if (event.getAction() != MotionEvent.ACTION_DOWN && in onTouchEvent() 81 event.getAction() != MotionEvent.ACTION_MOVE) { in onTouchEvent()
|