Home
last modified time | relevance | path

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

12345678

/frameworks/compile/mclinker/lib/CodeGen/
DMCLinker.cpp272 std::vector<InputAction*> actions; in initializeInputTree() local
273 actions.reserve(num_actions); in initializeInputTree()
280 actions.push_back(new ScriptAction(0x0, in initializeInputTree()
284 actions.push_back(new ContextAction(0x0)); in initializeInputTree()
285 actions.push_back(new MemoryAreaAction(0x0, FileHandle::ReadOnly)); in initializeInputTree()
295 actions.push_back(new DefSymAction(pos, *defsym)); in initializeInputTree()
304 actions.push_back(new InputFileAction(pos, *input)); in initializeInputTree()
305 actions.push_back(new ContextAction(pos)); in initializeInputTree()
306 actions.push_back(new MemoryAreaAction(pos, FileHandle::ReadOnly)); in initializeInputTree()
315 actions.push_back(new NamespecAction(pos, *namespec, in initializeInputTree()
[all …]
/frameworks/support/v4/api20/android/support/v4/app/
DNotificationCompatApi20.java118 … return getActionCompatFromAction(notif.actions[actionIndex], actionFactory, remoteInputFactory); in getAction()
158 NotificationCompatBase.Action[] actions = actionFactory.newArray(parcelables.size()); in getActionsFromParcelableArrayList() local
159 for (int i = 0; i < actions.length; i++) { in getActionsFromParcelableArrayList()
161 actions[i] = getActionCompatFromAction(action, actionFactory, remoteInputFactory); in getActionsFromParcelableArrayList()
163 return actions; in getActionsFromParcelableArrayList()
172 NotificationCompatBase.Action[] actions) { in getParcelableArrayListForActions() argument
173 if (actions == null) { in getParcelableArrayListForActions()
176 ArrayList<Parcelable> parcelables = new ArrayList<Parcelable>(actions.length); in getParcelableArrayListForActions()
177 for (NotificationCompatBase.Action action : actions) { in getParcelableArrayListForActions()
/frameworks/base/docs/html/design/patterns/
Dselection.jd13 handle multi-select and contextual actions in your apps.</p>
22 actions for a given data item in a contextual menu.</p>
24 contextual actions and selection management functions for selected data into a new element called
69 <h4>Selecting CAB actions</h4>
70 <p>You can decide which actions and elements appear in the CAB. Use the guidelines in the <a href="…
73 <h4>Dynamically adjust CAB actions</h4>
74 <p>In most cases you need to adjust the actions in the CAB dynamically as the user adds more items …
83 Adjusting actions in the CAB as additional items are selected.
111 <p>Plan the actions you want to display inside of a CAB in the same way you would plan the actions
Dactionbar.jd19 …<li>Makes important actions prominent and accessible in a predictable way (such as <em>New</em> or…
21 <li>Reduces clutter by providing an action overflow for rarely used actions.</li>
73 Show the most important actions of your app in the actions section. Actions that don't fit in the
81 Move less often used actions to the action overflow.
117 <p>To display actions and, if necessary, the action overflow, use the bottom bar.</p>
130 estate, the system shows your most important actions as action buttons and moves the rest to the
131 action overflow. The action bar should show only those actions that are available to the user. If a…
138 <p>For guidance on prioritizing actions, use the FIT scheme.</p>
176 Pre-defined glyphs should be used for certain common actions such as "refresh" and "share." The
194 <p>The action overflow in the action bar provides access to your app's less frequently used actions.
[all …]
Dcompatibility.jd27 <p>Android apps written for Android 3.0 and later display actions in the action bar. Actions that d…
46 resulting actions popup has the same style as in the previous example, but is displayed at the bott…
62 can touch the control to display the app's actions in the traditional Android menu styling.</p>
Dnotifications_k.jd59 <p>Android supports optional actions that are displayed at the bottom of
60 the notification. With actions, users can handle the most common tasks for a
65 <p>Be judicious with how many actions you include with a notification. The
66 more actions you include, the more cognitive complexity you create. Limit
67 yourself to the fewest number of actions possible by only including the most
69 <p>Good candidates for actions on notifications are actions that are:</p>
74 <li>not overlapping with neighboring actions</li>
76 <p>Avoid actions that are:</p>
86 Calendar reminder notification with two actions
91 <p>You can specify a maximum of three actions, each consisting of an action
[all …]
Dnotifications.jd121 <h3 id="actions" style="clear:both; margin-top:40px">Actions</h3>
123 <p>Android supports optional actions that are displayed at the bottom
125 With actions, users can handle the most common tasks for a particular
137 <p style="clear:both">Be judicious with how many actions you include with a
139 actions you include, the more cognitive complexity you create. Limit yourself
141 of actions possible by only including the most imminently important and
142 meaningful actions.</p>
144 <p>Good candidates for actions on notifications are actions that:</p>
152 <p>Avoid actions that are:</p>
162 <p>You can specify a maximum of three actions, each consisting of an action
[all …]
/frameworks/compile/mclinker/unittests/
DInputTreeTest.cpp65 std::vector<InputAction*> actions; in TEST_F() local
68 actions.push_back(new StartGroupAction(position++)); in TEST_F()
69 actions.push_back(new InputFileAction(position++, "path1")); in TEST_F()
70 actions.push_back(new EndGroupAction(position++)); in TEST_F()
73 for (action = actions.begin(); action != actions.end(); ++action) { in TEST_F()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHotplugDetectionAction.java217 List<DeviceSelectAction> actions = getActions(DeviceSelectAction.class); in mayCancelDeviceSelect() local
218 if (actions.isEmpty()) { in mayCancelDeviceSelect()
223 DeviceSelectAction action = actions.get(0); in mayCancelDeviceSelect()
230 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in mayCancelOneTouchRecord() local
231 for (OneTouchRecordAction action : actions) { in mayCancelOneTouchRecord()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java470 long actions = 0; in getActionsFromRccControlFlags() local
474 actions |= getActionForRccFlag((int) flag); in getActionsFromRccControlFlags()
478 return actions; in getActionsFromRccControlFlags()
484 public static int getRccControlFlagsFromActions(long actions) { in getRccControlFlagsFromActions() argument
487 while (action <= actions && action < Integer.MAX_VALUE) { in getRccControlFlagsFromActions()
488 if ((action & actions) != 0) { in getRccControlFlagsFromActions()
862 public Builder setActions(long actions) {
863 mActions = actions;
/frameworks/support/v4/jellybean/android/support/v4/app/
DNotificationCompatJellybean.java347 NotificationCompatBase.Action[] actions = actionFactory.newArray(parcelables.size()); in getActionsFromParcelableArrayList() local
348 for (int i = 0; i < actions.length; i++) { in getActionsFromParcelableArrayList()
349 actions[i] = getActionFromBundle((Bundle) parcelables.get(i), in getActionsFromParcelableArrayList()
352 return actions; in getActionsFromParcelableArrayList()
369 NotificationCompatBase.Action[] actions) { in getParcelableArrayListForActions() argument
370 if (actions == null) { in getParcelableArrayListForActions()
373 ArrayList<Parcelable> parcelables = new ArrayList<Parcelable>(actions.length); in getParcelableArrayListForActions()
374 for (NotificationCompatBase.Action action : actions) { in getParcelableArrayListForActions()
/frameworks/support/v4/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java52 float speed, long actions, CharSequence errorMessage, long updateTime) { in newInstance() argument
56 stateObj.setActions(actions); in newInstance()
/frameworks/base/docs/html/auto/
Doverview.jd93 through voice actions and the vehicle's input controls.</p>
98 supports notifications and voice actions:</p>
114 Android Auto supports a set of voice actions to interact with compatible apps and services.
115 Apps can respond to the voice actions they're interested in, such as playing a particular song
260 <p>The primary app UI supports four main actions on the action bar, four auxiliary actions
262 the actions and icons, as shown in Figure 4.</p>
270   <strong>Figure 4.</strong> Custom extra actions.
276 <p>For browse actions, the display shows the drawer transition as shown in Figure 5.</p>
327 <p>To customize the UI, you provide the following app-specific resources and actions
332 <li><strong>Actions</strong> - Multiple custom actions; for example: <em>Thumbs Up/Down</em>,
[all …]
/frameworks/base/docs/html/wear/design/
Duser-interface.jd51 on the "g" icon on the home screen. Swiping up on the cue card shows a list of actions, which can
54 <p>The list of actions includes Android intents for voice actions. The upcoming Android Wear SDK
55 will enable developers to match their applications to these intents so users can perform actions
/frameworks/base/docs/html/guide/topics/manifest/
Daction-element.jd27 <dd>The name of the action. Some standard actions are defined in the
29 {@code ACTION_<i>string</i>} constants. To assign one of these actions to
36 For actions you define, it's best to use the package name as a prefix to
/frameworks/base/docs/html/training/wearables/apps/
Dvoice.jd21 <p>Voice actions are an important part of the wearable experience. They let users carry
22 out actions hands-free and quickly. Wear provides two types of voice actions:</p>
26 <dd>These voice actions are task-based and are built
30 <dd>These voice actions are app-based, and you declare them just like a launcher icon.
31 Users say "Start <Your App Name>" to use these voice actions and an activity that you specify
37 The Android Wear platform provides several voice intents that are based on user actions such
76 <code>com.google.android.gms.actions.RESERVE_TAXI_RESERVATION</code>
241 <p>In addition to using voice actions to launch activities, you can also call the system's
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java122 if (notification.actions != null && notification.actions.length > 0) { in dump()
124 final int N = notification.actions.length; in dump()
126 final Notification.Action action = notification.actions[i]; in dump()
/frameworks/support/v4/kitkat/android/support/v4/app/
DNotificationCompatKitKat.java123 return notif.actions != null ? notif.actions.length : 0; in getActionCount()
129 Notification.Action action = notif.actions[actionIndex]; in getAction()
/frameworks/base/docs/html/
Dindex.jd40 <div class="actions-bar" style="margin-top:20px">
42 <div class="actions">
47 </div><!-- end .actions -->
49 </div><!-- end .actions-bar -->
/frameworks/base/docs/html/training/basics/actionbar/
Dindex.jd42 <li>Access to important actions in a predictable way (such as Search).</li>
46 <img src="{@docRoot}images/training/basics/actionbar-actions.png" height="100" alt="">
61 <dd>Learn how to add and respond to user actions in the action bar.</dd>
/frameworks/base/docs/html/training/tv/playback/
Dnow-playing.jd101 long actions = PlaybackState.ACTION_PLAY |
105 return actions;
108 actions |= PlaybackState.ACTION_PAUSE;
111 actions |= PlaybackState.ACTION_SKIP_TO_PREVIOUS;
114 actions |= PlaybackState.ACTION_SKIP_TO_NEXT;
116 return actions;
/frameworks/base/docs/html/design/building-blocks/
Ddialogs.jd36actions such as Close or Wait rather than a confirmation or cancellation of the action described i…
39 …<li>The dismissive action of a dialog is always on the left. Dismissive actions return to the user…
40 …<li>The affirmative actions are on the right. Affirmative actions continue progress toward the use…
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java450 public ArrayList<Parcelable> getParcelableArrayListForActions(Action[] actions); in getParcelableArrayListForActions() argument
493 public ArrayList<Parcelable> getParcelableArrayListForActions(Action[] actions) { in getParcelableArrayListForActions() argument
597 Action[] actions) { in getParcelableArrayListForActions() argument
598 return NotificationCompatJellybean.getParcelableArrayListForActions(actions); in getParcelableArrayListForActions()
702 Action[] actions) { in getParcelableArrayListForActions() argument
703 return NotificationCompatApi20.getParcelableArrayListForActions(actions); in getParcelableArrayListForActions()
749 ArrayList<Action> actions) { in addActionsToBuilder() argument
750 for (Action action : actions) { in addActionsToBuilder()
2280 Action[] actions = IMPL.getActionsFromParcelableArrayList( in WearableExtender() local
2282 if (actions != null) { in WearableExtender()
[all …]
/frameworks/base/core/java/android/app/
DNotification.java1205 public Action[] actions; field in Notification
1315 actions = parcel.createTypedArray(Action.CREATOR); // may be null in Notification()
1408 if (this.actions != null) { in cloneInto()
1409 that.actions = new Action[this.actions.length]; in cloneInto()
1410 for(int i=0; i<this.actions.length; i++) { in cloneInto()
1411 that.actions[i] = this.actions[i].clone(); in cloneInto()
1569 parcel.writeTypedArray(actions, 0); // null ok in writeToParcel()
1716 if (actions != null) { in toString()
1718 sb.append(actions.length); in toString()
2866 big.setViewVisibility(R.id.actions, View.GONE); in resetStandardTemplateWithActions()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java1389 private void addReceiver(BroadcastReceiver receiver, String[] actions) { in addReceiver() argument
1391 for (String action: actions) { in addReceiver()
1399 String[] actions = { in getBluetoothReceiver() local
1405 addReceiver(receiver, actions); in getBluetoothReceiver()
1411 String[] actions = { in getPairReceiver() local
1415 addReceiver(receiver, actions); in getPairReceiver()
1421 String[] actions = { in getConnectProfileReceiver() local
1427 addReceiver(receiver, actions); in getConnectProfileReceiver()
1433 String[] actions = {BluetoothPan.ACTION_CONNECTION_STATE_CHANGED}; in getConnectPanReceiver() local
1435 addReceiver(receiver, actions); in getConnectPanReceiver()
[all …]

12345678