Searched refs:action (Results 126 - 150 of 668) sorted by relevance

1234567891011>>

/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompat.java55 public boolean performAction(int virtualViewId, int action,
57 return compat.performAction(virtualViewId, action, arguments);
105 int virtualViewId, int action, Bundle arguments) {
106 return compat.performAction(virtualViewId, action, arguments);
222 * Performs an accessibility action on a virtual view, i.e. a descendant of the
227 * @param action The action to perform.
229 * @return True if the action was performed.
234 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaButtonReceiver.java44 * <action android:name="android.intent.action.MEDIA_BUTTON" />
57 * <action android:name="android.intent.action.MEDIA_BUTTON" />
148 * Creates a broadcast pending intent that will send a media button event. The {@code action}
150 * registered media button receiver in the given context. The {@code action} should be one of
164 * @param action The action to be sent via the pending intent.
166 * receiver or if the {@code action} is unsupported/invalid.
169 @MediaKeyAction long action) {
168 buildMediaButtonPendingIntent(Context context, @MediaKeyAction long action) argument
201 buildMediaButtonPendingIntent(Context context, ComponentName mbrComponent, @MediaKeyAction long action) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java111 final int action = ev.getActionMasked();
112 if (action == MotionEvent.ACTION_DOWN) {
118 if (action == MotionEvent.ACTION_DOWN && !handled) {
123 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
135 final int action = ev.getActionMasked();
136 if (action == MotionEvent.ACTION_HOVER_ENTER) {
142 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) {
147 if (action == MotionEvent.ACTION_HOVER_EXIT
148 || action
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp1552 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action);
1558 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action);
1590 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action);
1605 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action);
1622 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action);
1639 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action);
1656 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action);
1673 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action);
1816 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action);
1825 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action);
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DPackageMonitor.java305 String action = intent.getAction();
306 if (Intent.ACTION_PACKAGE_ADDED.equals(action)) {
332 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
358 } else if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
372 } else if (Intent.ACTION_PACKAGE_DATA_CLEARED.equals(action)) {
378 } else if (Intent.ACTION_QUERY_PACKAGE_RESTART.equals(action)) {
385 } else if (Intent.ACTION_PACKAGE_RESTARTED.equals(action)) {
390 } else if (Intent.ACTION_UID_REMOVED.equals(action)) {
392 } else if (Intent.ACTION_USER_STOPPED.equals(action)) {
396 } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action)) {
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityMetricsLogger.java165 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_COMPONENT_NAME,
167 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_PROCESS_RUNNING,
169 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_DEVICE_UPTIME_SECONDS,
180 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS,
196 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_STARTING_WINDOW_DELAY_MS,
210 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_REASON, reason);
211 MetricsLogger.action(mContext, MetricsEvent.APP_TRANSITION_DELAY_MS,
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskTapPointerEventListener.java66 final int action = motionEvent.getAction();
67 switch (action & MotionEvent.ACTION_MASK) {
142 final int action = motionEvent.getAction() & MotionEvent.ACTION_MASK;
146 if (mInGestureDetection || action == MotionEvent.ACTION_DOWN && isTouchInside) {
150 && action != MotionEvent.ACTION_UP
151 && action != MotionEvent.ACTION_POINTER_UP
152 && action != MotionEvent.ACTION_CANCEL;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSmoothScroller.java111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
117 action.update(-dx, -dy, time, mDecelerateInterpolator);
125 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument
140 updateActionForInterimTarget(action);
230 protected void updateActionForInterimTarget(Action action) { argument
235 action.jumpTo(target);
248 action.update((int) (mInterimTargetDx * TARGET_SEEK_EXTRA_SCROLL_RATIO)
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java70 private CustomTile(QSTileHost host, String action) { argument
73 mComponent = ComponentName.unflattenFromString(action);
266 MetricsLogger.action(mContext, getMetricsCategory(), mComponent.getPackageName());
338 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
339 if (action.isEmpty()) {
340 throw new IllegalArgumentException("Empty custom tile spec action");
342 return ComponentName.unflattenFromString(action);
349 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
350 if (action.isEmpty()) {
351 throw new IllegalArgumentException("Empty custom tile spec action");
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp108 intentFilterAction[u"action"];
117 manifestAction.action(verifyManifest);
118 manifestAction.action([&](xml::Element* el) -> bool {
143 manifestAction[u"uses-sdk"].action([&](xml::Element* el) -> bool {
163 manifestAction[u"instrumentation"].action([&](xml::Element* el) -> bool {
189 applicationAction.action(optionalNameIsJavaClassName);
195 applicationAction[u"activity"].action(requiredNameIsJavaClassName);
204 applicationAction[u"service"].action(requiredNameIsJavaClassName);
209 applicationAction[u"receiver"].action(requiredNameIsJavaClassName);
214 applicationAction[u"provider"].action(requiredNameIsJavaClassNam
[all...]
/frameworks/base/core/java/android/widget/
H A DViewFlipper.java71 final String action = intent.getAction();
72 if (Intent.ACTION_SCREEN_OFF.equals(action)) {
75 } else if (Intent.ACTION_USER_PRESENT.equals(action)) {
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DSuggestionsPopupwindowUtils.java34 import android.support.test.espresso.action.GeneralLocation;
35 import android.support.test.espresso.action.Press;
36 import android.support.test.espresso.action.Tap;
95 * Click action to avoid checking ViewClickAction#getConstraints().
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerActivity.java39 final String action = getIntent().getAction();
40 boolean showDemoMode = action != null && action.equals(
41 "com.android.settings.action.DEMO_MODE");
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockUtils.java69 public static Intent checkIntentAction(final String action) { argument
74 return Objects.equal(((Intent) item).getAction(), action);
79 description.appendText("Intent: action=\"" + action + "\"");
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h73 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
90 int checkRightsStatus(int uniqueId, const String8& path, int action);
92 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
98 int uniqueId, const String8& path, int action, const ActionDescription& description);
H A DDrmManagerClientImpl.h79 * @param[in] action Actions defined such as,
86 virtual DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
175 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc)
179 virtual int checkRightsStatus(int uniqueId, const String8& path, int action);
188 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
193 virtual status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
200 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
210 * Validates whether an action on the DRM content is allowed or not.
214 * @param[in] action Action to validate (Action::PLAY, Action::TRANSFER, etc)
215 * @param[in] description Detailed description of the action
[all...]
H A DDrmManagerService.h79 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action);
96 int checkRightsStatus(int uniqueId, const String8& path,int action);
98 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve);
104 int action, const ActionDescription& description);
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DIDrmEngine.h97 * @param[in] action Actions defined such as,
105 int uniqueId, const String8* path, int action) = 0;
194 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc)
198 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0;
207 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
213 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) = 0;
220 * @param[in] playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
230 * Validates whether an action on the DRM content is allowed or not.
234 * @param[in] action Action to validate (Action::PLAY, Action::TRANSFER, etc)
235 * @param[in] description Detailed description of the action
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h50 * @param action Actions defined such as,
57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action);
180 * @param action Action to perform (Action::DEFAULT, Action::PLAY, etc)
186 int action);
195 * @param action Action to perform. (Action::DEFAULT, Action::PLAY, etc)
202 int action,
210 * @param playbackStatus Playback action (Playback::START, Playback::STOP, Playback::PAUSE)
229 * Validates whether an action on the DRM content is allowed or not.
233 * @param action Action to validate (Action::PLAY, Action::TRANSFER, etc)
234 * @param description Detailed description of the action
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl57 int action, in Bundle arguments, int interactionId,
66 boolean performGlobalAction(int action);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java160 * @param action Name of the command to be performed. This <em>must</em>
165 public void appPrivateCommand(String action, Bundle data); argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLocalPreferences.java54 public static boolean getShowDeviceRoot(Context context, @ActionType int action) { argument
55 return getPrefs(context).getBoolean(INCLUDE_DEVICE_ROOT + action, false);
59 Context context, @ActionType int action, boolean display) {
60 getPrefs(context).edit().putBoolean(INCLUDE_DEVICE_ROOT + action, display).apply();
58 setShowDeviceRoot( Context context, @ActionType int action, boolean display) argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java71 final String action = intent.getAction();
72 if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) {
75 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION) ||
76 action.equals(ConnectivityManager.INET_CONDITION_ACTION)) {
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DDeviceIdleJobsController.java82 final String action = intent.getAction();
83 if (PowerManager.ACTION_LIGHT_DEVICE_IDLE_MODE_CHANGED.equals(action)
84 || PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED.equals(action)) {
89 } else if (PowerManager.ACTION_POWER_SAVE_WHITELIST_CHANGED.equals(action)) {
/frameworks/native/services/inputflinger/
H A DInputListener.h59 int32_t action; member in struct:android::NotifyKeyArgs
69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
86 int32_t action; member in struct:android::NotifyMotionArgs
103 int32_t action, int32_t actionButton, int32_t flags,

Completed in 914 milliseconds

1234567891011>>