Home
last modified time | relevance | path

Searched refs:mLabels (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/webkit/
DDateSorter.java44 private String [] mLabels = new String[DAY_COUNT]; field in DateSorter
73 mLabels[0] = localeData.today; in DateSorter()
74 mLabels[1] = localeData.yesterday; in DateSorter()
78 mLabels[2] = String.format(format, NUM_DAYS_AGO); in DateSorter()
80 mLabels[3] = context.getString(com.android.internal.R.string.last_month); in DateSorter()
81 mLabels[4] = context.getString(com.android.internal.R.string.older); in DateSorter()
104 return mLabels[index]; in getLabel()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java75 private List<String> mLabels = Lists.newArrayList(); field in ListWithFooterViewAndNewLabels.MyAdapter
82 return mLabels.size(); in getCount()
86 return mLabels.get(position); in getItem()
94 String label = mLabels.get(position); in getView()
107 mLabels.add(s + mLabels.size()); in addLabel()
DListOfButtons.java41 setListAdapter(new MyAdapter(this, mLabels)); in onCreate()
44 String[] mLabels = { field in ListOfButtons
51 return mLabels; in getLabels()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageView.java32 private final TextView[] mLabels; field in UsageView
39 mLabels = new TextView[] { in UsageView()
57 for (TextView v : mLabels) { in UsageView()
124 if (labels.length != mLabels.length) { in setSideLabels()
127 for (int i = 0; i < mLabels.length; i++) { in setSideLabels()
128 mLabels[i].setText(labels[i]); in setSideLabels()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsRow.java54 private String[] mLabels; field in PlaybackControlsRow.MultiAction
80 mLabels = labels; in setLabels()
100 if (mLabels != null) { in getActionCount()
101 return mLabels.length; in getActionCount()
117 return mLabels == null ? null : mLabels[index]; in getLabel()
142 if (mLabels != null) {
143 setLabel1(mLabels[mIndex]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java291 private List<CharSequence> mLabels = new ArrayList<>(); field in NavBarTuner.NavBarAdapter
314 mLabels.clear(); in clear()
320 mLabels.add(label); in addButton()
321 notifyItemInserted(mLabels.size() - 1); in addButton()
392 holder.title.setText(mLabels.get(position)); in onBindViewHolder()
450 mLabels.add(index, labels[which]); in showAddDialog()
464 mLabels.add(index, getLabel(KEY, getContext())); in onImageSelected()
513 mLabels.remove(position); in onClick()
586 move(from, to, mLabels);
/frameworks/base/services/net/java/android/net/apf/
DApfGenerator.java137 if (mLabels.containsKey(label)) { in setLabel()
144 mLabels.put(label, this); in setLabel()
274 targetLabelInstruction = mLabels.get(mTargetLabel); in calculateTargetLabelOffset()
359 private final HashMap<String, Instruction> mLabels = new HashMap<String, Instruction>(); field in ApfGenerator