Searched defs:action (Results 1 - 25 of 51) sorted by relevance

123

/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java43 public NdefPushProtocol(NdefMessage msg, byte action) { argument
46 mActions[0] = action;
100 // Read action
104 Log.w(TAG, "Unable to read action for message " + i);
/packages/apps/Phone/tests/src/com/android/phone/tests/
H A DCallDialTest.java110 private void fireIntent(String action) { argument
111 log("fireIntent(action = '" + action + "')...");
135 Intent intent = new Intent(action, uri);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DVoicemailCleanupServiceTest.java48 // No action on PACKAGE_CHANGED.
52 // No action on PACKAGE_REPLACED.
56 // No action on PACKAGE_REMOVED with EXTRA_REPLACING = true.
71 private void sendIntent(String sourcePackage, String action, Boolean replacingExtra) { argument
72 Intent packageIntent = new Intent(action, Uri.parse("package:" + sourcePackage));
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactListFragment.java93 // Set action title based on summary value
94 final Action action = mActions.get(position);
95 String mimeType = action.getMimeType();
116 actionsContainer.setTag(action);
118 alternateActionButton.setTag(action);
120 final boolean hasAlternateAction = action.getAlternateIntent() != null;
122 alternateActionButton.setImageDrawable(action.getAlternateIcon());
123 alternateActionButton.setContentDescription(action.getAlternateIconDescription());
129 R.string.description_dial_phone_number, action.getBody()));
132 .getString(R.string.description_send_message, action
178 onItemClicked(Action action, boolean alternate) argument
[all...]
H A DResolveCache.java118 protected Entry getEntry(Action action) { argument
119 final String mimeType = action.getMimeType();
124 Intent intent = action.getIntent();
196 public boolean hasResolve(Action action) { argument
197 return getEntry(action).bestResolve != null;
204 public CharSequence getDescription(Action action) { argument
205 final CharSequence actionSubtitle = action.getSubtitle();
206 final ResolveInfo info = getEntry(action).bestResolve;
221 public Drawable getIcon(Action action) { argument
222 return getEntry(action)
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DRegisteredComponentCache.java54 public RegisteredComponentCache(Context context, String action, String metaDataName) { argument
56 mAction = action;
H A DNfcDispatcher.java125 private Intent buildTagIntent(Tag tag, NdefMessage[] msgs, String action) { argument
126 Intent intent = new Intent(action);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java65 String action = intent.getAction();
66 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
68 } else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
71 if (DBG) Log.d(TAG, "Unhandled intent action=" + action);
107 private static Intent createQsbActivityIntent(Context context, String action, argument
109 Intent qsbIntent = new Intent(action);
/packages/wallpapers/Basic/src/com/android/wallpaper/
H A DRenderScriptScene.java89 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
H A DRenderScriptWallpaper.java110 public Bundle onCommand(String action, int x, int y, int z, argument
112 return mRenderer.onCommand(action, x, y, z, extras, resultRequested);
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
H A DNexusRS.java159 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
171 if (WallpaperManager.COMMAND_TAP.equals(action)
172 || WallpaperManager.COMMAND_SECONDARY_TAP.equals(action)
173 || WallpaperManager.COMMAND_DROP.equals(action)) {
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
H A DGalaxy4Wallpaper.java100 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
103 // return mWallpaperRS.onCommand(action, x, y, z, extras, resultRequested);
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralWallpaper.java100 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
103 return mWallpaperRS.onCommand(action, x, y, z, extras, resultRequested);
H A DHoloSpiralRS.java82 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptWallpaper.java115 public Bundle onCommand(String action, int x, int y, int z, argument
117 return mRenderer.onCommand(action, x, y, z, extras, resultRequested);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
H A DRenderScriptScene.java90 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
H A DRenderScriptWallpaper.java119 public Bundle onCommand(String action, int x, int y, int z, argument
121 return mRenderer.onCommand(action, x, y, z, extras, resultRequested);
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
H A DPhaseBeamWallpaper.java91 public Bundle onCommand(String action, int x, int y, int z, Bundle extras, argument
/packages/apps/Contacts/src/com/android/contacts/voicemail/
H A DVoicemailStatusHelperImpl.java77 * string and the corrective action. The states are also assigned a relative priority which is
100 * This is normal mode of operation for certain sources. No action needed.
103 /** Visual voicemail not yet set up. No local action needed. */
115 private OverallState(int priority, Action action, int callLogMessageId) { argument
116 this(priority, action, callLogMessageId, -1);
119 private OverallState(int priority, Action action, int callLogMessageId, argument
122 mAction = action;
214 final Action action = overallState.getAction();
216 // No source package or no action, means no message shown.
217 if (action
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActionBar.java45 public int action; field in class:GalleryActionBar.ActionItem
52 public ActionItem(int action, boolean applied, boolean enabled, int title, argument
54 this(action, applied, enabled, title, title, clusterBy);
57 public ActionItem(int action, boolean applied, boolean enabled, int spinnerTitle, argument
59 this.action = action;
92 return sClusterItems[position].action;
135 mActions.add(item.action);
144 if (item.action == id) {
153 if (item.action
182 showClusterMenu(int action, ClusterRunner runner) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DMenuExecutor.java178 int action = menuItem.getItemId();
179 switch (action) {
229 startAction(action, title, listener);
233 public void startAction(int action, int title, ProgressListener listener) { argument
239 MediaOperation operation = new MediaOperation(action, ids, listener);
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLViewTest.java347 private MotionEvent NewMotionEvent(int action, int x, int y) { argument
348 return MotionEvent.obtain(0, 0, action, x, y, 0);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothEventManager.java58 void addHandler(String action, Handler handler) { argument
59 mHandlerMap.put(action, handler);
60 mAdapterIntentFilter.addAction(action);
63 void addProfileHandler(String action, Handler handler) { argument
64 mHandlerMap.put(action, handler);
65 mProfileIntentFilter.addAction(action);
144 String action = intent.getAction();
148 Handler handler = mHandlerMap.get(action);
/packages/apps/Settings/src/com/android/settings/quicklaunch/
H A DBookmarkPicker.java263 private static Intent getIntentForResolveInfo(ResolveInfo info, String action) { argument
264 Intent intent = new Intent(action);
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DSmartPoster.java82 * treated. For example, the action may indicate that the device should
85 * the service. If the action record exists, it should be treated as
104 @Nullable ImageRecord image, RecommendedAction action,
109 mAction = Preconditions.checkNotNull(action);
141 RecommendedAction action = parseRecommendedAction(recordsRaw);
144 return new SmartPoster(uri, title, image, action, type);
208 for (RecommendedAction action : RecommendedAction.values()) {
209 builder.put(action.getByte(), action);
240 byte action
103 SmartPoster(UriRecord uri, @Nullable TextRecord title, @Nullable ImageRecord image, RecommendedAction action, @Nullable String type) argument
[all...]

Completed in 432 milliseconds

123