Home
last modified time | relevance | path

Searched refs:labelView (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java50 private TextView labelView; field in CheckableLabeledButton
108 labelView = new TextView(context); in init()
114 labelView.setLayoutParams(labelParams); in init()
115 labelView.setTextAppearance(R.style.Dialer_Incall_TextAppearance_Label); in init()
116 labelView.setText(labelText); in init()
117 labelView.setSingleLine(); in init()
118 labelView.setMaxEms(9); in init()
119 labelView.setEllipsize(TruncateAt.END); in init()
120 labelView.setGravity(Gravity.CENTER); in init()
121 labelView.setDuplicateParentStateEnabled(true); in init()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java179 if (holder.labelView != null) { in initOptions()
180 holder.labelView.setText(option.getTitle()); in initOptions()
286 TextView labelView; field in OptionSelectorController.TileViewHolder
292 labelView = itemView.findViewById(R.id.option_label); in TileViewHolder()
311 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in setContentDescription()
312 labelView.setContentDescription(cd); in setContentDescription()
320 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in resetContentDescription()
321 labelView.setContentDescription(title); in resetContentDescription()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java89 TextView labelView = snackbar.findViewById(R.id.label); in show() local
93 int totalContentWidth = (int) (labelView.getPaint().measureText(labelText) in show()
95 + labelView.getPaddingRight() + labelView.getPaddingLeft() in show()
107 labelView.setLines(2); in show()
108 labelView.getLayoutParams().height = textHeight * 2; in show()
110 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
116 labelView.setText(labelText); in show()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DResultActivity.java166 TextView labelView = new TextView(this); in addRowWithBitmap() local
167 labelView.setPadding(4, 4, 4, 4); in addRowWithBitmap()
168 labelView.setText(label); in addRowWithBitmap()
174 addRow(labelView, imageView); in addRowWithBitmap()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DExpiredTimersActivity.kt163 val labelView = timerItem.findViewById<View>(R.id.timer_label) as TextView in addTimer() constant
164 labelView.hint = null in addTimer()
165 labelView.visibility = if (TextUtils.isEmpty(timer.label)) View.GONE else View.VISIBLE in addTimer()
DExpiredTimersActivity.java172 final TextView labelView = (TextView) timerItem.findViewById(R.id.timer_label); in addTimer() local
173 labelView.setHint(null); in addTimer()
174 labelView.setVisibility(TextUtils.isEmpty(timer.getLabel()) ? View.GONE : View.VISIBLE); in addTimer()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java86 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
96 labelView.setText(mLabel); in setIconAndLabelFor()
98 labelView.setText(mLabelResId); in setIconAndLabelFor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupStartIndicatorView.java39 final LabelView labelView = (LabelView)findViewById(R.id.setup_start_label); in SetupStartIndicatorView() local
40 labelView.setIndicatorView(findViewById(R.id.setup_start_indicator)); in SetupStartIndicatorView()