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

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnActionClickedListener.java21 public void onActionClicked(Action action); argument
H A DGuidedAction.java22 * A data class which represents an action within a {@link
26 * A GuidedAction typically represents a single action a user may take, but may also represent a
62 GuidedAction action = new GuidedAction();
64 action.setId(mId);
65 action.setLabel1(mTitle);
66 action.setLabel2(mDescription);
67 action.setIcon(mIcon);
70 action.mIntent = mIntent;
71 action.mChecked = mChecked;
72 action
[all...]
H A DControlButtonPresenterSelector.java94 Action action = (Action) item;
96 vh.mIcon.setImageDrawable(action.getIcon());
98 if (action.getIcon() == null) {
99 vh.mLabel.setText(action.getLabel1());
104 CharSequence contentDescription = TextUtils.isEmpty(action.getLabel2()) ?
105 action.getLabel1() : action.getLabel2();
H A DActionPresenterSelector.java33 Action action = (Action) item;
34 if (TextUtils.isEmpty(action.getLabel2())) {
68 Action action = (Action) item;
70 vh.mAction = action;
71 vh.mButton.setText(action.getLabel1());
90 Action action = (Action) item;
92 Drawable icon = action.getIcon();
93 vh.mAction = action;
112 CharSequence line1 = action.getLabel1();
113 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/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/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java61 public static void action(Context context, int category) { method in class:MetricsLogger
62 action(context, category, "");
65 public static void action(Context context, int category, int value) { method in class:MetricsLogger
66 action(context, category, Integer.toString(value));
69 public static void action(Context context, int category, boolean value) { method in class:MetricsLogger
70 action(context, category, Boolean.toString(value));
73 public static void action(Context context, int category, String pkg) { method in class:MetricsLogger
/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);
101 public static void addAction(Notification.Builder b, NotificationCompatBase.Action action) { argument
103 action.getIcon(), action.getTitle(), action.getActionIntent());
104 if (action.getRemoteInputs() != null) {
106 action.getRemoteInputs())) {
110 if (action.getExtras() != null) {
111 actionBuilder.addExtras(action
122 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)) {
H A DDocumentsActivity.java159 if (mState.action == ACTION_MANAGE || mState.action == ACTION_BROWSE) {
167 if (mState.action == ACTION_CREATE) {
171 } else if (mState.action == ACTION_OPEN_TREE ||
172 mState.action == ACTION_OPEN_COPY_DESTINATION) {
176 if (mState.action == ACTION_GET_CONTENT) {
181 } else if (mState.action == ACTION_OPEN ||
182 mState.action == ACTION_CREATE ||
183 mState.action == ACTION_OPEN_TREE ||
184 mState.action
[all...]
/frameworks/base/tools/aapt2/
H A DFlag.h14 std::function<void(const StringPiece&)> action);
17 std::function<bool(const StringPiece&, std::string*)> action);
20 std::function<void(const StringPiece&)> action);
H A DFlag.cpp16 std::function<bool(const StringPiece&, std::string*)> action; member in struct:aapt::flag::Flag
27 const std::function<void(const StringPiece&)>& action) {
28 return [action](const StringPiece& arg, std::string*) -> bool {
29 action(arg);
35 std::function<void(const StringPiece&)> action) {
37 name.toString(), description.toString(), wrap(action),
42 std::function<void(const StringPiece&)> action) {
43 sFlags.push_back(Flag{ name.toString(), description.toString(), wrap(action),
48 std::function<bool(const StringPiece&, std::string*)> action) {
49 sFlags.push_back(Flag{ name.toString(), description.toString(), action,
26 wrap( const std::function<void(const StringPiece&)>& action) argument
34 optionalFlag(const StringPiece& name, const StringPiece& description, std::function<void(const StringPiece&)> action) argument
41 requiredFlag(const StringPiece& name, const StringPiece& description, std::function<void(const StringPiece&)> action) argument
47 requiredFlag(const StringPiece& name, const StringPiece& description, std::function<bool(const StringPiece&, std::string*)> action) argument
[all...]
/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.java43 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument
44 if (super.performAccessibilityAction(host, action, args)) {
48 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args);
90 public boolean performAccessibilityAction(View host, int action, Bundle args) {
91 if (super.performAccessibilityAction(host, action, args)) {
96 performAccessibilityActionForItem(host, action, args);
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi21.java34 static void addAction(Object info, Object action) { argument
35 ((AccessibilityNodeInfo) info).addAction((AccessibilityAction) action);
38 public static boolean removeAction(Object info, Object action) { argument
39 return ((AccessibilityNodeInfo) info).removeAction((AccessibilityAction) action);
92 static int getAccessibilityActionId(Object action) { argument
93 return ((AccessibilityNodeInfo.AccessibilityAction) action).getId();
96 static CharSequence getAccessibilityActionLabel(Object action) { argument
97 return ((AccessibilityNodeInfo.AccessibilityAction) action).getLabel();
/frameworks/base/core/java/android/view/
H A DChoreographer.java324 * @param action The callback action to run during the next frame.
330 public void postCallback(int callbackType, Runnable action, Object token) { argument
331 postCallbackDelayed(callbackType, action, token, 0);
341 * @param action The callback action to run during the next frame after the specified delay.
349 Runnable action, Object token, long delayMillis) {
350 if (action == null) {
351 throw new IllegalArgumentException("action must not be null");
357 postCallbackDelayedInternal(callbackType, action, toke
348 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
360 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
397 removeCallbacks(int callbackType, Runnable action, Object token) argument
405 removeCallbacksInternal(int callbackType, Object action, Object token) argument
712 obtainCallbackLocked(long dueTime, Object action, Object token) argument
851 public Object action; // Runnable or FrameCallback field in class:Choreographer.CallbackRecord
890 addCallbackLocked(long dueTime, Object action, Object token) argument
912 removeCallbacksLocked(Object action, Object token) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedActionAdapter.java52 * Called when the user clicks on an action.
54 public void onGuidedActionClicked(GuidedAction action); argument
63 * Called when the user focuses on an action.
65 public void onGuidedActionFocused(GuidedAction action); argument
85 * Retrieves the action associated with this view holder.
93 * Sets the action associated with this view holder.
94 * @param action The GuidedAction associated with this view holder.
96 public void setAction(GuidedAction action) { argument
97 mAction = action;
112 GuidedAction action
380 handleCheckedActions(ActionViewHolder avh, GuidedAction action) 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)) {

Completed in 595 milliseconds

1234567891011>>