Home
last modified time | relevance | path

Searched refs:getAction (Results 1 – 25 of 128) sorted by relevance

123456

/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DNotificationIntentReceiver.java41 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/ShortcutSample/src/com/example/android/shortcutsample/
DMyReceiver.java34 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/
DLiveButton.java53 if (arg1.getAction() == MotionEvent.ACTION_DOWN) { in onCreate()
56 } else if (arg1.getAction() == MotionEvent.ACTION_UP) { in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DForegroundService.java86 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()
DSearchQueryResults.java54 final String queryAction = queryIntent.getAction(); in onCreate()
76 final String queryAction = queryIntent.getAction(); in onNewIntent()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyKeyEvent.java68 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()
DMonkeyMotionEvent.java81 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/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardLayout.java62 switch(event.getAction()){ in onTouchEvent()
74 switch(event.getAction()){ in onInterceptTouchEvent()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DCheckInAndDeleteDataItemsService.java65 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/
DVersionedGestureDetector.java72 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/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/
DRespondService.java41 TelephonyManager.ACTION_RESPOND_VIA_MESSAGE.equals(intent.getAction())) { in onHandleIntent()
DMessagingService.java44 String intentAction = intent.getAction(); in onHandleIntent()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMyReceiver.java29 if (Intent.ACTION_LOCALE_CHANGED.equals(intent.getAction())) { in onReceive()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSampleMediaButtonReceiver.java41 if (mActivity != null && Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) { in onReceive()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMessageReceiver.java29 if (intent.getAction() in onReceive()
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublishingService.java44 if (intent.getAction().endsWith(".ADD")) { in onHandleIntent()
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLSurfaceView.java55 switch (e.getAction()) { in onTouchEvent()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DContentViewActivity.java35 if (Intent.ACTION_VIEW.equals(intent.getAction())) { in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/nfc/
DTechFilter.java39 String action = intent.getAction(); in onCreate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DUpdateComplicationDataService.java32 final String action = intent.getAction(); in onHandleIntent()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLSurfaceView.java58 switch (e.getAction()) { in onTouchEvent()
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java47 Log.d(TAG, shorten(intent.getAction())); in onReceive()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DHoverInterceptorView.java58 if (mInterceptHover && event.getAction() != MotionEvent.ACTION_HOVER_EXIT) { in onHoverEvent()
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/
DExampleBroadcastReceiver.java40 String action = intent.getAction(); in onReceive()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DBootBroadcastReceiver.java47 String action = intent.getAction(); in onReceive()

123456