Searched refs:action (Results 226 - 250 of 288) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DAudioService.java373 // SCO audio state is active due to an action in BT handsfree (either voice recognition or
2193 // Continue pending action if any
3738 String action = intent.getAction();
3742 if (action.equals(Intent.ACTION_DOCK_EVENT)) {
3771 } else if (action.equals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED)) {
3811 } else if (action.equals(Intent.ACTION_USB_AUDIO_ACCESSORY_PLUG) ||
3812 action.equals(Intent.ACTION_USB_AUDIO_DEVICE_PLUG)) {
3818 device = action.equals(Intent.ACTION_USB_AUDIO_ACCESSORY_PLUG) ?
3821 + (action.equals(Intent.ACTION_USB_AUDIO_ACCESSORY_PLUG) ?
3825 } else if (action
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java247 // Remove the action bar feature if we have no title. No title dominates.
412 // Don't show it in the action bar either
428 // Restore action view state before we prepare. This gives apps
438 // Clear it out of the action bar.
535 // (The app should be using an action bar for menu items.)
763 // Prepare the options panel if we have an action bar
933 // Only close down the menu if we don't have an action bar keeping it open.
955 // Only close down the menu if we don't have an action bar keeping it open.
1041 // If we have an action bar, initialize the menu with a context themed for it.
1662 Log.w(TAG, "Missing saved instance states for action ba
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java90 * which allows them to provide a custom large icon associated with this action.
96 * host when the user taps on an empty area (not performing an action
105 * (not performing an action in the host). The x and y arguments are
739 * @param action Name of the command to perform. This must be a scoped
746 public void sendWallpaperCommand(IBinder windowToken, String action, argument
751 windowToken, action, x, y, z, extras, false);
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java616 int action = ev.getAction();
618 switch (action) {
H A DSwitch.java543 final int action = ev.getActionMasked();
544 switch (action) {
H A DAbsListView.java541 * Delayed action for touch mode.
1385 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
1386 if (super.performAccessibilityAction(action, arguments)) {
1389 switch (action) {
2232 public boolean performAccessibilityAction(View host, int action, Bundle arguments) { argument
2233 if (super.performAccessibilityAction(host, action, arguments)) {
2252 switch (action) {
2736 // The data has changed since we posted this action in the event queue,
3263 final int action = ev.getAction();
3270 switch (action
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java80 // the user lets go before triggering an action
508 final int action = event.getAction();
509 switch (action) {
H A DLockPatternView.java622 final int action = event.getAction();
623 switch (action) {
635 event.setAction(action);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java1054 final int action = ev.getAction();
1055 if ((action == MotionEvent.ACTION_MOVE) &&
1060 switch (action & MotionEvent.ACTION_MASK) {
1305 final int action = ev.getAction();
1307 switch (action & MotionEvent.ACTION_MASK) {
2530 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
2531 if (super.performAccessibilityAction(action, arguments)) {
2534 switch (action) {
/frameworks/base/services/java/com/android/server/
H A DIntentResolverOld.java269 // cut let's use the action instead.
510 final String action = intent.getAction();
547 match = filter.match(action, resolvedType, scheme, data, categories, TAG);
563 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break;
H A DNetworkManagementService.java632 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { argument
633 final Command cmd = new Command("interface", "route", action, interfaceName, type);
927 private void modifyNat(String action, String internalInterface, String externalInterface) argument
929 final Command cmd = new Command("nat", action, internalInterface, externalInterface);
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java406 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, argument
413 action, x, y, z, extras, sync);
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java281 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
282 switch (action) {
322 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK;
323 switch (action) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java249 public void setCallForward(int action, int cfReason, int serviceClass, argument
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java271 * before executing the specified action.
276 * @return true if the action was run
278 abstract boolean safelyRun(Runnable action); argument
1529 boolean safelyRun(Runnable action) { argument
1541 action.run();
/frameworks/base/core/java/android/content/
H A DSyncManager.java176 String action = intent.getAction();
177 if (Intent.ACTION_DEVICE_STORAGE_LOW.equals(action)) {
184 } else if (Intent.ACTION_DEVICE_STORAGE_OK.equals(action)) {
312 String action = intent.getAction();
316 if (Intent.ACTION_USER_REMOVED.equals(action)) {
318 } else if (Intent.ACTION_USER_STARTING.equals(action)) {
320 } else if (Intent.ACTION_USER_STOPPING.equals(action)) {
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java272 public boolean onEditorAction(TextView view, int action, KeyEvent keyEvent) { argument
273 if (action == EditorInfo.IME_ACTION_DONE) {
292 // clear the existing action
294 // set the DONE action
1350 int action = event.getAction();
1355 if (mCopyAddress == null && action == MotionEvent.ACTION_UP) {
1361 if (action == MotionEvent.ACTION_UP) {
1379 if (action == MotionEvent.ACTION_UP && !chipWasSelected) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java2253 String action = intent.getAction();
2254 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
2256 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
2264 else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
2269 else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) {
2280 else if (Intent.ACTION_SCREEN_ON.equals(action)) {
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java517 public void appPrivateCommand(String action, Bundle data) { argument
521 InputMethodService.this.onAppPrivateCommand(action, data);
1835 public void onAppPrivateCommand(String action, Bundle data) { argument
1961 * Ask the input target to execute its default action via
1968 * EditorInfo.IME_FLAG_NO_ENTER_ACTION}. If false, the action will be
1971 * @return Returns a boolean indicating whether an action has been sent.
1972 * If false, either the editor did not specify a default action or it
1973 * does not want an action from the enter key. If true, the action was
1984 // action associate
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1469 * @param action Name of the command to be performed. This <em>must</em>
1474 public void sendAppPrivateCommand(View view, String action, Bundle data) { argument
1483 if (DEBUG) Log.v(TAG, "APP PRIVATE COMMAND " + action + ": " + data);
1484 mCurMethod.appPrivateCommand(action, data);
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java499 String action = intent.getAction();
500 if (action.equals(UsbManager.ACTION_USB_STATE)) {
510 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java916 * if action is CANCEL_ECM_TIMER, cancel Ecm timer and notify apps the timer is canceled;
919 void handleTimerInEmergencyCallbackMode(int action) { argument
920 switch(action) {
932 Log.e(LOG_TAG, "handleTimerInEmergencyCallbackMode, unsupported action " + action);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java921 protected boolean isCfEnable(int action) { argument
922 return (action == CF_ACTION_ENABLE) || (action == CF_ACTION_REGISTRATION);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java872 public void onProgress(Object item, int action, int progress) {
1111 public void onProgress(Object item, int action, int progress) {
1122 public void onProgress(Object item, int action, int progress) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java406 public void setCallForward(int action, int cfReason, int serviceClass, String number, argument

Completed in 1122 milliseconds

1234567891011>>