Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java42 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate()
50 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate()
56 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate()
71 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume()
99 if (CLEAR_TASK.equals(getIntent().getAction())) {
112 if (WAIT_BEFORE_FINISH.equals(getIntent().getAction())) { in queueIdle()
115 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in queueIdle()
DLocalReceiver.java36 if (BroadcastTest.BROADCAST_FAIL_REGISTER.equals(intent.getAction())) { in onReceive()
45 } else if (BroadcastTest.BROADCAST_FAIL_BIND.equals(intent.getAction())) { in onReceive()
61 } else if (LaunchpadActivity.BROADCAST_REPEAT.equals(intent.getAction())) { in onReceive()
DClearTop.java42 if (LocalScreen.CLEAR_TASK.equals(intent.getAction())) { in onNewIntent()
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java330 assertTrue(intent.getAction().equals(Intent.ACTION_SEARCH) in queryIntentActivities()
331 || intent.getAction().equals(Intent.ACTION_WEB_SEARCH) in queryIntentActivities()
332 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in queryIntentActivities()
346 assertTrue(intent.getAction().equals(Intent.ACTION_WEB_SEARCH) in resolveActivity()
347 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in resolveActivity()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardViewBase.java151 if (event.getAction() != KeyEvent.ACTION_DOWN) { in shouldEventKeepScreenOnWhileKeyguardShowing()
174 if (event.getAction() == KeyEvent.ACTION_DOWN) { in interceptMediaKey()
226 } else if (event.getAction() == KeyEvent.ACTION_UP) { in interceptMediaKey()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java60 if (DEBUG) Log.d(TAG, "NetInitiatedReceiver onReceive: " + intent.getAction());
61 if (intent.getAction() == GpsNetInitiatedHandler.ACTION_NI_VERIFY) {
149 if (DEBUG) Log.d(TAG, "handleNIVerify action: " + intent.getAction()); in handleNIVerify()
/frameworks/base/core/java/android/widget/
DZoomButton.java58 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in onTouchEvent()
59 || (event.getAction() == MotionEvent.ACTION_UP)) { in onTouchEvent()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTestsListActivity.java84 if (!intent.getAction().equals(Intent.ACTION_RUN)) { in onCreate()
101 if (intent.getAction().equals(Intent.ACTION_REBOOT)) { in onNewIntent()
103 } else if (intent.getAction().equals(Intent.ACTION_SHUTDOWN)) { in onNewIntent()
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateTracker.java211 if (intent.getAction().equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) { in onReceive()
224 } else if (intent.getAction().equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { in onReceive()
248 } else if (intent.getAction().equals(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION)) { in onReceive()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java143 String action = filter.getAction(i); in registerReceiver()
172 String action = filter.getAction(j); in unregisterReceiver()
202 final String action = intent.getAction(); in sendBroadcast()
215 ArrayList<ReceiverRecord> entries = mActions.get(intent.getAction()); in sendBroadcast()
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeupTimer.java68 IntentFilter filter = new IntentFilter(getAction()); in SipWakeupTimer()
226 Intent intent = new Intent(getAction()); in scheduleNext()
238 String action = intent.getAction(); in onReceive()
239 if (getAction().equals(action) in onReceive()
286 private String getAction() { in getAction() method in SipWakeupTimer
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java201 final int action = event.getAction(); in onKeyEvent()
263 final int action = event.getAction(); in onTrackballEvent()
323 final int action = event.getAction(); in onTouchEvent()
467 final int action = event.getAction(); in onGenericMotionEvent()
562 + MotionEvent.actionToString(event.getAction())); in ensurePointerCountIsOneForThisAction()
570 + MotionEvent.actionToString(event.getAction())); in ensureHistorySizeIsZeroForThisAction()
/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java147 return event.getAction() & ACTION_MASK; in getActionMasked()
155 return (event.getAction() & ACTION_POINTER_INDEX_MASK) in getActionIndex()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestView.java81 final int action = ev.getAction(); in onTouchEvent()
110 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestView.java87 final int action = ev.getAction(); in onTouchEvent()
116 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent()
DFBOSyncView.java87 final int action = ev.getAction(); in onTouchEvent()
116 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsStorageMonitor.java153 if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_FULL)) {
156 } else if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_NOT_FULL)) {
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java181 if (intent.getAction().equals(TelephonyIntents. in onReceive()
265 } else if (intent.getAction(). in onReceive()
279 log("Received " + intent.getAction() + in onReceive()
283 } else if (intent.getAction(). in onReceive()
290 if (DBG) log("Broadcast received: ignore " + intent.getAction()); in onReceive()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java94 if (event.getAction() == KeyEvent.ACTION_DOWN in onKey()
107 } else if (event.getAction() == KeyEvent.ACTION_UP && !event.isCanceled()) { in onKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java145 if (event.getAction() != MotionEvent.ACTION_DOWN) { in onTouchEvent()
153 if (event.getAction() == MotionEvent.ACTION_DOWN) { in onInterceptTouchEvent()
DCloseDragHandle.java39 if (event.getAction() != MotionEvent.ACTION_DOWN) { in onTouchEvent()
DPhoneStatusBarPolicy.java114 String action = intent.getAction();
260 String action = intent.getAction(); in updateBluetooth()
283 final String action = intent.getAction(); in updateTTY()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java114 final int action = ev.getAction(); in onTouchEvent()
143 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DShirtPocket.java101 switch (event.getAction()) { in onDragEvent()
160 final int action = ev.getAction(); in onTouchEvent()
/frameworks/base/core/java/android/webkit/
DAccessibilityInjector.java121 if (event.getAction() == KeyEvent.ACTION_UP) { in onKeyEvent()
142 String contentDescription = Integer.toHexString(binding.getAction(i)); in onKeyEvent()
432 public int getAction(int index) { in getAction() method in AccessibilityInjector.AccessibilityWebContentKeyBinding

12345678910