Home
last modified time | relevance | path

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

12

/development/tools/idegen/src/
DStopwatch.java24 void reset(String label) { in reset() argument
26 Log.info(label + ": " + (now - last) + "ms"); in reset()
/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/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java65 mEnterKey.label = res.getText(R.string.label_go_key); in setImeOptions()
70 mEnterKey.label = res.getText(R.string.label_next_key); in setImeOptions()
74 mEnterKey.label = null; in setImeOptions()
79 mEnterKey.label = res.getText(R.string.label_send_key); in setImeOptions()
83 mEnterKey.label = null; in setImeOptions()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentArgumentsSupport.java62 static MyFragment newInstance(CharSequence label) { in newInstance() argument
65 b.putCharSequence("label", label); in newInstance()
93 CharSequence label = args.getCharSequence("label"); in onCreate() local
94 if (label != null) { in onCreate()
95 mLabel = label; in onCreate()
/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()
DDetails.java87 TextView label = makeView(cd.key, true, 12); in addDataViews() local
90 mLinearLayout.addView(label, lazy()); in addDataViews()
/development/scripts/
Dsymbol.py64 (label, platform, target) = toolchain_info
65 return os.path.join(ANDROID_BUILD_TOP, "prebuilts/gcc", Uname(), platform, label, "bin",
95 for (label, platform, target) in known_toolchains:
96 toolchain_info = (label, platform, target);
198 (label, platform, target) = FindToolchain()
/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/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/
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/samples/Support13Demos/src/com/example/android/supportv13/
DSupport13Demos.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/samples/Support7Demos/src/com/example/android/supportv7/
DSupport7Demos.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/samples/Support4Demos/src/com/example/android/supportv4/
DSupport4Demos.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/tools/mkstubs/src/com/android/mkstubs/stubber/
DMethodStubber.java120 public void visitJumpInsn(int opcode, Label label) { in visitJumpInsn() argument
125 public void visitLabel(Label label) { in visitLabel() argument
/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/SupportAppNavigation/src/com/example/android/support/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/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java341 Label label = mLabels.get(labelID); in draw() local
344 GL11Ext.GL_TEXTURE_CROP_RECT_OES, label.mCrop, 0); in draw()
346 (int) label.width, (int) label.height); in draw()

12