/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | OnActionClickedListener.java | 21 public void onActionClicked(Action action); argument
|
H A D | GuidedAction.java | 22 * 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 D | ControlButtonPresenterSelector.java | 94 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 D | ActionPresenterSelector.java | 33 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 D | NotificationBuilderWithActions.java | 23 public void addAction(NotificationCompatBase.Action action); argument
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | ViewCompatJB.java | 45 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 D | MetricsLogger.java | 61 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 D | DcTesterDeactivateAll.java | 50 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 D | DcTesterFailBringUpAll.java | 56 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 D | NotificationCompatApi20.java | 85 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 D | PackageReceiver.java | 33 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 D | DocumentsActivity.java | 159 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 D | Flag.h | 14 std::function<void(const StringPiece&)> action); 17 std::function<bool(const StringPiece&, std::string*)> action); 20 std::function<void(const StringPiece&)> action);
|
H A D | Flag.cpp | 16 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 D | CameraActions.java | 57 public static String stringify(int action) { argument 58 switch (action) { 116 return "UNKNOWN(" + action + ")";
|
H A D | CameraExceptionHandler.java | 35 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 D | AccessibilityNodeProviderCompatJellyBean.java | 31 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 D | RecyclerViewAccessibilityDelegate.java | 43 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 D | AccessibilityNodeInfoCompatApi21.java | 34 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 D | Choreographer.java | 324 * @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 D | GuidedActionAdapter.java | 52 * 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 D | TestAppWidgetProvider.java | 37 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 D | TestAppWidgetProvider.java | 34 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 D | AppWidgetProvider.java | 60 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 D | DateView.java | 46 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)) {
|