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/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/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java224 if (holder.labelView != null) { in initOptions()
225 holder.labelView.setText(option.getTitle()); in initOptions()
367 TextView labelView; field in OptionSelectorController.TileViewHolder
373 labelView = itemView.findViewById(R.id.option_label); in TileViewHolder()
392 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in setContentDescription()
393 labelView.setAccessibilityPaneTitle(cd); in setContentDescription()
394 labelView.setContentDescription(cd); in setContentDescription()
402 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in resetContentDescription()
403 labelView.setAccessibilityPaneTitle(title); in resetContentDescription()
404 labelView.setContentDescription(title); in resetContentDescription()
/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()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DRemoteActionShortcut.java55 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
59 labelView.setText(mAction.getTitle()); in setIconAndLabelFor()
DSystemShortcut.java78 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
80 labelView.setText(mLabelResId); in setIconAndLabelFor()