Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Browser/src/com/android/browser/
DTabBar.java150 TabView tv = buildTabView(tab); in updateTabs() local
151 mTabs.addTab(tv); in updateTabs()
427 private void animateTabOut(final Tab tab, final TabView tv) { in animateTabOut() argument
428 ObjectAnimator scalex = ObjectAnimator.ofFloat(tv, "scaleX", 1.0f, 0.0f); in animateTabOut()
429 ObjectAnimator scaley = ObjectAnimator.ofFloat(tv, "scaleY", 1.0f, 0.0f); in animateTabOut()
430 ObjectAnimator alpha = ObjectAnimator.ofFloat(tv, "alpha", 1.0f, 0.0f); in animateTabOut()
442 mTabs.removeTab(tv); in animateTabOut()
459 private void animateTabIn(final Tab tab, final TabView tv) { in animateTabIn() argument
460 ObjectAnimator scalex = ObjectAnimator.ofFloat(tv, "scaleX", 0.0f, 1.0f); in animateTabIn()
479 mTabs.addTab(tv); in animateTabIn()
[all …]
DBreadCrumbView.java366 TextView tv = new TextView(mContext); in makeCrumbView() local
367 tv.setTextAppearance(mContext, android.R.style.TextAppearance_Medium); in makeCrumbView()
368 tv.setPadding(mCrumbPadding, 0, mCrumbPadding, 0); in makeCrumbView()
369 tv.setGravity(Gravity.CENTER_VERTICAL); in makeCrumbView()
370 tv.setText(name); in makeCrumbView()
371 tv.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in makeCrumbView()
373 tv.setSingleLine(); in makeCrumbView()
374 tv.setEllipsize(TextUtils.TruncateAt.END); in makeCrumbView()
375 return tv; in makeCrumbView()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferAdapter.java84 TextView tv = (TextView)view.findViewById(R.id.transfer_title); in bindView() local
90 tv.setText(title); in bindView()
93 tv = (TextView)view.findViewById(R.id.targetdevice); in bindView()
99 tv.setText(deviceName); in bindView()
104 tv = (TextView)view.findViewById(R.id.complete_text); in bindView()
105 tv.setVisibility(View.VISIBLE); in bindView()
107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); in bindView()
117 tv.setText(completeText); in bindView()
125 tv = (TextView)view.findViewById(R.id.complete_date); in bindView()
126 tv.setVisibility(View.VISIBLE); in bindView()
[all …]
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java176 TextView tv = textViewForContainer(v); in onTouch() local
177 if (tv == null) { in onTouch()
188 Message msg = mLabelScroller.obtainMessage(0, tv); in onTouch()
193 int scrollx = tv.getScrollX(); in onTouch()
209 tv.scrollTo(scrollx, 0); in onTouch()
216 mLabelScroller.removeMessages(0, tv); in onTouch()
220 if (tv.getEllipsize() != null) { in onTouch()
221 tv.setEllipsize(null); in onTouch()
223 Layout ll = tv.getLayout(); in onTouch()
231 mTextWidth = (int) tv.getLayout().getLineWidth(0); in onTouch()
[all …]
DMediaPickerActivity.java250 TextView tv = (TextView) v.findViewById(R.id.duration); in newView() local
251 tv.setVisibility(View.GONE); in newView()
261 TextView tv = (TextView) view.findViewById(R.id.line1); in bindView() local
263 tv.setText(name); in bindView()
265 tv = (TextView) view.findViewById(R.id.line2); in bindView()
280 tv.setText(builder.toString()); in bindView()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java137 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) { in chooseSize() argument
138 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); in chooseSize()
139 int ht = tv.getPaddingTop() + tv.getPaddingBottom(); in chooseSize()
147 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java113 TextView tv = (TextView) v.findViewById(R.id.message); in makeText() local
114 tv.setText(text); in makeText()
131 TextView tv = (TextView) mNextView.findViewById(R.id.message); in setText() local
132 if (tv == null) { in setText()
136 tv.setText(s); in setText()
DListPreference.java58 TypedValue tv = a.peekValue(attrDefaultValue); in ListPreference() local
59 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) { in ListPreference()
/packages/apps/Camera/src/com/android/camera/
DOnScreenHint.java110 TextView tv = (TextView) v.findViewById(R.id.message); in makeText() local
111 tv.setText(text); in makeText()
128 TextView tv = (TextView) mNextView.findViewById(R.id.message); in setText() local
129 if (tv == null) { in setText()
133 tv.setText(s); in setText()
DListPreference.java58 TypedValue tv = a.peekValue(attrDefaultValue); in ListPreference() local
59 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) { in ListPreference()
/packages/apps/Gallery2/src/com/android/camera/
DOnScreenHint.java112 TextView tv = (TextView) v.findViewById(R.id.message); in makeText() local
113 tv.setText(text); in makeText()
130 TextView tv = (TextView) mNextView.findViewById(R.id.message); in setText() local
131 if (tv == null) { in setText()
135 tv.setText(s); in setText()
DListPreference.java61 TypedValue tv = a.peekValue(attrDefaultValue); in ListPreference() local
62 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) { in ListPreference()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java139 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) { in chooseSize() argument
140 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); in chooseSize()
141 int ht = tv.getPaddingTop() + tv.getPaddingBottom(); in chooseSize()
149 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java252 TextView tv; in getView() local
254 tv = (TextView) LayoutInflater.from(mActivity.getAndroidContext()).inflate( in getView()
257 tv = (TextView) convertView; in getView()
259 tv.setText(mItems.get(position)); in getView()
260 return tv; in getView()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java665 TextView tv = (TextView) findViewById(R.id.maxLevelText); in equalizerBandsInit() local
666 tv.setText("+15 dB"); in equalizerBandsInit()
667 tv = (TextView) findViewById(R.id.centerLevelText); in equalizerBandsInit()
668 tv.setText("0 dB"); in equalizerBandsInit()
669 tv = (TextView) findViewById(R.id.minLevelText); in equalizerBandsInit()
670 tv.setText("-15 dB"); in equalizerBandsInit()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java38 final TextView tv = (TextView) child; in onMeasure() local
39 if (tv.getEllipsize() != null) { in onMeasure()
41 ellipView = tv; in onMeasure()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java1195 TextView tv = (TextView) mView.findViewById(R.id.calendar_textview); in setModel() local
1196 tv.setText(model.mCalendarDisplayName); in setModel()
1197 tv = (TextView) mView.findViewById(R.id.calendar_textview_secondary); in setModel()
1198 if (tv != null) { in setModel()
1199 tv.setText(model.mOwnerAccount); in setModel()
1264 CharSequence tv = ((TextView) v).getText(); in addFieldsRecursive() local
1265 if (!TextUtils.isEmpty(tv.toString().trim())) { in addFieldsRecursive()
1266 b.append(tv + PERIOD_SPACE); in addFieldsRecursive()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaWindowAdapter.java491 TextView tv = new TextView(mContext); in getView() local
492 tv.setText("Bug! " + position); in getView()
493 v = tv; in getView()
1286 TextView tv = ((AgendaAdapter.ViewHolder) yy).title; in getViewTitle() local
1287 if (tv != null) { in getViewTitle()
1288 title = (String) tv.getText(); in getViewTitle()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java571 TextView tv = createCandidateView(); in createNormalCandidateView() local
572 lineView.addView(tv); in createNormalCandidateView()
576 TextView tv = createCandidateView(); in createNormalCandidateView() local
581 tv.setLayoutParams(layoutParams); in createNormalCandidateView()
583 lineView.addView(tv); in createNormalCandidateView()
584 mViewCandidateTemplate = tv; in createNormalCandidateView()
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
Dgrass.rs285 float tv = z * (1.0f - y * (1.0f - f));
290 green = tv;
301 blue = tv;
309 red = tv;
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java279 TextView tv = (TextView) findViewById(id); in setTextTime() local
280 if (tv == null) return; in setTextTime()
281 String text = tv.getText().toString(); in setTextTime()
283 tv.setText(text); in setTextTime()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageListItem.java642 TextView tv = (TextView) v; in onMessageListItemClick()
647 tv.setCompoundDrawablePadding(10); in onMessageListItemClick()
648 tv.setCompoundDrawables(d, null, null, null); in onMessageListItemClick()
660 tv.setText(url); in onMessageListItemClick()
DSearchActivity.java192 TextView tv = mContactMap.get(updated);
193 if (tv != null) {
194 tv.setText(updated.getNameAndNumber());
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java363 TextView tv = (TextView) v; in toggleMessageEllipsis() local
366 tv.setEllipsize(mAddMsgEllipsized ? TruncateAt.END : null); in toggleMessageEllipsis()
367 tv.setMaxLines(mAddMsgEllipsized ? getEllipsizedLines() : MAX_ADD_MSG_LINES); in toggleMessageEllipsis()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateTextToast.java40 TextView tv = (TextView) mToast.findViewById(R.id.message); in RotateTextToast() local
41 tv.setText(textResourceId); in RotateTextToast()

123