Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedActionAdapterGroup.java98 if (vh.getAction().hasTextEditable()) { in focusToNextAction()
123 adapter.getGuidedActionsStylist().setEditingMode(avh, avh.getAction(), true); in openIme()
154 mEditListener.onGuidedActionEditCanceled(avh.getAction()); in fillAndStay()
155 adapter.getGuidedActionsStylist().setEditingMode(avh, avh.getAction(), false); in fillAndStay()
165 long nextActionId = mEditListener.onGuidedActionEditedAndProceed(avh.getAction()); in fillAndGoNext()
166 adapter.getGuidedActionsStylist().setEditingMode(avh, avh.getAction(), false); in fillAndGoNext()
168 && nextActionId != avh.getAction().getId()) { in fillAndGoNext()
169 handled = focusToNextAction(adapter, avh.getAction(), nextActionId); in fillAndGoNext()
180 GuidedAction action = avh.getAction(); in updateTextIntoAction()
DGuidedActionAdapter.java115 GuidedAction action = avh.getAction();
121 getGuidedActionsStylist().setEditingMode(avh, avh.getAction(),
321 mFocusListener.onGuidedActionFocused(avh.getAction()); in onFocusChange()
351 GuidedAction action = avh.getAction(); in handleCheckedActions()
385 mClickListener.onGuidedActionClicked(avh.getAction()); in performOnActionClick()
411 GuidedAction action = avh.getAction(); in onKey()
414 if (event.getAction() == KeyEvent.ACTION_DOWN) { in onKey()
421 switch (event.getAction()) { in onKey()
477 if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) { in onKeyPreIme()
480 } else if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == in onKeyPreIme()
DGuidedActionsStylist.java343 public GuidedAction getAction() { in getAction() method in GuidedActionsStylist.ViewHolder
707 action = vh.getAction(); in onEditingModeChange()
999 } else if (avh != null && vh.getAction() == avh.getAction()) { in startExpandedTransition()
1010 boolean isSubActionTransition = focusAvh.getAction().hasSubActions(); in startExpandedTransition()
1128 } else if (avh.getAction() != mExpandedAction) { in onUpdateExpandedViewHolder()
1129 mExpandedAction = avh.getAction(); in onUpdateExpandedViewHolder()
1142 if (avh != null && avh.getAction().hasSubActions()) { in onUpdateExpandedViewHolder()
1152 .setActions(avh.getAction().getSubActions()); in onUpdateExpandedViewHolder()
1174 } else if (vh.getAction() == mExpandedAction) { in updateChevronAndVisibility()
1176 if (vh.getAction().hasSubActions()) { in updateChevronAndVisibility()
[all …]
/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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java278 mBroadcastReceiversByAction.put(filter.getAction(i), receiver); in registerReceiverAsUser()
280 result = mStickyBroadcastByAction.get(filter.getAction(i)); in registerReceiverAsUser()
290 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast()
293 mBroadcastReceiversByAction.get(intent.getAction())) { in sendBroadcast()
301 logd("sendBroadcast called for " + intent.getAction()); in sendBroadcast()
326 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
339 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
353 logd("sendOrderedBroadcastAsUser called for " + intent.getAction()); in sendOrderedBroadcastAsUser()
364 logd("sendStickyBroadcast called for " + intent.getAction()); in sendStickyBroadcast()
367 mStickyBroadcastByAction.put(intent.getAction(), intent); in sendStickyBroadcast()
[all …]
/frameworks/support/v13/java/android/support/v13/view/
DDragStartHelper.java130 if (event.getAction() == MotionEvent.ACTION_DOWN || in onTouch()
131 event.getAction() == MotionEvent.ACTION_MOVE) { in onTouch()
135 if (event.getAction() == MotionEvent.ACTION_MOVE && in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutsReceiver.java28 if (Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
30 } else if (Intent.ACTION_DISMISS_KEYBOARD_SHORTCUTS.equals(intent.getAction())) { in onReceive()
/frameworks/base/core/java/android/service/media/
DCameraPrewarmService.java62 if (ACTION_PREWARM.equals(intent.getAction())) { in onBind()
72 if (ACTION_PREWARM.equals(intent.getAction())) { in onUnbind()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
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/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
DSvcMonitor.java32 if ("stop".equals(intent.getAction())) { in onStartCommand()
34 } else if ("start".equals(intent.getAction())) { in onStartCommand()
36 } else if ("change".equals(intent.getAction())) { in onStartCommand()
39 Log.d(TAG, "unknown action: + " + intent.getAction()); in onStartCommand()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java57 IntentFilter filter = new IntentFilter(getAction()); in SipWakeupTimer()
215 Intent intent = new Intent(getAction()); in scheduleNext()
227 String action = intent.getAction(); in onReceive()
228 if (getAction().equals(action) in onReceive()
275 private String getAction() { in getAction() method in SipWakeupTimer
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java205 final int action = event.getAction(); in onKeyEvent()
267 final int action = event.getAction(); in onTrackballEvent()
327 final int action = event.getAction(); in onTouchEvent()
471 final int action = event.getAction(); in onGenericMotionEvent()
624 + MotionEvent.actionToString(event.getAction())); in ensurePointerCountIsOneForThisAction()
632 MotionEvent.actionToString(event.getAction())); in ensureActionButtonIsNonZeroForThisAction()
641 + MotionEvent.actionToString(event.getAction())); in ensureHistorySizeIsZeroForThisAction()
/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) {
148 if (DEBUG) Log.d(TAG, "handleNIVerify action: " + intent.getAction()); in handleNIVerify()
/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/core/java/android/service/chooser/
DChooserTargetService.java126 if (!SERVICE_INTERFACE.equals(intent.getAction())) { in onBind()
127 if (DEBUG) Log.d(TAG, "bad intent action " + intent.getAction() + "; returning null"); in onBind()
/frameworks/base/core/java/android/widget/
DZoomButton.java59 if ((event.getAction() == MotionEvent.ACTION_CANCEL) in onTouchEvent()
60 || (event.getAction() == MotionEvent.ACTION_UP)) { in onTouchEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java96 assertTrue(intentArgumentCaptor.getValue().getAction().equals( in testBroadcastSms()
98 intentArgumentCaptor.getValue().getAction().equals( in testBroadcastSms()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaButtonReceiver.java98 queryIntent.getAction() + ", found " + resolveInfos.size() ); in onReceive()
134 || !Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction()) in handleIntent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java91 intent.getAction())) { in WifiTrafficPoller()
94 } else if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) { in WifiTrafficPoller()
96 } else if (Intent.ACTION_SCREEN_ON.equals(intent.getAction())) { in WifiTrafficPoller()
DWifiNotificationController.java116 if (intent.getAction().equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { in WifiNotificationController()
120 } else if (intent.getAction().equals( in WifiNotificationController()
138 } else if (intent.getAction().equals( in WifiNotificationController()
/frameworks/support/v4/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java80 public static String getAction(Object customActionObj) { in getAction() method in PlaybackStateCompatApi21.CustomAction
81 return ((PlaybackState.CustomAction)customActionObj).getAction(); in getAction()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java119 intent.getAction()) in setScorers()
135 intent.getAction()) in setScorers()
148 return NetworkScoreManager.ACTION_SCORE_NETWORKS.equals(intent.getAction()); in setScorers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java159 if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_FULL)) {
162 } else if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_NOT_FULL)) {
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java682 Log.d(TAG, "Received result from " + intent.getAction() in performItemAction()
725 Log.d(TAG, "Received result from " + intent.getAction() in performSessionAction()
733 if (intent.getAction().equals(MediaControlIntent.ACTION_END_SESSION) in performSessionAction()
759 Log.w(TAG, "Received invalid result data from " + intent.getAction() in handleInvalidResult()
774 Log.w(TAG, "Received error from " + intent.getAction() in handleError()
889 String action = intent.getAction(); in onReceive()

12345678910>>...21