Searched refs:tv (Results 1 - 25 of 33) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferAdapter.java84 TextView tv = (TextView)view.findViewById(R.id.transfer_title);
90 tv.setText(title);
93 tv = (TextView)view.findViewById(R.id.targetdevice);
99 tv.setText(deviceName);
104 tv = (TextView)view.findViewById(R.id.complete_text);
105 tv.setVisibility(View.VISIBLE);
107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName));
117 tv.setText(completeText);
125 tv = (TextView)view.findViewById(R.id.complete_date);
126 tv
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DTabBar.java153 TabView tv = buildTabView(tab);
154 mTabs.addTab(tv);
443 private void animateTabOut(final Tab tab, final TabView tv) { argument
444 ObjectAnimator scalex = ObjectAnimator.ofFloat(tv, "scaleX", 1.0f, 0.0f);
445 ObjectAnimator scaley = ObjectAnimator.ofFloat(tv, "scaleY", 1.0f, 0.0f);
446 ObjectAnimator alpha = ObjectAnimator.ofFloat(tv, "alpha", 1.0f, 0.0f);
458 mTabs.removeTab(tv);
475 private void animateTabIn(final Tab tab, final TabView tv) { argument
476 ObjectAnimator scalex = ObjectAnimator.ofFloat(tv, "scaleX", 0.0f, 1.0f);
495 mTabs.addTab(tv);
[all...]
H A DBreadCrumbView.java364 TextView tv = new TextView(mContext);
365 tv.setTextAppearance(mContext, android.R.style.TextAppearance_Medium);
366 tv.setPadding(mCrumbPadding, 0, mCrumbPadding, 0);
367 tv.setGravity(Gravity.CENTER_VERTICAL);
368 tv.setText(name);
369 tv.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
371 tv.setSingleLine();
372 tv.setEllipsize(TextUtils.TruncateAt.END);
373 return tv;
H A DBrowserBookmarksAdapter.java63 TextView tv = (TextView) view.findViewById(R.id.label);
65 tv.setText(cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE));
90 TextView tv = (TextView) view.findViewById(R.id.label);
92 tv.setText(cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE));
H A DTabScrollView.java94 final TabView tv = (TabView) mContentView.getChildAt(i);
95 tv.updateLayoutParams();
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DRequestPermissionHelperActivity.java74 TextView tv = (TextView) view.findViewById(R.id.message);
77 tv.setText(getString(R.string.bluetooth_ask_enablement));
80 tv.setText(getString(R.string.bluetooth_ask_enablement_and_lasting_discovery));
82 tv.setText(getString(R.string.bluetooth_ask_enablement_and_discovery, mTimeout));
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateTextToast.java40 TextView tv = (TextView) mToast.findViewById(R.id.message);
41 tv.setText(textResourceId);
/packages/apps/Camera/src/com/android/camera/
H A DOnScreenHint.java113 TextView tv = (TextView) v.findViewById(R.id.message);
114 tv.setText(text);
131 TextView tv = (TextView) mNextView.findViewById(R.id.message);
132 if (tv == null) {
136 tv.setText(s);
H A DListPreference.java58 TypedValue tv = a.peekValue(attrDefaultValue);
59 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) {
/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeper.java148 TextView tv = (TextView) findViewById(R.id.status);
149 tv.setText(R.string.try_again);
150 tv.setVisibility(View.VISIBLE);
358 TextView tv = (TextView) findViewById(R.id.title);
359 tv.setText(R.string.crypt_keeper_failed_title);
361 tv = (TextView) findViewById(R.id.status);
362 tv.setText(R.string.crypt_keeper_failed_summary);
388 TextView tv = (TextView) findViewById(R.id.status);
389 tv.setText(TextUtils.expandTemplate(status, Integer.toString(progress)));
397 TextView tv
[all...]
H A DDeviceAdminAdd.java327 TextView tv = (TextView) v;
330 tv.setEllipsize(mAddMsgEllipsized ? TruncateAt.END : null);
331 tv.setMaxLines(mAddMsgEllipsized ? getEllipsizedLines() : MAX_ADD_MSG_LINES);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDialogDetailsView.java216 TextView tv;
218 tv = (TextView) LayoutInflater.from(mContext.getAndroidContext()).inflate(
221 tv = (TextView) convertView;
223 tv.setText(mItems.get(position));
224 return tv;
/packages/apps/Music/src/com/android/music/
H A DMediaPickerActivity.java250 TextView tv = (TextView) v.findViewById(R.id.duration);
251 tv.setVisibility(View.GONE);
261 TextView tv = (TextView) view.findViewById(R.id.line1);
263 tv.setText(name);
265 tv = (TextView) view.findViewById(R.id.line2);
280 tv.setText(builder.toString());
H A DMediaPlaybackActivity.java176 TextView tv = textViewForContainer(v);
177 if (tv == null) {
188 Message msg = mLabelScroller.obtainMessage(0, tv);
193 int scrollx = tv.getScrollX();
209 tv.scrollTo(scrollx, 0);
216 mLabelScroller.removeMessages(0, tv);
220 if (tv.getEllipsize() != null) {
221 tv.setEllipsize(null);
223 Layout ll = tv.getLayout();
231 mTextWidth = (int) tv
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DTutorialEN.java137 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) { argument
138 int wid = tv.getPaddingLeft() + tv.getPaddingRight();
139 int ht = tv.getPaddingTop() + tv.getPaddingBottom();
147 Layout l = new StaticLayout(text, tv.getPaint(), cap,
/packages/apps/Stk/src/com/android/stk/
H A DToneDialog.java74 TextView tv = (TextView) findViewById(R.id.message);
78 tv.setText(toneMsg.text);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java139 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) { argument
140 int wid = tv.getPaddingLeft() + tv.getPaddingRight();
141 int ht = tv.getPaddingTop() + tv.getPaddingBottom();
149 Layout l = new StaticLayout(text, tv.getPaint(), cap,
/packages/apps/Mms/src/com/android/mms/ui/
H A DSearchActivity.java194 TextView tv = mContactMap.get(updated);
195 if (tv != null) {
196 tv.setText(updated.getNameAndNumber());
H A DMessageListItem.java493 TextView tv = (TextView) v;
497 tv.setCompoundDrawablePadding(10);
498 tv.setCompoundDrawables(d, null, null, null);
505 tv.setText(url);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DProjectsActivity.java202 final TextView tv =
204 final String projectName = tv.getText().toString();
/packages/apps/MusicFX/src/com/android/musicfx/
H A DActivityMusic.java636 TextView tv = (TextView) findViewById(R.id.maxLevelText);
637 tv.setText("+15 dB");
638 tv = (TextView) findViewById(R.id.centerLevelText);
639 tv.setText("0 dB");
640 tv = (TextView) findViewById(R.id.minLevelText);
641 tv.setText("-15 dB");
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidatesViewManager.java375 TextView tv = createCandidateView();
376 lineView.addView(tv);
380 TextView tv = createCandidateView();
385 tv.setLayoutParams(layoutParams);
387 lineView.addView(tv);
388 mViewCandidateTemplate = tv;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragLayer.java448 TextView tv = (TextView) child;
449 Drawable d = tv.getCompoundDrawables()[1];
452 toY += Math.round(scale * tv.getPaddingTop());
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java465 TextView tv = new TextView(mContext);
466 tv.setText("Bug! " + position);
467 v = tv;
1218 TextView tv = ((AgendaAdapter.ViewHolder) yy).title;
1219 if (tv != null) {
1220 title = (String) tv.getText();
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java279 TextView tv = (TextView) findViewById(id);
280 if (tv == null) return;
281 String text = tv.getText().toString();
283 tv.setText(text);

Completed in 492 milliseconds

12