Home
last modified time | relevance | path

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

/aosp12/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DCheckableLabeledButton.java50 private TextView labelView; field in CheckableLabeledButton
108 labelView = new TextView(context); in init()
114 labelView.setLayoutParams(labelParams); 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()
122 addView(labelView); in init()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DSnackbar.java102 TextView labelView = snackbar.findViewById(R.id.label); in show() local
104 labelView.setText(labelText); in show()
125 int totalContentWidth = (int) (labelView.getPaint().measureText(labelText) + actionWidth) in show()
126 + labelView.getPaddingRight() + labelView.getPaddingLeft() in show()
137 labelView.setLines(2); in show()
138 labelView.getLayoutParams().height = textHeight * 2; in show()
140 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/widget/
H A DOptionSelectorController.java192 if (holder.labelView != null) { in initOptions()
193 holder.labelView.setText(option.getTitle()); in initOptions()
360 TextView labelView; field in OptionSelectorController.TileViewHolder
366 labelView = itemView.findViewById(R.id.option_label); in TileViewHolder()
385 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in setContentDescription()
386 labelView.setAccessibilityPaneTitle(cd); in setContentDescription()
387 labelView.setContentDescription(cd); in setContentDescription()
395 if (labelView != null && !TextUtils.isEmpty(labelView.getText())) { in resetContentDescription()
396 labelView.setAccessibilityPaneTitle(title); in resetContentDescription()
397 labelView.setContentDescription(title); in resetContentDescription()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A 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()
/aosp12/frameworks/base/core/java/com/android/internal/accessibility/dialog/
H A DButtonTargetAdapter.java63 final TextView labelView = root.findViewById(R.id.accessibility_button_target_label); in getView() local
65 labelView.setText(target.getLabel()); in getView()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DExpiredTimersActivity.kt163 val labelView = timerItem.findViewById<View>(R.id.timer_label) as TextView regex
164 labelView.hint = null
165 labelView.visibility = if (TextUtils.isEmpty(timer.label)) View.GONE else View.VISIBLE
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A 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()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DRemoteActionShortcut.java55 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
59 labelView.setText(mAction.getTitle()); in setIconAndLabelFor()
H A DSystemShortcut.java78 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
80 labelView.setText(mLabelResId); in setIconAndLabelFor()