/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
H A D | ActionHandlerTest.java | 168 mEnv.state.action = State.ACTION_CREATE; 191 mEnv.state.action = State.ACTION_PICK_COPY_DESTINATION; 217 mEnv.state.action = State.ACTION_OPEN_TREE; 244 mEnv.state.action = State.ACTION_CREATE; 273 mEnv.state.action = State.ACTION_CREATE; 284 mEnv.state.action = State.ACTION_GET_CONTENT; 310 mEnv.state.action = State.ACTION_GET_CONTENT; 336 mEnv.state.action = State.ACTION_OPEN; 362 mEnv.state.action = State.ACTION_OPEN; 388 mEnv.state.action 443 testInitLocationDefaultToRecentsOnAction(@ctionType int action) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | CategoryAdapter.java | 55 Action action = getItem(i); 56 action.clearBitmap(); 70 public void add(Action action) { argument 71 super.add(action); 72 action.setAdapter(this); 97 Action action = getItem(position); 98 view.setAction(action, this); 101 if (action.getType() == Action.SPACER) { 108 if (action.getType() == Action.ADD_ACTION 156 Action action 179 remove(Action action) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | LauncherAccessibilityDelegate.java | 143 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 145 && performAction(host, (ItemInfo) host.getTag(), action)) { 148 return super.performAccessibilityAction(host, action, args); 151 public boolean performAction(final View host, final ItemInfo item, int action) { argument 152 if (action == REMOVE) { 155 } else if (action == INFO) { 158 } else if (action == UNINSTALL) { 160 } else if (action == MOVE) { 162 } else if (action == ADD_TO_WORKSPACE) { 189 } else if (action 272 performResizeAction(int action, View host, LauncherAppWidgetInfo info) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
H A D | UserEventDispatcher.java | 205 public void logActionOnControl(int action, int controlType) { argument 207 newTouchAction(action), newTarget(Target.Type.CONTROL)); 215 event.action.isOutside = true; 219 public void logActionOnContainer(int action, int dir, int containerType) { argument 220 logActionOnContainer(action, dir, containerType, 0); 223 public void logActionOnContainer(int action, int dir, int containerType, int pageIndex) { argument 224 LauncherEvent event = newLauncherEvent(newTouchAction(action), 226 event.action.dir = dir; 231 public void logActionOnItem(int action, int dir, int itemType) { argument 234 LauncherEvent event = newLauncherEvent(newTouchAction(action), itemTarge [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
H A D | LauncherInstrumentationTestCase.java | 245 protected void sendPointer(int action, Point point) { argument 247 SystemClock.uptimeMillis(), action, point.x, point.y, 0); 327 public BlockingBroadcastReceiver(String action) { argument 328 mTargetContext.registerReceiver(this, new IntentFilter(action));
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/ |
H A D | OverlayPackagesProviderTest.java | 197 private void buildHelper(String action, boolean leaveAllSystemAppsEnabled) { argument 199 .setProvisioningAction(action) 309 assertTrue("Expected an intent with action ACTION_MAIN",
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | DataModel.java | 25 import com.android.messaging.datamodel.action.Action; 26 import com.android.messaging.datamodel.action.ActionService; 27 import com.android.messaging.datamodel.action.BackgroundWorker; 63 public static final void startActionService(final Action action) { argument 64 get().getActionService().startAction(action); 67 public static final void scheduleAction(final Action action, argument 69 get().getActionService().scheduleAction(action, code, delayMs);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | Action.java | 17 package com.android.messaging.datamodel.action; 26 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener; 27 import com.android.messaging.datamodel.action.ActionMonitor.ActionExecutedListener; 42 // Members holding the parameters common to all actions - no action state 52 * Process the action locally - runs on action service thread. 71 * Queues up background actions for background processing after the current action has 107 * Process the success response from the background worker. Runs on action service thread. 116 * Called in case of failures when sending background actions. Runs on action service thread 140 * Queue an action an [all...] |
H A D | DownloadMmsAction.java | 17 package com.android.messaging.datamodel.action; 65 * Queue download of an mms notification message (can only be called during execute of action) 70 final DownloadMmsAction action = new DownloadMmsAction(); 72 return action.queueAction(messageId, processingAction);
|
H A D | ProcessDownloadedMmsAction.java | 17 package com.android.messaging.datamodel.action; 58 * NOTE: This action must queue a ProcessPendingMessagesAction when it is done (success or failure). 108 final ProcessDownloadedMmsAction action = new ProcessDownloadedMmsAction(); 109 final Bundle params = action.actionParameters; 133 action.start(); 147 final ProcessDownloadedMmsAction action = new ProcessDownloadedMmsAction(); 148 final Bundle params = action.actionParameters; 161 action.start(); 171 final ProcessDownloadedMmsAction action = new ProcessDownloadedMmsAction(); 172 final Bundle params = action [all...] |
H A D | SendMessageAction.java | 17 package com.android.messaging.datamodel.action; 47 * NOTE: This action must queue a ProcessPendingMessagesAction when it is done (success or failure). 56 * Queue sending of existing message (can only be called during execute of action) 60 final SendMessageAction action = new SendMessageAction(); 61 return action.queueAction(messageId, processingAction); 128 // Update action state with parameters needed for background sending
|
H A D | SyncMessagesAction.java | 17 package com.android.messaging.datamodel.action; 85 final SyncMessagesAction action = new SyncMessagesAction(-1L, startTimestamp, 87 action.start(); 129 final SyncMessagesAction action = new SyncMessagesAction(syncLowerBoundTimeMillis, 131 action.start();
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | SmsSender.java | 307 private static Intent getSendStatusIntent(final Context context, final String action, argument 310 final Intent intent = new Intent(action, requestUri, context, SendStatusReceiver.class);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | AbstractConversationListActivity.java | 31 import com.android.messaging.datamodel.action.DeleteConversationAction; 32 import com.android.messaging.datamodel.action.UpdateConversationArchiveStatusAction; 33 import com.android.messaging.datamodel.action.UpdateConversationOptionsAction; 34 import com.android.messaging.datamodel.action.UpdateDestinationBlockedAction; 81 // If action mode is active dismiss it 327 final UpdateDestinationBlockedAction action, 326 onUpdateDestinationBlockedAction( final UpdateDestinationBlockedAction action, final boolean success, final boolean block, final String destination) argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | DebugUtils.java | 33 import com.android.messaging.datamodel.action.DumpDatabaseAction; 34 import com.android.messaging.datamodel.action.LogTelephonyDatabaseAction; 194 * Task to list all the dump files and perform an action on it 200 public DebugSmsMmsDumpTask(final Activity host, final String action) { argument 202 mAction = action;
|
H A D | UiUtils.java | 119 SnackBar.Action action = null; 122 action = SnackBar.Action.createUndoAction(runnable); 125 action = SnackBar.Action.createRetryAction(runnable); 131 showSnackBarWithCustomAction(context, parentView, message, action, interactions, 138 @NonNull final SnackBar.Action action, 143 Assert.notNull(action); 147 .setAction(action) 325 * Called to check if all conditions are nominal and a "go" for some action, such as deleting 381 // AppCompatActionBar has one drawable Field, which is the shadow for the action bar 135 showSnackBarWithCustomAction(final Context context, @NonNull final View parentView, @NonNull final String message, @NonNull final SnackBar.Action action, @Nullable final List<SnackBarInteraction> interactions, @Nullable final Placement placement) argument
|
/packages/apps/Nfc/nci/jni/ |
H A D | RoutingManager.cpp | 619 tNFA_EE_ACTION& action = eventData->action; local 620 if (action.trigger == NFC_EE_TRIG_SELECT) 621 ALOGV("%s: NFA_EE_ACTION_EVT; h=0x%X; trigger=select (0x%X)", fn, action.ee_handle, action.trigger); 622 else if (action.trigger == NFC_EE_TRIG_APP_INIT) 624 tNFC_APP_INIT& app_init = action.param.app_init; 626 action.ee_handle, action.trigger, app_init.len_aid, app_init.len_data); 628 else if (action [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
H A D | DialpadKeyButton.java | 39 * perform a click action 41 * of time will switch to the long-click action 43 * to the normal click action 135 public boolean performAccessibilityAction(int action, Bundle arguments) { argument 136 if (action == AccessibilityNodeInfo.ACTION_CLICK) { 141 return super.performAccessibilityAction(action, arguments); 147 // the button's hover target bounds should perform a click action. 207 // setting the pressed state but before performing the action.
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | QsbApplication.java | 128 public void runOnUiThread(Runnable action) { argument 129 getMainThreadHandler().post(action);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | PreviewPagerAdapter.java | 121 void setAnimationEndAction(Runnable action) { argument 122 mAnimationEndAction = action;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppHeaderController.java | 234 private void bindButton(ImageButton button, @ActionType int action) { argument 238 switch (action) {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | LabeledSeekBar.java | 147 protected boolean onPerformActionForVirtualView(int virtualViewId, int action, argument 154 switch (action) {
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
H A D | NotificationController.java | 43 * Intent action for if the user taps "Turn on" for the automatic storage manager. 49 * Intent action for if the user swipes the notification away. 55 * Intent action for if the user explicitly hits "No thanks" on the notification. 61 * Intent action to maybe show the ASM upsell notification. 67 * Intent action for forcefully showing the notification, even if the conditions are not valid. 73 * Intent action for if the user taps on the notification. 290 Intent getBaseIntent(Context context, String action) { argument 291 return new Intent(context, NotificationController.class).setAction(action);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
H A D | SeriesSettingsFragment.java | 65 // Each channel's action id = SUB_ACTION_ID_CHANNEL_ONE_BASE + channel id 204 public void onGuidedActionClicked(GuidedAction action) { argument 205 long actionId = action.getId(); 260 public boolean onSubGuidedActionClicked(GuidedAction action) { argument 261 long actionId = action.getId();
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
H A D | SetupSourcesFragment.java | 54 * The action category for the actions which is fired from this fragment. 59 * An action to open the merchant collection. 63 * An action to show the setup activity of TV input. 65 * This action is not added to the action list. This is sent outside of the fragment. 71 * The key for the action parameter which contains the TV input ID. It's used for the action 325 // online store action 346 public void onGuidedActionClicked(GuidedAction action) { argument 347 if (action 377 onBindViewHolder(ViewHolder vh, GuidedAction action) argument [all...] |