Searched refs:action (Results 151 - 175 of 668) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneStateIntentReceiver.java163 String action = intent.getAction();
166 if (TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED.equals(action)) {
173 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) {
185 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) {
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewPagerActions.java22 import android.support.test.espresso.action.CoordinatesProvider;
23 import android.support.test.espresso.action.GeneralClickAction;
24 import android.support.test.espresso.action.Press;
25 import android.support.test.espresso.action.Tap;
/frameworks/support/design/tests/src/android/support/design/widget/
H A DAppBarLayoutBaseTest.java27 import android.support.test.espresso.action.CoordinatesProvider;
28 import android.support.test.espresso.action.GeneralSwipeAction;
29 import android.support.test.espresso.action.Press;
30 import android.support.test.espresso.action.Swipe;
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DGuidedStepHalfScreenActivity.java88 public void onGuidedActionClicked(GuidedAction action) { argument
90 if (action.getId() == GuidedAction.ACTION_ID_CONTINUE) {
92 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL){
136 public void onGuidedActionClicked(GuidedAction action) { argument
H A DGuidedStepSupportHalfScreenActivity.java90 public void onGuidedActionClicked(GuidedAction action) { argument
92 if (action.getId() == GuidedAction.ACTION_ID_CONTINUE) {
94 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL){
138 public void onGuidedActionClicked(GuidedAction action) { argument
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DGuidedStepHalfScreenActivity.java88 public void onGuidedActionClicked(GuidedAction action) { argument
90 if (action.getId() == GuidedAction.ACTION_ID_CONTINUE) {
92 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL){
136 public void onGuidedActionClicked(GuidedAction action) { argument
H A DGuidedStepSupportHalfScreenActivity.java90 public void onGuidedActionClicked(GuidedAction action) { argument
92 if (action.getId() == GuidedAction.ACTION_ID_CONTINUE) {
94 } else if (action.getId() == GuidedAction.ACTION_ID_CANCEL){
138 public void onGuidedActionClicked(GuidedAction action) { argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp159 int uniqueId, const String8* path, const int action) {
161 return mDrmManager->getConstraints(uniqueId, path, action);
203 int uniqueId, const String8& path, int action) {
205 return mDrmManager->checkRightsStatus(uniqueId, path, action);
209 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) {
214 return mDrmManager->consumeRights(uniqueId, decryptHandle, action, reserve);
228 int action, const ActionDescription& description) {
230 return mDrmManager->validateAction(uniqueId, path, action, description);
158 getConstraints( int uniqueId, const String8* path, const int action) argument
202 checkRightsStatus( int uniqueId, const String8& path, int action) argument
208 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
226 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/av/drm/libdrmframework/include/
H A DIDrmManagerService.h97 int uniqueId, const String8* path, const int action) = 0;
115 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
118 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
125 int action, const ActionDescription& description) = 0;
186 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
203 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
206 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
212 int uniqueId, const String8& path, int action, const ActionDescription& description);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodSession.aidl46 void appPrivateCommand(String action, in Bundle data);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DAccelerationClassifier.java45 int action = event.getActionMasked();
47 if (action == MotionEvent.ACTION_DOWN) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DStatusBarSwitch.java67 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_DISABLE,
74 MetricsLogger.action(getContext(), MetricsEvent.TUNER_STATUS_BAR_ENABLE, getKey());
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingSecondaryUserActivity.java62 String action = intent.getAction();
63 if (UsbManager.ACTION_USB_STATE.equals(action)) {
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DNotificationHelper.java110 final String action = intent.getAction();
111 Log.d(TAG, "Received intent with action " + action);
112 if (RequestUtils.ACTION_PAUSE.equals(action)) {
114 } else if (RequestUtils.ACTION_PLAY.equals(action)) {
116 } else if (RequestUtils.ACTION_NEXT.equals(action)) {
118 } else if (RequestUtils.ACTION_PREV.equals(action)) {
120 } else if (RequestUtils.ACTION_REW.equals(action)) {
122 } else if (RequestUtils.ACTION_FFWD.equals(action)) {
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DBottomScrollViewTest.java104 public boolean post(Runnable action) { argument
106 action.run();
/frameworks/support/compat/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java63 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
126 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
279 public boolean performAccessibilityAction(View host, int action, Bundle args) {
280 return compat.performAccessibilityAction(host, action, args);
297 public boolean performAccessibilityAction(Object delegate, View host, int action, argument
300 host, action, args);
497 * Performs the specified accessibility action on the view. For
506 * @param action The action to perform.
507 * @return Whether the action wa
512 performAccessibilityAction(View host, int action, Bundle args) argument
[all...]
/frameworks/support/compat/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java44 public static boolean performAction(Object info, int action, Bundle arguments) { argument
45 return ((AccessibilityNodeInfo) info).performAction(action, arguments);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
H A DWizardExample3rdStepFragment.java82 GuidedAction action = new GuidedAction.Builder(getActivity())
87 actions.add(action);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
H A DWizardExample3rdStepFragment.java82 GuidedAction action = new GuidedAction.Builder(getActivity())
87 actions.add(action);
/frameworks/base/core/java/android/widget/
H A DShareActionProvider.java36 * This is a provider for a share action. It is responsible for creating views
40 * Here is how to use the action provider with custom backing file in a {@link MenuItem}:
49 * // Set history different from the default before getting the action
78 * decide whether to perform some action before the sharing is
170 // Lookup and set the expand action icon.
238 * only the action views created by {@link #onCreateActionView()} after setting
243 * action view. You should <strong>not</strong> call
265 * Sets an intent with information about the share action. Here is a
280 final String action = shareIntent.getAction();
281 if (Intent.ACTION_SEND.equals(action) || Inten
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java51 private IntentTile(Host host, String action) { argument
53 mContext.registerReceiver(mReceiver, new IntentFilter(action));
66 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
67 if (action.isEmpty()) {
68 throw new IllegalArgumentException("Empty intent tile spec action");
70 return new IntentTile(host, action);
90 MetricsLogger.action(mContext, getMetricsCategory(), mIntentPackage);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityGestureDetector.java196 * Handle a motion event. If an action is completed, the appropriate
433 int action = event.getActionMasked();
435 if (action == MotionEvent.ACTION_POINTER_DOWN) {
436 action = MotionEvent.ACTION_DOWN;
437 } else if (action == MotionEvent.ACTION_POINTER_UP) {
438 action = MotionEvent.ACTION_UP;
442 return MotionEvent.obtain(mSecondPointerDownTime, event.getEventTime(), action,
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastStats.java55 ActionEntry(String action) { argument
56 mAction = action;
69 public void addBroadcast(String action, String srcPackage, int receiveCount, argument
71 ActionEntry ae = mActions.get(action);
73 ae = new ActionEntry(action);
74 mActions.put(action, ae);
/frameworks/support/compat/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java100 public void addAction(NotificationCompatBase.Action action) { argument
101 mActionExtrasList.add(NotificationCompatJellybean.writeActionAndGetExtras(b, action));
114 // Add the action extras sparse array if any action was added with extras.
141 Notification.Action action = notif.actions[actionIndex];
149 action.icon, action.title, action.actionIntent, actionExtras);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DShareActionProvider.java37 * Provides a share action, which is suitable for an activity's app bar. Creates
42 * <h3 id="add-share-action">Adding a share action</h3>
44 * <p>To add a "share" action to your activity, put a
58 * <code>android:title</code>, in case the action ends up in the overflow
70 * passing the share action's {@link android.view.MenuItem}. For
79 * action, and attach the content shared by the activity. For example, the
88 * the action provider:
105 * <p>The share action provider retains a ranking for each share target,
112 * #DEFAULT_SHARE_HISTORY_FILE_NAME}. Ordinarily, the share action provide
[all...]

Completed in 1075 milliseconds

1234567891011>>