Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 48) sorted by relevance

12

/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DAnalogAndCardBoundsWatchFaceConfigActivity.java34 TextView label = (TextView) findViewById(R.id.label); in onCreate() local
35 label.setText(label.getText() + " (" + name.getClassName() + ")"); in onCreate()
DOpenGLWatchFaceConfigActivity.java39 TextView label = (TextView) findViewById(R.id.label); in onCreate() local
40 label.setText(label.getText() + " (" + name.getClassName() + ")"); in onCreate()
DDigitalWatchFaceCompanionConfigActivity.java76 TextView label = (TextView)findViewById(R.id.label); in onCreate() local
77 label.setText(label.getText() + " (" + name.getClassName() + ")"); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DTableLayout8.java57 TextView label = new TextView(this); in appendRow() local
58 label.setText(R.string.table_layout_8_quit); in appendRow()
59 label.setPadding(3, 3, 3, 3); in appendRow()
66 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
DTableLayout7.java66 TextView label = new TextView(this); in appendRow() local
67 label.setText(R.string.table_layout_7_quit); in appendRow()
68 label.setPadding(3, 3, 3, 3); in appendRow()
75 row.addView(label, new TableRow.LayoutParams(1)); in appendRow()
DList3.java60 String label = null; in onCreate()
63 label = cursor.getString(COLUMN_LABEL); in onCreate()
66 String text = (String) Phone.getTypeLabel(getResources(), type, label); in onCreate()
DList7.java85 String label = null; in onItemSelected() local
88 label = c.getString(COLUMN_PHONE_LABEL); in onItemSelected()
91 String numberType = (String) Phone.getTypeLabel(getResources(), type, label); in onItemSelected()
/development/tools/idegen/src/
DStopwatch.java24 void reset(String label) { in reset() argument
26 Log.info(label + ": " + (now - last) + "ms"); in reset()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java273 private void addAction(String label, int id, int type) { in addAction() argument
275 cardAction.label = label; in addAction()
422 public Builder addAction(String label, int id, int type) { in addAction() argument
423 mCard.addAction(label, id, type); in addAction()
461 public Builder setProgressLabel(String label) { in setProgressLabel() argument
466 mCard.mCardProgress.label = label; in setProgressLabel()
569 actionButton.setText(action.label); in initializeActionViews()
595 .setText(mCard.mCardProgress.label); in initializeProgressView()
612 public String label; field in Card.CardAction
619 actionClone.label = label; in createShallowClone()
[all …]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java118 mEnterKey.label = res.getText(R.string.label_go_key); in setImeOptions()
123 mEnterKey.label = res.getText(R.string.label_next_key); in setImeOptions()
127 mEnterKey.label = null; in setImeOptions()
132 mEnterKey.label = res.getText(R.string.label_send_key); in setImeOptions()
136 mEnterKey.label = null; in setImeOptions()
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java176 private String label; field in SetTimerActivity.ListViewItem
178 public ListViewItem(String label, long duration) { in ListViewItem() argument
179 this.label = label; in ListViewItem()
185 return label; in toString()
207 view.setText(mTimeOptions[position].label); in onBindViewHolder()
/development/scripts/
Dnative_heapdump_viewer.py394label = "%d %6.2f%% %6d %s%s %s %s" % (node.size, total_percent, node.number, extra, lib, fd.funct…
395 label = label.replace("&", "&")
396 label = label.replace("'", "'")
397 label = label.replace('"', """)
398 label = label.replace("<", "&lt;")
399 label = label.replace(">", "&gt;")
403 print('<label for="' + str(label_count) + '">' + label + '</label>')
411 print(label)
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DTaskListView.java96 TextView label = (TextView)(convertView.findViewById(R.id.tasklist_label)); in getView() local
97 label.setText(mLabels[position]); in getView()
103 label.setContentDescription(contentDescription); in getView()
/development/apps/Development/src/com/android/development/
DPackageBrowser.java48 String label; field in PackageBrowser.MyPackageInfo
64 info.label = info.info.applicationInfo.loadLabel(getPackageManager()).toString(); in PackageListAdapter()
79 name.setText(info.label); in bindView()
100 return collator.compare(a.label, b.label);
DShowActivity.java59 mLabel = (TextView)findViewById(R.id.label); in onCreate()
84 CharSequence label = mActivityInfo.loadLabel(pm); in onCreate() local
85 mLabel.setText("\"" + (label != null ? label : "") + "\""); in onCreate()
DAccountsTester.java494 private CallbackToDialog(AccountsTester activity, String label) { in CallbackToDialog() argument
496 mLabel = label; in CallbackToDialog()
504 private Bundle getAndLogResult(AccountManagerFuture<Bundle> future, String label) { in getAndLogResult() argument
508 Log.d(TAG, label + ": " + result); in getAndLogResult()
510 sb.append(label).append(" result:"); in getAndLogResult()
521 Log.d(TAG, label + " failed", e); in getAndLogResult()
522 showMessageDialog(label + " was canceled"); in getAndLogResult()
525 Log.d(TAG, label + " failed", e); in getAndLogResult()
526 showMessageDialog(label + " failed with IOException: " + e.getMessage()); in getAndLogResult()
529 Log.d(TAG, label + " failed", e); in getAndLogResult()
[all …]
DInstrumentationList.java99 CharSequence label = info.loadLabel(mPM); in bindView() local
100 text.setText(label != null ? label : info.name); in bindView()
DPackageSummary.java72 mLabel = (TextView)findViewById(R.id.label); in onCreate()
99 CharSequence label = null; in onCreate() local
104 label = info.applicationInfo.nonLocalizedLabel; in onCreate()
144 if (label != null) { in onCreate()
145 mLabel.setText("\"" + label + "\""); in onCreate()
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java58 public String label = null; field in TouchDisplayView.TouchHistory
156 data.label = "id: " + 0; in onTouchEvent()
186 data.label = "id: " + id; in onTouchEvent()
397 canvas.drawText(data.label, data.x + radius, data.y in drawCircle()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentArguments.java60 static MyFragment newInstance(CharSequence label) { in newInstance() argument
63 b.putCharSequence("label", label); in newInstance()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java84 String label = labelSeq != null in getData() local
88 if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { in getData()
90 String[] labelPath = label.split("/"); in getData()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js96 Module.prototype.createModuleRelationsDom = function (parent, label, argument
98 parent.appendChild(domNewElem('h2', label));
243 function createControlMenuTr(parent, label, items) { argument
251 createControlLabelTdDom(label),
344 for (let label of labels) {
345 domTr.appendChild(domNewElem('th', label));
/development/tools/repo_pull/
Drepo_review.py42 if not args.label:
45 for (name, value) in args.label:
129 if args.label is not None or args.message is not None:
234 if args.label or args.message:
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java64 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; in querySampleActivities() local
69 SampleInfo sample = new SampleInfo(label, target); in querySampleActivities()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DBackgroundPickers.java63 TextView label = (TextView) picker.findViewById(R.id.bg_picker_label); in generatePickers() local
64 label.setText(String.format(res.getString(R.string.bg_picker_label), i+1)); in generatePickers()

12