Searched refs:action (Results 201 - 225 of 470) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingTest.java84 public void runOnUiThread(Runnable action) { argument
85 synchronized(action) {
86 mActivity.runOnUiThread(action);
88 action.wait();
90 Log.v(TAG, "waiting for action running on UI thread is interrupted: " +
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingTest.java99 public void runOnUiThread(Runnable action) { argument
100 synchronized(action) {
101 mActivity.runOnUiThread(action);
103 action.wait();
105 Log.v(TAG, "waiting for action running on UI thread is interrupted: " +
/frameworks/base/core/java/android/printservice/
H A DPrintService.java95 * is triggered exclusively by an explicit user action through enabling or disabling it
107 * also specify that it handles the {@link android.content.Intent} with action {@link
119 * <action android:name="android.printservice.PrintService" />
138 * <action android:name="android.printservice.PrintService" />
161 * The {@link Intent} action that must be declared as handled by a service
438 final int action = message.what;
439 switch (action) {
557 throw new IllegalArgumentException("Unknown message: " + action);
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java170 final int action = ev.getActionMasked();
172 if (action == MotionEvent.ACTION_DOWN) {
178 switch (action) {
222 final int action = ev.getActionMasked();
227 switch (action) {
600 public boolean onNestedPrePerformAccessibilityAction(View target, int action, Bundle args) { argument
601 if (super.onNestedPrePerformAccessibilityAction(target, action, args)) {
605 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD && mCollapseOffset != 0) {
637 public boolean performAccessibilityActionInternal(int action, Bundle arguments) { argument
638 if (action
[all...]
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java39 * $ adb shell am broadcast -a action.sample_trust_agent.grant_trust\
48 private static final String ACTION_GRANT_TRUST = "action.sample_trust_agent.grant_trust";
49 private static final String ACTION_REVOKE_TRUST = "action.sample_trust_agent.revoke_trust";
143 String action = intent.getAction();
144 if (ACTION_GRANT_TRUST.equals(action)) {
159 } else if (ACTION_REVOKE_TRUST.equals(action)) {
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DIntentFilterVerificationReceiver.java77 final String action = intent.getAction();
78 if (Intent.ACTION_INTENT_FILTER_NEEDS_VERIFICATION.equals(action)) {
134 Log.w(TAG, "Intent action not supported: " + action);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DCastTile.java89 MetricsLogger.action(mContext, getMetricsCategory());
250 MetricsLogger.action(mContext, MetricsLogger.QS_CAST_SELECT);
258 MetricsLogger.action(mContext, MetricsLogger.QS_CAST_DISCONNECT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java51 String actionName(int action) { argument
52 switch (action) {
62 return String.valueOf(action);
67 ("{\"type\":\"motion\", \"time\":%d, \"action\":\"%s\", "
/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraService.java78 final String action = intent.getAction();
79 if (action == null) return;
81 switch (action) {
/frameworks/base/services/core/java/com/android/server/policy/
H A DEnableAccessibilityController.java172 final int action = event.getActionMasked();
174 if (action == MotionEvent.ACTION_UP) {
179 switch (action) {
/frameworks/native/cmds/service/
H A Dservice.cpp190 char* action = NULL; local
210 if (strcmp(key, "action") == 0)
212 action = value;
246 writeString16(data, action);
310 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierServiceBindHelper.java277 String action = intent.getAction();
278 log("Receive action: " + action);
279 switch (action) {
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java150 public void onCustomAction(String action, Bundle extras); argument
232 public void onCustomAction(String action, Bundle extras) { argument
233 mCallback.onCustomAction(action, extras);
/frameworks/support/v4/java/android/support/v4/app/
H A DNavUtils.java73 String action = activity.getIntent().getAction();
74 return action != null && !action.equals(Intent.ACTION_MAIN);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java224 final int action = ev.getAction();
225 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) {
233 switch (action) {
H A DViewCompat.java293 public void postOnAnimation(View view, Runnable action); argument
294 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis); argument
298 public boolean performAccessibilityAction(View view, int action, Bundle arguments); argument
441 public void postOnAnimation(View view, Runnable action) { argument
442 view.postDelayed(action, getFrameTime());
444 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
445 view.postDelayed(action, getFrameTime() + delayMillis);
459 public boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
1243 public void postOnAnimation(View view, Runnable action) { argument
1244 ViewCompatJB.postOnAnimation(view, action);
1247 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
1265 performAccessibilityAction(View view, int action, Bundle arguments) argument
1803 postOnAnimation(View view, Runnable action) argument
1820 postOnAnimationDelayed(View view, Runnable action, long delayMillis) argument
1880 performAccessibilityAction(View view, int action, Bundle arguments) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java243 * Performs the action 'device select', or 'one touch play' initiated by TV.
432 List<SendKeyAction> action = getActions(SendKeyAction.class);
438 if (!action.isEmpty()) {
439 action.get(0).processKeyEvent(keyCode, isPressed);
589 // promptly, rather than waiting till the new device action is finished.
630 for (NewDeviceAction action : getActions(NewDeviceAction.class)) {
631 // If there is new device action which has the same logical address and path
639 if (action.isActionOf(activeSource)) {
765 DeviceDiscoveryAction action = new DeviceDiscoveryAction(this,
774 // device discovery action doe
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java308 String action = intent.getAction();
309 if (action != null && action.startsWith(INTENT_ACTION_CANCEL_PRINTJOB)) {
312 } else if (action != null && action.startsWith(INTENT_ACTION_RESTART_PRINTJOB)) {
/frameworks/native/include/input/
H A DInput.h327 int32_t action,
366 inline void setAction(int32_t action) { mAction = action; } argument
540 int32_t action,
575 static bool isTouchEvent(int32_t source, int32_t action);
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py521 parser.add_option('-d', '--device', action='callback', callback=_set_adb_device,
523 parser.add_option('-e', '--emulator', action='callback', callback=_set_adb_device,
525 parser.add_option('-s', '--serial', type="str", action='callback', callback=_set_adb_device,
527 parser.add_option('-C', '--no-color', action='store_false',
530 parser.add_option('-q', '--quiet', action='store_true',
533 parser.add_option('-b', '--no-build', action='store_false',
536 parser.add_option('-k', '--continue', action='store_true',
539 parser.add_option('-i', '--test-idmap', action='store_true',
542 parser.add_option('-0', '--test-no-overlay', action='store_true',
545 parser.add_option('-1', '--test-single-overlay', action
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument
114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) {
265 int action) {
270 // Only Transfer action is not allowed for forward Lock files.
272 switch(action) {
295 int action,
304 int action,
309 return (onCheckRightsStatus(uniqueId, path, action) == RightsStatus::RIGHTS_VALID);
263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument
293 onConsumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument
302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiTracker.java501 String action = intent.getAction();
502 if (WifiManager.WIFI_STATE_CHANGED_ACTION.equals(action)) {
505 } else if (WifiManager.SCAN_RESULTS_AVAILABLE_ACTION.equals(action) ||
506 WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION.equals(action) ||
507 WifiManager.LINK_CONFIGURATION_CHANGED_ACTION.equals(action)) {
509 } else if (WifiManager.NETWORK_STATE_CHANGED_ACTION.equals(action)) {
519 } else if (WifiManager.RSSI_CHANGED_ACTION.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java136 String action = intent.getAction();
137 if (action.equals(Recents.ACTION_HIDE_RECENTS_ACTIVITY)) {
147 } else if (action.equals(Recents.ACTION_TOGGLE_RECENTS_ACTIVITY)) {
150 } else if (action.equals(Recents.ACTION_START_ENTER_ANIMATION)) {
166 String action = intent.getAction();
167 if (action.equals(Intent.ACTION_SCREEN_OFF)) {
170 } else if (action.equals(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED)) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DTouchExplorer.java435 // We got a tap now post a long press action.
883 final int action = computeInjectionAction(MotionEvent.ACTION_DOWN, i);
884 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
939 final int action = computeInjectionAction(MotionEvent.ACTION_UP, i);
940 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
966 * @param action The action of the event.
970 private void sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits, argument
972 prototype.setAction(action);
980 if (action
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java853 final int action = event.getActionMasked();
854 switch (action) {
910 int action = event.getActionMasked();
911 switch (action) {
975 final int action = event.getActionMasked();
976 switch (action) {
1024 final int action = event.getActionMasked();
1025 switch (action) {
1049 final int action = event.getActionMasked();
1052 switch (action) {
2369 performAction(int virtualViewId, int action, Bundle arguments) argument
[all...]

Completed in 3511 milliseconds

1234567891011>>