Home
last modified time | relevance | path

Searched refs:labels (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsRow.java76 public void setLabels(String[] labels) { in setLabels() argument
77 mLabels = labels; in setLabels()
85 public void setSecondaryLabels(String[] labels) { in setSecondaryLabels() argument
86 mLabels2 = labels; in setSecondaryLabels()
182 String[] labels = new String[drawables.length];
183 labels[PLAY] = context.getString(R.string.lb_playback_controls_play);
184 labels[PAUSE] = context.getString(R.string.lb_playback_controls_pause);
185 setLabels(labels);
217 String[] labels = new String[getActionCount()];
218 labels[0] = context.getString(R.string.lb_playback_controls_fast_forward);
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java95 ArrayList<String> labels = new ArrayList<String>(); in testStopTimingNoWriter() local
96 labels.add("timing2"); in testStopTimingNoWriter()
97 labels.add("timing3"); in testStopTimingNoWriter()
98 labels.add("timing4"); in testStopTimingNoWriter()
99 verifyTimingBundle(timing, labels); in testStopTimingNoWriter()
162 ArrayList<String> labels = new ArrayList<String>(); in testStopTiming() local
163 labels.add("timing6"); in testStopTiming()
164 labels.add("timing7"); in testStopTiming()
165 labels.add("timing8"); in testStopTiming()
166 verifyTimingBundle(timing, labels); in testStopTiming()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtonsTest.java101 String[] labels = getActivity().getLabels(); in TODO_testNavigateThroughAllButtonsAndBack() local
102 for (int i = 0; i < labels.length; i++) { in TODO_testNavigateThroughAllButtonsAndBack()
103 String label = labels[i]; in TODO_testNavigateThroughAllButtonsAndBack()
121 for (int i = labels.length - 1; i >= 0; i--) { in TODO_testNavigateThroughAllButtonsAndBack()
122 String label = labels[i]; in TODO_testNavigateThroughAllButtonsAndBack()
DListOfButtons.java57 public MyAdapter(Context context, String[] labels) { in MyAdapter() argument
58 super(context, 0, labels); in MyAdapter()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DTestActivity.java57 String[] labels = new String[mTests.length]; in onCreate() local
59 labels[i] = mTests[i].name; in onCreate()
62 setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels)); in onCreate()
/frameworks/base/docs/html/design/building-blocks/
Dgrid-lists.jd69 <h2 id="with-labels">Grid List with Labels</h2>
71 <p>Use labels to display additional contextual information for your grid list items.</p>
83 <p>Use semi-transparent panels on top of the grid list items to display your labels. This allows yo…
84 control the contrast and ensures legibility of the labels while letting the content "shine through"…
Dspinners.jd35 between accounts or commonly used labels. Spinners are useful when changing the view is important to
Dtabs.jd47 …st tab label. If there is insufficient room to display all tabs, the tab labels themselves will be…
/frameworks/base/core/java/android/provider/
DContacts.java964 CharSequence[] labels = labelArray != null? labelArray in getDisplayLabel() local
968 display = labels[type - 1]; in getDisplayLabel()
970 display = labels[People.Phones.TYPE_HOME - 1]; in getDisplayLabel()
1402 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local
1405 display = labels[type - 1]; in getDisplayLabel()
1407 display = labels[ContactMethods.TYPE_HOME - 1]; in getDisplayLabel()
1419 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local
1422 display = labels[type - 1]; in getDisplayLabel()
1424 display = labels[ContactMethods.TYPE_HOME - 1]; in getDisplayLabel()
1766 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local
[all …]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java266 String[] labels = resources.getStringArray(R.array.timezone_rename_labels); in populateDisplayNameOverrides() local
269 if (ids.length != labels.length) { in populateDisplayNameOverrides()
271 + labels.length); in populateDisplayNameOverrides()
272 length = Math.min(ids.length, labels.length); in populateDisplayNameOverrides()
278 tzi.mDisplayName = labels[i]; in populateDisplayNameOverrides()
280 Log.e(TAG, "Could not find timezone with label: "+labels[i]); in populateDisplayNameOverrides()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter.java427 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument
429 mOrgWriter.visitLookupSwitchInsn(dflt, keys, labels); in visitLookupSwitchInsn()
441 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument
443 mOrgWriter.visitTableSwitchInsn(min, max, dflt, labels); in visitTableSwitchInsn()
DStubMethodAdapter.java342 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument
344 mParentVisitor.visitLookupSwitchInsn(dflt, keys, labels); in visitLookupSwitchInsn()
356 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument
358 mParentVisitor.visitTableSwitchInsn(min, max, dflt, labels); in visitTableSwitchInsn()
DDependencyFinder.java588 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument
626 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument
DAsmAnalyzer.java711 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument
753 public void visitTableSwitchInsn(int min, int max, Label dflt, Label... labels) { in visitTableSwitchInsn() argument
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java188 String[] labels = new String[mTests.length]; in onCreate() local
190 labels[i] = mTests[i].name; in onCreate()
193 setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels)); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DLabelsActivity.java27 setContentView(R.layout.labels); in onCreate()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java563 boolean labels = false; in runListPermissions()
571 labels = true; in runListPermissions()
576 labels = true; in runListPermissions()
604 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
610 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
617 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
623 doListPermissions(groupList, groups, labels, summary, in runListPermissions()
635 boolean groups, boolean labels, boolean summary, in doListPermissions() argument
656 System.out.println((labels ? "+ " : "") in doListPermissions()
658 if (labels) { in doListPermissions()
[all …]
/frameworks/base/docs/html/training/accessibility/
Dindex.jd43 navigation with a keyboard or directional pad, set labels and fire events
Daccessible-app.jd51 <p>Fortunately, it's easy to add labels to UI elements in your application that
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd41 …ss different story categories is to use horizontal paging, with a set of labels above the horizont…
116 …or example, you can choose to use richer widgets in place of simple text labels, images, and butto…
Ddescendant-lateral.jd158 …ated sibling screens. Examples of such elements include tick marks, scrolling labels, and tabs.</p>
/frameworks/base/docs/html/design/patterns/
Daccessibility.jd30 …benefit from visual and haptic feedback during their navigation (such as labels, colors, icons, to…
31 <p>As you design your app, think about the labels and notations needed to navigate your app by soun…
Dsettings.jd371 make your labels brief, meaningful, and scannable:</p>
392 <p>Once you've decided on labels for your settings, be sure to preview them on an
481 <p>The following are examples of changes we made to labels and secondary text in the Settings app
/frameworks/base/docs/html/guide/topics/manifest/
Dintent-filter-element.jd91 For more on intent filter labels, see
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd81 Android; supported controls include text labels, buttons, and images. For a full list of available
186 width for the text labels.</p>

12