Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/frameworks/base/tools/preload2/src/com/android/preload/
DMain.java21 import com.android.preload.actions.ClearTableAction;
22 import com.android.preload.actions.ComputeThresholdAction;
23 import com.android.preload.actions.ComputeThresholdXAction;
24 import com.android.preload.actions.DeviceSpecific;
25 import com.android.preload.actions.ExportAction;
26 import com.android.preload.actions.ImportAction;
27 import com.android.preload.actions.ReloadListAction;
28 import com.android.preload.actions.RunMonkeyAction;
29 import com.android.preload.actions.ScanAllPackagesAction;
30 import com.android.preload.actions.ScanPackageAction;
[all …]
/frameworks/base/core/java/android/view/
DHandlerActionQueue.java55 final HandlerAction[] actions = mActions; in removeCallbacks() local
57 if (actions[i].matches(action)) { in removeCallbacks()
66 actions[j] = actions[i]; in removeCallbacks()
77 actions[j] = null; in removeCallbacks()
84 final HandlerAction[] actions = mActions; in executeActions() local
86 final HandlerAction handlerAction = actions[i]; in executeActions()
/frameworks/support/v4/kitkat/android/support/v4/media/session/
DMediaSessionCompatApi19.java33 public static void setTransportControlFlags(Object rccObj, long actions) { in setTransportControlFlags() argument
35 getRccTransportControlFlagsFromActions(actions)); in setTransportControlFlags()
42 public static void setMetadata(Object rccObj, Bundle metadata, long actions) { in setMetadata() argument
47 if ((actions & ACTION_SET_RATING) != 0) { in setMetadata()
58 static int getRccTransportControlFlagsFromActions(long actions) { in getRccTransportControlFlagsFromActions() argument
60 MediaSessionCompatApi18.getRccTransportControlFlagsFromActions(actions); in getRccTransportControlFlagsFromActions()
61 if ((actions & ACTION_SET_RATING) != 0) { in getRccTransportControlFlagsFromActions()
/frameworks/support/v4/ics/android/support/v4/media/session/
DMediaSessionCompatApi14.java81 public static void setTransportControlFlags(Object rccObj, long actions) { in setTransportControlFlags() argument
83 getRccTransportControlFlagsFromActions(actions)); in setTransportControlFlags()
132 static int getRccTransportControlFlagsFromActions(long actions) { in getRccTransportControlFlagsFromActions() argument
134 if ((actions & ACTION_STOP) != 0) { in getRccTransportControlFlagsFromActions()
137 if ((actions & ACTION_PAUSE) != 0) { in getRccTransportControlFlagsFromActions()
140 if ((actions & ACTION_PLAY) != 0) { in getRccTransportControlFlagsFromActions()
143 if ((actions & ACTION_REWIND) != 0) { in getRccTransportControlFlagsFromActions()
146 if ((actions & ACTION_SKIP_TO_PREVIOUS) != 0) { in getRccTransportControlFlagsFromActions()
149 if ((actions & ACTION_SKIP_TO_NEXT) != 0) { in getRccTransportControlFlagsFromActions()
152 if ((actions & ACTION_FAST_FORWARD) != 0) { in getRccTransportControlFlagsFromActions()
[all …]
/frameworks/base/docs/html/training/tv/playback/
Dguided-step.jd15 <li><a href="#actions">Create and Handle User Actions</a></li>
49 list of possible actions or decisions for this step.
60 the step and actions the user can take. Override
99 <h2 id="actions">Create and Handle User Actions</h2>
102 Add user actions by overriding
106 {@link android.support.v17.leanback.widget.GuidedAction.Builder} to add new actions.
111 public void onCreateActions(List&lt;GuidedAction&gt; actions, Bundle savedInstanceState) {
113 actions.add(new GuidedAction.Builder()
124 actions you can create:
132 provide additional information about user choices, use label actions.
[all …]
Dnow-playing.jd100 long actions = PlaybackState.ACTION_PLAY_PAUSE |
104 return actions;
107 actions |= PlaybackState.ACTION_PAUSE;
109 actions |= PlaybackState.ACTION_PLAY;
112 actions |= PlaybackState.ACTION_SKIP_TO_PREVIOUS;
115 actions |= PlaybackState.ACTION_SKIP_TO_NEXT;
117 return actions;
/frameworks/support/v4/api20/android/support/v4/app/
DNotificationCompatApi20.java136 … return getActionCompatFromAction(notif.actions[actionIndex], actionFactory, remoteInputFactory); in getAction()
178 NotificationCompatBase.Action[] actions = actionFactory.newArray(parcelables.size()); in getActionsFromParcelableArrayList() local
179 for (int i = 0; i < actions.length; i++) { in getActionsFromParcelableArrayList()
181 actions[i] = getActionCompatFromAction(action, actionFactory, remoteInputFactory); in getActionsFromParcelableArrayList()
183 return actions; in getActionsFromParcelableArrayList()
192 NotificationCompatBase.Action[] actions) { in getParcelableArrayListForActions() argument
193 if (actions == null) { in getParcelableArrayListForActions()
196 ArrayList<Parcelable> parcelables = new ArrayList<Parcelable>(actions.length); in getParcelableArrayListForActions()
197 for (NotificationCompatBase.Action action : actions) { in getParcelableArrayListForActions()
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/session/
DMediaSessionCompatApi18.java87 public static void setTransportControlFlags(Object rccObj, long actions) { in setTransportControlFlags() argument
89 getRccTransportControlFlagsFromActions(actions)); in setTransportControlFlags()
98 static int getRccTransportControlFlagsFromActions(long actions) { in getRccTransportControlFlagsFromActions() argument
100 MediaSessionCompatApi14.getRccTransportControlFlagsFromActions(actions); in getRccTransportControlFlagsFromActions()
101 if ((actions & ACTION_SEEK_TO) != 0) { in getRccTransportControlFlagsFromActions()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepFragment.java331 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
340 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument
703 public void setButtonActions(List<GuidedAction> actions) { in setButtonActions() argument
704 mButtonActions = actions; in setButtonActions()
788 public void setActions(List<GuidedAction> actions) { in setActions() argument
789 mActions = actions; in setActions()
974 ArrayList<GuidedAction> actions = new ArrayList<GuidedAction>(); in onCreate() local
975 onCreateActions(actions, savedInstanceState); in onCreate()
977 onRestoreActions(actions, savedInstanceState); in onCreate()
979 setActions(actions); in onCreate()
[all …]
DGuidedStepSupportFragment.java333 public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) { in onCreateActions() argument
342 public void onCreateButtonActions(@NonNull List<GuidedAction> actions, in onCreateButtonActions() argument
705 public void setButtonActions(List<GuidedAction> actions) { in setButtonActions() argument
706 mButtonActions = actions; in setButtonActions()
790 public void setActions(List<GuidedAction> actions) { in setActions() argument
791 mActions = actions; in setActions()
976 ArrayList<GuidedAction> actions = new ArrayList<GuidedAction>(); in onCreate() local
977 onCreateActions(actions, savedInstanceState); in onCreate()
979 onRestoreActions(actions, savedInstanceState); in onCreate()
981 setActions(actions); in onCreate()
[all …]
DMediaControllerGlue.java186 long actions = mMediaController.getPlaybackState().getActions(); in getSupportedActions() local
187 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions()
190 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in getSupportedActions()
193 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { in getSupportedActions()
196 if ((actions & PlaybackStateCompat.ACTION_FAST_FORWARD) != 0) { in getSupportedActions()
199 if ((actions & PlaybackStateCompat.ACTION_REWIND) != 0) { in getSupportedActions()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompatImplBase.java49 boolean useChronometer, long when, List<T> actions, int[] actionsToShowInCompact, in overrideContentView() argument
52 number, largeIcon, subText, useChronometer, when, actions, actionsToShowInCompact, in overrideContentView()
63 boolean useChronometer, long when, List<T> actions, int[] actionsToShowInCompact, in generateContentView() argument
69 final int numActions = actions.size(); in generateContentView()
82 final NotificationCompatBase.Action action = actions.get(actionsToShowInCompact[i]); in generateContentView()
103 boolean useChronometer, long when, List<T> actions, boolean showCancelButton, in overrideBigContentView() argument
106 number, largeIcon, subText, useChronometer, when, actions, showCancelButton, in overrideBigContentView()
116 boolean useChronometer, long when, List<T> actions, boolean showCancelButton, in generateBigContentView() argument
118 final int actionCount = Math.min(actions.size(), MAX_MEDIA_BUTTONS); in generateBigContentView()
126 final RemoteViews button = generateMediaActionButton(context, actions.get(i)); in generateBigContentView()
/frameworks/compile/mclinker/unittests/
DInputTreeTest.cpp55 std::vector<InputAction*> actions; in TEST_F() local
58 actions.push_back(new StartGroupAction(position++)); in TEST_F()
59 actions.push_back(new InputFileAction(position++, "path1")); in TEST_F()
60 actions.push_back(new EndGroupAction(position++)); in TEST_F()
63 for (action = actions.begin(); action != actions.end(); ++action) { in TEST_F()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp824 std::vector<Action> actions; in TranslateArguments() local
826 actions.reserve(32); in TranslateArguments()
840 actions.push_back(std::move(action)); in TranslateArguments()
843 actions.push_back(std::move(action)); in TranslateArguments()
847 actions.push_back(std::move(action)); in TranslateArguments()
860 actions.push_back(std::move(action)); in TranslateArguments()
868 actions.push_back(std::move(action)); in TranslateArguments()
871 actions.push_back(std::move(action)); in TranslateArguments()
875 actions.push_back(std::move(action)); in TranslateArguments()
884 actions.push_back(std::move(action)); in TranslateArguments()
[all …]
/frameworks/base/docs/html/training/appbar/
Dactions.jd14 <li><a href="#add-actions">Add Action Buttons</a></li>
15 <li><a href="#handle-actions">Respond to Actions</a></li>
37 The app bar allows you to add buttons for user actions. This feature lets you
38 put the most important <em>actions</em> for the current context right at the
46 Space in the app bar is limited. If an app declares more actions than can
47 fit in the app bar, the app bar send the excess actions to an
62 <h2 id="add-actions">Add Action Buttons</h2>
68 add actions to the action bar, create a new XML file in your project's
102 actions are sent to the overflow menu. If you set
113 <h2 id="handle-actions">Respond to Actions</h2>
/frameworks/base/services/core/java/com/android/server/hdmi/
DHotplugDetectionAction.java239 List<DeviceSelectAction> actions = getActions(DeviceSelectAction.class); in mayCancelDeviceSelect() local
240 if (actions.isEmpty()) { in mayCancelDeviceSelect()
245 DeviceSelectAction action = actions.get(0); in mayCancelDeviceSelect()
252 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in mayCancelOneTouchRecord() local
253 for (OneTouchRecordAction action : actions) { in mayCancelOneTouchRecord()
DHdmiCecLocalDevicePlayback.java105 List<OneTouchPlayAction> actions = getActions(OneTouchPlayAction.class); in oneTouchPlay() local
106 if (!actions.isEmpty()) { in oneTouchPlay()
108 actions.get(0).addCallback(callback); in oneTouchPlay()
124 List<DevicePowerStatusAction> actions = getActions(DevicePowerStatusAction.class); in queryDisplayStatus() local
125 if (!actions.isEmpty()) { in queryDisplayStatus()
127 actions.get(0).addCallback(callback); in queryDisplayStatus()
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/
Dnow-playing.jd78 long actions = PlaybackState.ACTION_PLAY |
82 return actions;
85 actions |= PlaybackState.ACTION_PAUSE;
88 actions |= PlaybackState.ACTION_SKIP_TO_PREVIOUS;
91 actions |= PlaybackState.ACTION_SKIP_TO_NEXT;
93 return actions;
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastStats.java92 ArrayList<ActionEntry> actions = new ArrayList<>(mActions.size()); in dumpStats() local
94 actions.add(mActions.valueAt(i)); in dumpStats()
96 Collections.sort(actions, ACTIONS_COMPARATOR); in dumpStats()
97 for (int i=actions.size()-1; i>=0; i--) { in dumpStats()
98 ActionEntry ae = actions.get(i); in dumpStats()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java557 long actions = 0; in getActionsFromRccControlFlags() local
561 actions |= getActionForRccFlag((int) flag); in getActionsFromRccControlFlags()
565 return actions; in getActionsFromRccControlFlags()
571 public static int getRccControlFlagsFromActions(long actions) { in getRccControlFlagsFromActions() argument
574 while (action <= actions && action < Integer.MAX_VALUE) { in getRccControlFlagsFromActions()
575 if ((action & actions) != 0) { in getRccControlFlagsFromActions()
969 public Builder setActions(@Actions long actions) {
970 mActions = actions;
/frameworks/base/docs/html/design/patterns/
Dactionbar.jd26 …<li>Makes important actions prominent and accessible in a predictable way (such as <em>New</em> or…
28 <li>Reduces clutter by providing an action overflow for rarely used actions.</li>
80 Show the most important actions of your app in the actions section. Actions that don't fit in the
88 Move less often used actions to the action overflow.
124 <p>To display actions and, if necessary, the action overflow, use the bottom bar.</p>
137 estate, the system shows your most important actions as action buttons and moves the rest to the
138 action overflow. The action bar should show only those actions that are available to the user. If a…
145 <p>For guidance on prioritizing actions, use the FIT scheme.</p>
183 Pre-defined glyphs should be used for certain common actions such as "refresh" and "share." The
201 <p>The action overflow in the action bar provides access to your app's less frequently used actions.
[all …]
/frameworks/base/docs/html/distribute/engage/
Ddeep-linking.jd22 href="https://developers.google.com/voice-actions/">Voice actions</a>, the
37 <h2 id="empower_users_in_your_app">Voice actions</h2>
39 <p>Brings your users into your app with voice actions such as “Ok
44 <img src="{@docRoot}images/distribute/voice-actions-engagement.png">
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java365 NotificationCompatBase.Action[] actions = actionFactory.newArray(parcelables.size()); in getActionsFromParcelableArrayList() local
366 for (int i = 0; i < actions.length; i++) { in getActionsFromParcelableArrayList()
367 actions[i] = getActionFromBundle((Bundle) parcelables.get(i), in getActionsFromParcelableArrayList()
370 return actions; in getActionsFromParcelableArrayList()
387 NotificationCompatBase.Action[] actions) { in getParcelableArrayListForActions() argument
388 if (actions == null) { in getParcelableArrayListForActions()
391 ArrayList<Parcelable> parcelables = new ArrayList<Parcelable>(actions.length); in getParcelableArrayListForActions()
392 for (NotificationCompatBase.Action action : actions) { in getParcelableArrayListForActions()
/frameworks/base/docs/html-intl/intl/ru/preview/
Dindex.jd62 <ul class="dac-actions">
83 </div><!-- end .dac-actions -->
85 <div id="useOldTemplates" style="display:none;color:black" class="actions-bar dac-expand dac-invert…
88 <div class="actions">
101 </div><!-- end .actions -->
/frameworks/base/docs/html-intl/intl/zh-tw/preview/
Dindex.jd62 <ul class="dac-actions">
83 </div><!-- end .dac-actions -->
85 <div id="useOldTemplates" style="display:none;color:black" class="actions-bar dac-expand dac-invert…
88 <div class="actions">
101 </div><!-- end .actions -->

12345678910>>...12