/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 115 ArrayList<String> labels = new ArrayList<String>(); in testStopTimingNoWriter() local 116 labels.add("timing2"); in testStopTimingNoWriter() 117 labels.add("timing3"); in testStopTimingNoWriter() 118 labels.add("timing4"); in testStopTimingNoWriter() 119 verifyTimingBundle(timing, labels); in testStopTimingNoWriter() 187 ArrayList<String> labels = new ArrayList<String>(); in testStopTiming() local 188 labels.add("timing6"); in testStopTiming() 189 labels.add("timing7"); in testStopTiming() 190 labels.add("timing8"); in testStopTiming() 191 verifyTimingBundle(timing, labels); in testStopTiming() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | OverflowMenuAdapterTest.kt | 34 val labels = listOf("first", "second") in <lambda>() constant 39 labels.zip(ids).map { OverflowMenuAdapter.MenuItem(it.first, it.second) } in <lambda>() 50 val labels = listOf("first", "second") in <lambda>() constant 55 labels.zip(ids).map { OverflowMenuAdapter.MenuItem(it.first, it.second) } in <lambda>()
|
/frameworks/native/libs/input/ |
D | InputEventLabels.cpp | 522 std::string getLabel(const label* labels, int value) { in getLabel() argument 523 if (labels == nullptr) return std::to_string(value); in getLabel() 524 while (labels->name != nullptr && value != labels->value) { in getLabel() 525 labels++; in getLabel() 527 return labels->name != nullptr ? labels->name : std::to_string(value); in getLabel() 530 std::optional<int> getValue(const label* labels, const char* searchLabel) { in getValue() argument 531 if (labels == nullptr) return {}; in getValue() 532 while (labels->name != nullptr && ::strcasecmp(labels->name, searchLabel) != 0) { in getValue() 533 labels++; in getValue() 535 return labels->name != nullptr ? std::make_optional(labels->value) : std::nullopt; in getValue()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListOfButtonsTest.java | 103 String[] labels = getActivity().getLabels(); in TODO_testNavigateThroughAllButtonsAndBack() local 104 for (int i = 0; i < labels.length; i++) { in TODO_testNavigateThroughAllButtonsAndBack() 105 String label = labels[i]; in TODO_testNavigateThroughAllButtonsAndBack() 123 for (int i = labels.length - 1; i >= 0; i--) { in TODO_testNavigateThroughAllButtonsAndBack() 124 String label = labels[i]; in TODO_testNavigateThroughAllButtonsAndBack()
|
D | ListOfButtons.java | 57 public MyAdapter(Context context, String[] labels) { in MyAdapter() argument 58 super(context, 0, labels); in MyAdapter()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestActivity.java | 57 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/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | ColorGrid.kt | 54 val labels = arrayOf("sRGB", "Display P3", "BT2020_PQ", "scRGB(max)") in onDraw() constant 62 for (colIndex in labels.indices) { in onDraw() 67 canvas.drawText(labels[colIndex], 0f, 1f, paint) in onDraw()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationUtils.java | 125 int labels = 1; in isValidDomain() local 135 labels += 1; in isValidDomain() 144 return labels > 1; in isValidDomain()
|
/frameworks/base/core/java/android/provider/ |
D | Contacts.java | 958 CharSequence[] labels = labelArray != null? labelArray in getDisplayLabel() local 962 display = labels[type - 1]; in getDisplayLabel() 964 display = labels[People.Phones.TYPE_HOME - 1]; in getDisplayLabel() 1396 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local 1399 display = labels[type - 1]; in getDisplayLabel() 1401 display = labels[ContactMethods.TYPE_HOME - 1]; in getDisplayLabel() 1413 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local 1416 display = labels[type - 1]; in getDisplayLabel() 1418 display = labels[ContactMethods.TYPE_HOME - 1]; in getDisplayLabel() 1760 CharSequence[] labels = context.getResources().getTextArray( in getDisplayLabel() local [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StaticInitMethodAdapter.java | 257 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument 259 mRenamedMethodWriter.visitLookupSwitchInsn(dflt, keys, labels); in visitLookupSwitchInsn() 271 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument 273 mRenamedMethodWriter.visitTableSwitchInsn(min, max, dflt, labels); in visitTableSwitchInsn()
|
D | StubCallMethodAdapter.java | 349 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument 351 mParentVisitor.visitLookupSwitchInsn(dflt, keys, labels); in visitLookupSwitchInsn() 363 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument 365 mParentVisitor.visitTableSwitchInsn(min, max, dflt, labels); in visitTableSwitchInsn()
|
D | DelegateMethodAdapter.java | 451 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { in visitLookupSwitchInsn() argument 453 mOrgWriter.visitLookupSwitchInsn(dflt, keys, labels); in visitLookupSwitchInsn() 465 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { in visitTableSwitchInsn() argument 467 mOrgWriter.visitTableSwitchInsn(min, max, dflt, labels); in visitTableSwitchInsn()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/ |
D | BodyReplacingMethodVisitor.kt | 256 vararg labels: Label? in visitTableSwitchInsn() 259 super.visitTableSwitchInsn(min, max, dflt, *labels) in visitTableSwitchInsn() 266 labels: Array<out Label>? in visitLookupSwitchInsn() 269 super.visitLookupSwitchInsn(dflt, keys, labels) in visitLookupSwitchInsn()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneData.java | 266 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/media/java/android/media/ |
D | AudioPresentation.java | 202 @NonNull Map<ULocale, String> labels) { in AudioPresentation() argument 210 mLabels = new HashMap<ULocale, String>(labels); in AudioPresentation() 423 public @NonNull Builder setLabels(@NonNull Map<ULocale, CharSequence> labels) { in setLabels() argument 425 for (Map.Entry<ULocale, CharSequence> entry : labels.entrySet()) { in setLabels()
|
/frameworks/av/media/module/service.mediatranscoding/ |
D | .clang-format | 26 # There is nothing in go/droidcppstyle about case labels, but there seems to be 27 # more code that does not indent the case labels in frameworks/base.
|
/frameworks/av/services/tuner/ |
D | .clang-format | 26 # There is nothing in go/droidcppstyle about case labels, but there seems to be 27 # more code that does not indent the case labels in frameworks/base.
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | FloatExpression.java | 124 String[] labels = new String[mSrcValue.length]; in toString() local 127 labels[i] = "[" + Utils.idFromNan(mSrcValue[i]) + "]"; in toString() 132 + AnimatedFloatExpression.toString(mPreCalcValue, labels) + ")"; in toString()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 188 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/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | LabelsActivity.java | 27 setContentView(R.layout.labels); in onCreate()
|
/frameworks/base/media/jni/ |
D | android_media_AudioPresentation.h | 118 for (const auto& md : tap.preselection.labels) { in addPresentations() 161 JNIEnv *env, const fields_t& fields, const std::map<std::string, std::string> &labels) { in convertLabelsToMap() 169 for (const auto& label : labels) { in convertLabelsToMap()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsProcessor.java | 326 List<String> labels = new ArrayList<>(); in concatLabels() local 329 labels.add(config[state].getName() in concatLabels() 333 Collections.sort(labels); in concatLabels() 334 return labels.toString(); in concatLabels()
|
/frameworks/av/media/module/libmediatranscoding/ |
D | .clang-format | 42 # There is nothing in go/droidcppstyle about case labels, but there seems to be 43 # more code that does not indent the case labels in frameworks/base.
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeDetails.java | 177 @Nullable int[] labels, int maxAllowedPerParent, in UserTypeDetails() argument 202 this.mLabels = labels; in UserTypeDetails() 518 public Builder setLabels(@StringRes int ... labels) { in setLabels() argument 519 mLabels = labels; in setLabels()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 220 CharSequence[] labels = new CharSequence[ICONS.length]; in setupIcons() local 234 labels[i] = builder; in setupIcons() 237 icon.setEntries(labels); in setupIcons()
|