/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | ImageProcessingTest.java | 84 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 D | ImageProcessingTest.java | 99 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 D | PrintService.java | 95 * 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 D | ResolverDrawerLayout.java | 170 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 D | SampleTrustAgent.java | 39 * $ 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 D | IntentFilterVerificationReceiver.java | 77 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 D | CastTile.java | 89 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 D | GestureRecorder.java | 51 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 D | CameraService.java | 78 final String action = intent.getAction(); 79 if (action == null) return; 81 switch (action) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | EnableAccessibilityController.java | 172 final int action = event.getActionMasked(); 174 if (action == MotionEvent.ACTION_UP) { 179 switch (action) {
|
/frameworks/native/cmds/service/ |
H A D | service.cpp | 190 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 D | CarrierServiceBindHelper.java | 277 String action = intent.getAction(); 278 log("Receive action: " + action); 279 switch (action) {
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi21.java | 150 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 D | NavUtils.java | 73 String action = activity.getIntent().getAction(); 74 return action != null && !action.equals(Intent.ACTION_MAIN);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 224 final int action = ev.getAction(); 225 if (action != MotionEvent.ACTION_DOWN && mIgnoreTap) { 233 switch (action) {
|
H A D | ViewCompat.java | 293 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 D | HdmiCecLocalDeviceTv.java | 243 * 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 D | NotificationController.java | 308 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 D | Input.h | 327 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 D | testrunner.py | 521 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 D | FwdLockEngine.cpp | 108 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 D | WifiTracker.java | 501 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 D | RecentsActivity.java | 136 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 D | TouchExplorer.java | 435 // 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 D | NumberPicker.java | 853 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...] |