/frameworks/support/compat/tests/java/android/support/v4/app/ |
D | NotificationCompatActionWearableExtenderTest.java | 53 assertExtendersEqual(new Notification.Action.WearableExtender(), in testEmptyEquals() 54 new NotificationCompat.Action.WearableExtender()); in testEmptyEquals() 59 Notification.Action.WearableExtender baseExtender = in testFullEquals() 60 new Notification.Action.WearableExtender() in testFullEquals() 65 NotificationCompat.Action.WearableExtender compatExtender = in testFullEquals() 66 new NotificationCompat.Action.WearableExtender() in testFullEquals() 88 Notification.Action.Builder baseAction = in testDefaultActionNotification() 89 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification() 90 NotificationCompat.Action.Builder compatAction = in testDefaultActionNotification() 91 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification() [all …]
|
D | NotificationCompatWearableExtenderTest.java | 85 NotificationCompat.Action.Builder action2 = new NotificationCompat.Action.Builder( in testRealReadCompatValue() 88 .extend(new NotificationCompat.Action.WearableExtender() in testRealReadCompatValue() 104 .addAction(new NotificationCompat.Action(R.drawable.action_icon2, "Action1", in testRealReadCompatValue() 133 Notification.Action.Builder action2 = new Notification.Action.Builder( in testCompatReadRealValue() 136 .extend(new Notification.Action.WearableExtender() in testCompatReadRealValue() 152 .addAction(new Notification.Action(R.drawable.action_icon2, "Action1", in testCompatReadRealValue() 208 private void assertActionsEquals(List<Notification.Action> realArray, in assertActionsEquals() 209 List<NotificationCompat.Action> compatArray) { in assertActionsEquals() 216 private void assertActionsEqual(Notification.Action real, NotificationCompat.Action compat) { in assertActionsEqual()
|
/frameworks/support/compat/api20/android/support/v4/app/ |
D | NotificationCompatApi20.java | 89 public void addAction(NotificationCompatBase.Action action) { in addAction() 112 public static void addAction(Notification.Builder b, NotificationCompatBase.Action action) { in addAction() 113 Notification.Action.Builder actionBuilder = new Notification.Action.Builder( in addAction() 133 public static NotificationCompatBase.Action getAction(Notification notif, in getAction() 134 int actionIndex, NotificationCompatBase.Action.Factory actionFactory, in getAction() 139 private static NotificationCompatBase.Action getActionCompatFromAction( in getActionCompatFromAction() 140 Notification.Action action, NotificationCompatBase.Action.Factory actionFactory, in getActionCompatFromAction() 150 private static Notification.Action getActionFromActionCompat( in getActionFromActionCompat() 151 NotificationCompatBase.Action actionCompat) { in getActionFromActionCompat() 152 Notification.Action.Builder actionBuilder = new Notification.Action.Builder( in getActionFromActionCompat() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | Action.java | 26 public class Action { class 42 public Action(long id) { in Action() method in Action 52 public Action(long id, CharSequence label) { in Action() method in Action 63 public Action(long id, CharSequence label1, CharSequence label2) { in Action() method in Action 75 public Action(long id, CharSequence label1, CharSequence label2, Drawable icon) { in Action() method in Action
|
D | DetailsOverviewRow.java | 271 public final void addAction(Action action) { in addAction() 285 public final void addAction(int pos, Action action) { in addAction() 298 public final boolean removeAction(Action action) { in removeAction() 311 public final List<Action> getActions() { in getActions() 341 public Action getActionForKeyCode(int keyCode) { in getActionForKeyCode() 345 Action action = (Action) adapter.get(i); in getActionForKeyCode()
|
D | ActionPresenterSelector.java | 33 Action action = (Action) item; in getPresenter() 47 Action mAction; 68 Action action = (Action) item; in onBindViewHolder() 90 Action action = (Action) item; in onBindViewHolder()
|
D | PlaybackControlsRow.java | 51 public static abstract class MultiAction extends Action { 292 public static class SkipNextAction extends Action { 309 public static class SkipPreviousAction extends Action { 326 public static class PictureInPictureAction extends Action { 343 public static class MoreActions extends Action { 776 public Action getActionForKeyCode(int keyCode) { 777 Action action = getActionForKeyCode(getPrimaryActionsAdapter(), keyCode); 787 public Action getActionForKeyCode(ObjectAdapter adapter, int keyCode) { 792 Action action = (Action) adapter.get(i);
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_action_bar.jd | 1 page.title=Action Bar Icons 27 <li><a href="{@docRoot}guide/topics/ui/actionbar.html">Using the Action Bar</a></li> 41 <p>Action Bar icons are graphical elements placed in the <a 42 href="{@docRoot}guide/topics/ui/actionbar.html">Action Bar</a> representing individual action 71 <p>Action Bar icons should be 32-bit PNGs with an alpha channel for transparency. The finished 76 finished Action Bar icon dimensions for each generalized screen density.</p> 101 Action Bar Icon Size 123 <p>Action Bar icons are flat, pictured face on, and generally greyscale, depending on the 124 application's theme. Action Bar icons should not look three-dimensional.</p> 126 <p>In order to maintain consistency across the application's Action Bar, all Action Bar icons should [all …]
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationCompat.java | 494 public Action getAction(Notification n, int actionIndex); in getAction() 495 public Action[] getActionsFromParcelableArrayList(ArrayList<Parcelable> parcelables); in getActionsFromParcelableArrayList() 496 public ArrayList<Parcelable> getParcelableArrayListForActions(Action[] actions); in getParcelableArrayListForActions() 550 public Action getAction(Notification n, int actionIndex) { in getAction() 555 public Action[] getActionsFromParcelableArrayList( in getActionsFromParcelableArrayList() 561 public ArrayList<Parcelable> getParcelableArrayListForActions(Action[] actions) { in getParcelableArrayListForActions() 660 public Action getAction(Notification n, int actionIndex) { in getAction() 661 return (Action) NotificationCompatJellybean.getAction(n, actionIndex, Action.FACTORY, in getAction() 666 public Action[] getActionsFromParcelableArrayList( in getActionsFromParcelableArrayList() 668 return (Action[]) NotificationCompatJellybean.getActionsFromParcelableArrayList( in getActionsFromParcelableArrayList() [all …]
|
/frameworks/support/compat/jellybean/android/support/v4/app/ |
D | NotificationCompatJellybean.java | 130 public void addAction(NotificationCompatBase.Action action) { in addAction() 256 public static NotificationCompatBase.Action readAction( in readAction() 257 NotificationCompatBase.Action.Factory factory, in readAction() 273 Notification.Builder builder, NotificationCompatBase.Action action) { in writeActionAndGetExtras() 292 public static NotificationCompatBase.Action getAction(Notification notif, int actionIndex, in getAction() 293 NotificationCompatBase.Action.Factory factory, in getAction() 358 public static NotificationCompatBase.Action[] getActionsFromParcelableArrayList( in getActionsFromParcelableArrayList() 360 NotificationCompatBase.Action.Factory actionFactory, in getActionsFromParcelableArrayList() 365 NotificationCompatBase.Action[] actions = actionFactory.newArray(parcelables.size()); in getActionsFromParcelableArrayList() 373 private static NotificationCompatBase.Action getActionFromBundle(Bundle bundle, in getActionFromBundle() [all …]
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | DetailsFragment.java | 21 import android.support.v17.leanback.widget.Action; 61 private Action mActionPlay; 62 private Action mActionRent; 63 private Action mActionBuy; 80 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate() 81 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", in onCreate() 83 mActionBuy = new Action(ACTION_BUY, "Buy $9.99"); in onCreate() 90 public void onActionClicked(Action action) { in onCreate()
|
D | DetailsSupportFragment.java | 23 import android.support.v17.leanback.widget.Action; 63 private Action mActionPlay; 64 private Action mActionRent; 65 private Action mActionBuy; 82 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate() 83 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", in onCreate() 85 mActionBuy = new Action(ACTION_BUY, "Buy $9.99"); in onCreate() 92 public void onActionClicked(Action action) { in onCreate()
|
D | NewDetailsFragment.java | 22 import android.support.v17.leanback.widget.Action; 64 private Action mActionPlay; 65 private Action mActionRent; 66 private Action mActionBuy; 92 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate() 93 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", in onCreate() 95 mActionBuy = new Action(ACTION_BUY, "Buy $9.99"); in onCreate() 102 public void onActionClicked(Action action) { in onCreate()
|
D | NewDetailsSupportFragment.java | 24 import android.support.v17.leanback.widget.Action; 66 private Action mActionPlay; 67 private Action mActionRent; 68 private Action mActionBuy; 94 mActionPlay = new Action(ACTION_PLAY, "Play"); in onCreate() 95 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", in onCreate() 97 mActionBuy = new Action(ACTION_BUY, "Buy $9.99"); in onCreate() 104 public void onActionClicked(Action action) { in onCreate()
|
D | PlaybackControlSupportHelper.java | 25 import android.support.v17.leanback.widget.Action; 110 public void onActionClicked(Action action) { in onActionClicked() 121 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey() 130 private boolean shouldDispatchAction(Action action) { in shouldDispatchAction() 134 private void dispatchAction(Action action) { in dispatchAction()
|
D | PlaybackControlHelper.java | 23 import android.support.v17.leanback.widget.Action; 108 public void onActionClicked(Action action) { in onActionClicked() 119 Action action = getControlsRow().getActionForKeyCode(keyEvent.getKeyCode()); in onKey() 128 private boolean shouldDispatchAction(Action action) { in shouldDispatchAction() 132 private void dispatchAction(Action action) { in dispatchAction()
|
D | PlaybackOverlayFragment.java | 21 import android.support.v17.leanback.widget.Action; 76 if (item instanceof Action) { 77 mGlue.onActionClicked((Action) item); 128 public void onActionClicked(Action action) { in createComponents()
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
D | DetailViewExampleFragment.java | 28 import android.support.v17.leanback.widget.Action; 122 actionAdapter.add(new Action(1, getString(R.string.action_buy) + data.getPrice())); in setupUi() 123 actionAdapter.add(new Action(2, getString(R.string.action_wishlist))); in setupUi() 124 actionAdapter.add(new Action(3, getString(R.string.action_related))); in setupUi() 158 if (!(item instanceof Action)) return; in onItemClicked() 159 Action action = (Action) item; in onItemClicked()
|
/frameworks/support/compat/gingerbread/android/support/v4/app/ |
D | NotificationCompatBase.java | 29 public static abstract class Action { class in NotificationCompatBase 38 Action build(int icon, CharSequence title, PendingIntent actionIntent, in build() 41 public Action[] newArray(int length); in newArray()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 736 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, in runActionNoReconnect() 741 private <R> R runAction(Action<R> action, R errorResult, String method) { in runAction() 745 private <R> R runAction(Action<R> action, R errorResult, String method, in runAction() 850 runActionNoReconnect(new Action<Void>() { in shutdown() 1098 return runAction(new Action<Integer>() { in speak() 1171 return runAction(new Action<Integer>() { 1235 return runAction(new Action<Integer>() { 1295 return runAction(new Action<Set<String>>() { 1327 return runAction(new Action<Boolean>() { 1342 return runAction(new Action<Integer>() { [all …]
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 126 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 132 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 137 mPendingActionUponFinish = Action::Reset; in resolveStagingRequest() 141 mPendingActionUponFinish = Action::None; in resolveStagingRequest() 146 mPendingActionUponFinish = Action::End; in resolveStagingRequest() 242 if (mPendingActionUponFinish == Action::Reset) { in animate() 245 } else if (mPendingActionUponFinish == Action::End) { in animate() 250 mPendingActionUponFinish = Action ::None; in animate()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 113 private ArrayList<Action> mItems; 116 private Action mSilentModeAction; 266 mItems = new ArrayList<Action>(); in createDialog() 328 final Action action = mAdapter.getItem(position); in createDialog() 473 private Action getSettingsAction() { in getSettingsAction() 496 private Action getAssistAction() { 518 private Action getVoiceAssistAction() { 540 private Action getLockdownAction() { 579 private void addUsersToMenu(ArrayList<Action> items) { 668 final Action action = mItems.get(i); [all …]
|
/frameworks/base/docs/html/design/patterns/ |
D | actionbar.jd | 1 page.title=Action Bar 3 page.metaDescription=The Action bar is an essential design element for all apps. Learn about what t… 77 <li class="value-3"><h4>Action buttons</h4> 85 <li class="value-4"><h4>Action overflow</h4> 108 <h2 id="considerations-split-action-bars">Layout Considerations for Split Action Bars</h2> 134 <h2 id="ActionButtons">Action Buttons</h2> 135 <p><em>Action buttons</em> on the action bar surface your app's most important activities. Think ab… 192 <a onClick="ga('send', 'event', 'Design', 'Download', 'Action Bar Icons (@actionbar page)');" 193 …href="{@docRoot}downloads/design/Android_Design_Icons_20131106.zip">Download the Action Bar Icon P… 200 <h4>Action overflow</h4> [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 108 private ArrayList<Action> mActions; 279 private abstract static class Action implements Parcelable { class in RemoteViews 318 public Action initActionAsync(ViewTree root, ViewGroup rootParent, OnClickHandler handler) { in initActionAsync() 328 private static abstract class RuntimeAction extends Action { 341 private static final Action ACTION_NOOP = new RuntimeAction() { 361 HashMap<String, Action> map = new HashMap<String, Action>(); in mergeRemoteViews() 363 mActions = new ArrayList<Action>(); in mergeRemoteViews() 368 Action a = mActions.get(i); in mergeRemoteViews() 372 ArrayList<Action> newActions = copy.mActions; in mergeRemoteViews() 376 Action a = newActions.get(i); in mergeRemoteViews() [all …]
|
/frameworks/base/drm/java/android/drm/ |
D | DrmStore.java | 163 public static class Action { class in DrmStore 218 public Action() {} in Action() method in DrmStore.Action
|