Searched refs:action (Results 1 - 25 of 424) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnActionClickedListener.java17 * Interface for receiving notification when an action is clicked.
21 public void onActionClicked(Action action); argument
H A DDetailsOverviewRow.java102 * @param action The Action to add.
104 public final void addAction(Action action) { argument
105 mActions.add(action);
112 * @param action The Action to add.
114 public final void addAction(int pos, Action action) { argument
115 mActions.add(pos, action);
121 * @param action The Action to remove.
124 public final boolean removeAction(Action action) { argument
125 return mActions.remove(action);
H A DControlButtonPresenterSelector.java88 Action action = (Action) item;
90 vh.mIcon.setImageDrawable(action.getIcon());
92 if (action.getIcon() == null) {
93 vh.mLabel.setText(action.getLabel1());
98 CharSequence contentDescription = TextUtils.isEmpty(action.getLabel2()) ?
99 action.getLabel1() : action.getLabel2();
H A DActionPresenterSelector.java31 Action action = (Action) item;
32 if (TextUtils.isEmpty(action.getLabel2())) {
61 Action action = (Action) item;
63 vh.mAction = action;
64 vh.mButton.setText(action.getLabel1());
83 Action action = (Action) item;
85 Drawable icon = action.getIcon();
86 vh.mAction = action;
105 CharSequence line1 = action.getLabel1();
106 CharSequence line2 = action
[all...]
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationBuilderWithActions.java23 public void addAction(NotificationCompatBase.Action action); argument
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi21.java33 static void addAction(Object info, Object action) { argument
34 ((AccessibilityNodeInfo) info).addAction((AccessibilityAction) action);
59 static int getAccessibilityActionId(Object action) { argument
60 return ((AccessibilityNodeInfo.AccessibilityAction) action).getId();
63 static CharSequence getAccessibilityActionLabel(Object action) { argument
64 return ((AccessibilityNodeInfo.AccessibilityAction) action).getLabel();
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java45 public static void postOnAnimation(View view, Runnable action) { argument
46 view.postOnAnimation(action);
49 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { argument
50 view.postOnAnimationDelayed(action, delayMillis);
61 public static boolean performAccessibilityAction(View view, int action, Bundle arguments) { argument
62 return view.performAccessibilityAction(action, arguments);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterDeactivateAll.java50 String action = intent.getAction();
51 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
52 if (action.equals(sActionDcTesterDeactivateAll)
53 || action.equals(mPhone.getActionDetached())) {
63 if (DBG) log("onReceive: unknown action=" + action);
76 log("register for intent action=" + sActionDcTesterDeactivateAll);
79 log("register for intent action=" + mPhone.getActionDetached());
H A DDcTesterFailBringUpAll.java56 String action = intent.getAction();
57 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
58 if (action.equals(mActionFailBringUp)) {
60 } else if (action.equals(mPhone.getActionDetached())) {
66 } else if (action.equals(mPhone.getActionAttached())) {
72 if (DBG) log("onReceive: unknown action=" + action);
83 log("register for intent action=" + mActionFailBringUp);
86 log("register for intent action
[all...]
/frameworks/support/v4/api20/android/support/v4/app/
H A DNotificationCompatApi20.java85 public void addAction(NotificationCompatBase.Action action) { argument
86 NotificationCompatApi20.addAction(b, action);
100 public static void addAction(Notification.Builder b, NotificationCompatBase.Action action) { argument
102 action.getIcon(), action.getTitle(), action.getActionIntent());
103 if (action.getRemoteInputs() != null) {
105 action.getRemoteInputs())) {
109 if (action.getExtras() != null) {
110 actionBuilder.addExtras(action
121 getActionCompatFromAction( Notification.Action action, NotificationCompatBase.Action.Factory actionFactory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DPackageReceiver.java33 final String action = intent.getAction();
34 if (Intent.ACTION_PACKAGE_FULLY_REMOVED.equals(action)) {
37 } else if (Intent.ACTION_PACKAGE_DATA_CLEARED.equals(action)) {
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraActions.java57 public static String stringify(int action) { argument
58 switch (action) {
116 return "UNKNOWN(" + action + ")";
H A DCameraExceptionHandler.java35 RuntimeException e, String commandHistory, int action, int state) {
50 RuntimeException e, String commandHistory, int action, int state);
99 final int action, final int state) {
103 mCallback.onCameraException(ex, commandHistory, action, state);
49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument
97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompatJellyBean.java31 public boolean performAction(int virtualViewId, int action, Bundle arguments); argument
54 public boolean performAction(int virtualViewId, int action, Bundle arguments) {
55 return bridge.performAction(virtualViewId, action, arguments);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityDelegate.java39 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument
40 if (super.performAccessibilityAction(host, action, args)) {
44 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args);
86 public boolean performAccessibilityAction(View host, int action, Bundle args) {
87 if (super.performAccessibilityAction(host, action, args)) {
92 performAccessibilityActionForItem(host, action, args);
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java66 * This is the primary action that a device administrator must implement to be
76 = "android.app.action.DEVICE_ADMIN_ENABLED";
89 = "android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED";
104 * that this action will be
110 = "android.app.action.DEVICE_ADMIN_DISABLED";
126 = "android.app.action.ACTION_PASSWORD_CHANGED";
142 = "android.app.action.ACTION_PASSWORD_FAILED";
154 = "android.app.action.ACTION_PASSWORD_SUCCEEDED";
166 = "android.app.action.ACTION_PASSWORD_EXPIRING";
180 = "android.app.action
[all...]
/frameworks/base/core/java/android/view/
H A DChoreographer.java284 * @param action The callback action to run during the next frame.
290 public void postCallback(int callbackType, Runnable action, Object token) { argument
291 postCallbackDelayed(callbackType, action, token, 0);
301 * @param action The callback action to run during the next frame after the specified delay.
309 Runnable action, Object token, long delayMillis) {
310 if (action == null) {
311 throw new IllegalArgumentException("action must not be null");
317 postCallbackDelayedInternal(callbackType, action, toke
308 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
320 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
357 removeCallbacks(int callbackType, Runnable action, Object token) argument
365 removeCallbacksInternal(int callbackType, Object action, Object token) argument
621 obtainCallbackLocked(long dueTime, Object action, Object token) argument
760 public Object action; // Runnable or FrameCallback field in class:Choreographer.CallbackRecord
799 addCallbackLocked(long dueTime, Object action, Object token) argument
821 removeCallbacksLocked(Object action, Object token) argument
[all...]
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java37 String action = intent.getAction();
40 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
43 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
46 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java34 String action = intent.getAction();
37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java60 String action = intent.getAction();
61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
69 } else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
75 } else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) {
84 } else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) {
86 } else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) {
88 } else if (AppWidgetManager.ACTION_APPWIDGET_RESTORED.equals(action)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDateView.java46 final String action = intent.getAction();
47 if (Intent.ACTION_TIME_TICK.equals(action)
48 || Intent.ACTION_TIME_CHANGED.equals(action)
49 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)
50 || Intent.ACTION_LOCALE_CHANGED.equals(action)) {
51 if (Intent.ACTION_LOCALE_CHANGED.equals(action)
52 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
H A DSplitClockView.java44 final String action = intent.getAction();
45 if (Intent.ACTION_TIME_CHANGED.equals(action)
46 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)
47 || Intent.ACTION_LOCALE_CHANGED.equals(action)
48 || Intent.ACTION_CONFIGURATION_CHANGED.equals(action)
49 || Intent.ACTION_USER_SWITCHED.equals(action)) {
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java42 String action = intent.getAction();
43 Log.d("ExternalMediaFormatActivity", "got action " + action);
45 if (action == Intent.ACTION_MEDIA_REMOVED ||
46 action == Intent.ACTION_MEDIA_CHECKING ||
47 action == Intent.ACTION_MEDIA_MOUNTED ||
48 action == Intent.ACTION_MEDIA_SHARED) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java62 String action = intent.getAction();
63 if (DBG) log("sIntentReceiver.onReceive: action=" + action);
64 if (action.equals(mPhone.getActionDetached())) {
67 } else if (action.equals(mPhone.getActionAttached())) {
70 } else if (action.equals(ACTION_TEST_CONFERENCE_EVENT_PACKAGE)) {
74 if (DBG) log("onReceive: unknown action=" + action);
86 log("register for intent action=" + mPhone.getActionDetached());
89 log("register for intent action
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl31 void dispatchWallpaperCommand(String action, int x, int y,

Completed in 291 milliseconds

1234567891011>>