/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 589 private CustomAction(String action, CharSequence name, int icon, Bundle extras) { argument 590 mAction = action; 676 * Returns the action of the {@link CustomAction}. 678 * @return The action of the {@link CustomAction}. 685 * Returns the display name of this action. e.g. "Favorite" 706 * information about the action, or null if none. These arguments are 737 * @param action The action of the {@link CustomAction}. 739 * name will be displayed along side the action if the UI 744 * the custom action i 746 Builder(String action, CharSequence name, int icon) argument 974 addCustomAction(String action, String name, int icon) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | NotificationCompatImplBase.java | 78 "setShowActionsInCompactView: action %d out of bounds (max %d)", 82 final NotificationCompatBase.Action action = actions.get(actionsToShowInCompact[i]); 83 final RemoteViews button = generateMediaActionButton(context, action); 142 NotificationCompatBase.Action action) { 143 final boolean tombstone = (action.getActionIntent() == null); 146 button.setImageViewResource(R.id.action0, action.getIcon()); 148 button.setOnClickPendingIntent(R.id.action0, action.getActionIntent()); 151 button.setContentDescription(R.id.action0, action.getTitle()); 141 generateMediaActionButton(Context context, NotificationCompatBase.Action action) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarPolicy.java | 520 String action = intent.getAction(); 521 if (action.equals(AlarmManager.ACTION_NEXT_ALARM_CLOCK_CHANGED)) { 523 } else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION) || 524 action.equals(AudioManager.INTERNAL_RINGER_MODE_CHANGED_ACTION)) { 526 } else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 528 } else if (action.equals(TelecomManager.ACTION_CURRENT_TTY_MODE_CHANGED)) { 530 } else if (action.equals(Intent.ACTION_MANAGED_PROFILE_AVAILABLE) || 531 action.equals(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE) || 532 action.equals(Intent.ACTION_MANAGED_PROFILE_REMOVED)) { 535 } else if (action [all...] |
H A D | touch_analytics.proto | 53 optional Action action = 2;
|
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 228 final int action = event.getAction(); 230 if (action == MotionEvent.ACTION_UP) { 241 if (action == MotionEvent.ACTION_DOWN) { 258 if (action == MotionEvent.ACTION_MOVE) { 277 } else if (action == MotionEvent.ACTION_UP) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 224 int action = event.getActionMasked(); 225 final boolean pointerUp = action == MotionEvent.ACTION_POINTER_UP; 241 if (action == MotionEvent.ACTION_DOWN) { 248 } else if (action == MotionEvent.ACTION_UP) { 270 switch (action) {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PermissionMonitor.java | 81 String action = intent.getAction(); 87 if (Intent.ACTION_USER_ADDED.equals(action)) { 89 } else if (Intent.ACTION_USER_REMOVED.equals(action)) { 91 } else if (Intent.ACTION_PACKAGE_ADDED.equals(action)) { 93 } else if (Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
H A D | DemoModeController.java | 93 final int action = event.getAction(); 94 if (action == MotionEvent.ACTION_DOWN) { 106 if (action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_UP) { 111 if (action != MotionEvent.ACTION_MOVE) return false;
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 68 int32_t action; member in struct:android::InputMessage::Body::Key 86 int32_t action; member in struct:android::InputMessage::Body::Motion 105 uint32_t index = (action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) 214 int32_t action, 235 int32_t action,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | AbstractMediaItemPresenter.java | 51 * media details or each individual action views. 106 * Sets the action presenter rendering each optional custom action within each media item row. 175 * (or reusing the existing) action view holders, and populating them with the actions' 235 int findActionIndex(MultiActionsProvider.MultiAction action) { argument 238 if (mMediaItemRowActions[i] == action) { 247 * Notifies an action has changed in this media row and the UI needs to be updated 248 * @param action The action whose state has changed 250 public void notifyActionChanged(MultiActionsProvider.MultiAction action) { argument [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 247 int32_t action, 257 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d," 260 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 274 msg.body.key.action = action; 289 int32_t action, 306 "action=0x%x, actionButton=0x%08x, flags=0x%x, edgeFlags=0x%x, " 311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState, 331 msg.body.motion.action = action; 243 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument 285 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 151 String action = intent.getAction(); 152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 185 String action = intent.getAction(); 187 if (action.equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) { 190 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 198 } else if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 202 } else if (action.equals(WifiManager.WIFI_AP_STATE_CHANGED_ACTION)) { 219 String action = intent.getAction(); 222 if (action.equals(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 259 final int action = ev.getAction(); 260 if (DEBUG_SCALE) Log.d(TAG, "intercept: act=" + MotionEvent.actionToString(action) + 281 if ((action == MotionEvent.ACTION_MOVE) && 0 != (mExpansionStyle & BLINDS)) { 285 switch (action & MotionEvent.ACTION_MASK) { 340 int action = event.getActionMasked(); 341 switch(action) { 397 final int action = ev.getActionMasked(); 398 if (DEBUG_SCALE) Log.d(TAG, "touch: act=" + MotionEvent.actionToString(action) + 412 switch (action) {
|
H A D | GuestResumeSessionReceiver.java | 56 String action = intent.getAction(); 58 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemotePlaybackClient.java | 330 final ItemActionCallback callback, String action) { 335 if (action.equals(MediaControlIntent.ACTION_ENQUEUE)) { 339 Intent intent = new Intent(action); 799 private boolean routeSupportsAction(String action) { argument 800 return mRoute.supportsControlAction(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK, action); 889 String action = intent.getAction(); 890 if (action.equals(ACTION_ITEM_STATUS_CHANGED)) { 915 } else if (action.equals(ACTION_SESSION_STATUS_CHANGED)) { 931 } else if (action.equals(ACTION_MESSAGE_RECEIVED)) { 328 playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, final ItemActionCallback callback, String action) argument
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 51 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these 85 * the <strong>action</strong> and <strong>category</strong> must match, and 92 * Intent action; if the filter specifies no actions, then it will only match 93 * Intents that do not contain an action. 137 * that unlike the action, an IntentFilter with no categories 153 private static final String ACTION_STR = "action"; 356 * Create a new IntentFilter instance with a specified action and MIME 361 * @param action The action to match, i.e. Intent.ACTION_VIEW. 364 * @return A new IntentFilter for the given action an 368 create(String action, String dataType) argument 391 IntentFilter(String action) argument 413 IntentFilter(String action, String dataType) argument 645 addAction(String action) argument 673 hasAction(String action) argument 685 matchAction(String action) argument 1483 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputContext.aidl | 71 void performPrivateCommand(String action, in Bundle data);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditableInputConnection.java | 166 public boolean performPrivateCommand(String action, Bundle data) { argument 167 mTextView.onPrivateIMECommand(action, data);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 129 public int runLaunchpad(String action) { argument 133 mIntent.setAction(action);
|
/frameworks/base/media/java/android/media/session/ |
H A D | ISessionController.aidl | 70 void sendCustomAction(String action, in Bundle args);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PickFragment.java | 99 * @param action Which action defined in State is the picker shown for. 102 int action, @OpType int copyOperationSubType, DocumentInfo pickTarget) { 105 mAction = action; 101 setPickTarget( int action, @OpType int copyOperationSubType, DocumentInfo pickTarget) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | AnglesClassifier.java | 63 int action = event.getActionMasked(); 65 if (action == MotionEvent.ACTION_DOWN) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | LocationTile.java | 82 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled); 89 MetricsLogger.action(mContext, getMetricsCategory(), !wasEnabled);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDebuggingActivity.java | 92 String action = intent.getAction(); 93 if (!UsbManager.ACTION_USB_STATE.equals(action)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | BroadcastInterceptingContext.java | 85 public Future<Intent> nextBroadcastIntent(String action) { argument 86 return nextBroadcastIntent(new IntentFilter(action));
|