Searched refs:labelView (Results 1 – 8 of 8) sorted by relevance
50 private TextView labelView; field in CheckableLabeledButton108 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 …]
89 TextView labelView = snackbar.findViewById(R.id.label); in show() local93 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()
224 if (holder.labelView != null) { in initOptions()225 holder.labelView.setText(option.getTitle()); in initOptions()367 TextView labelView; field in OptionSelectorController.TileViewHolder373 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()
166 TextView labelView = new TextView(this); in addRowWithBitmap() local167 labelView.setPadding(4, 4, 4, 4); in addRowWithBitmap()168 labelView.setText(label); in addRowWithBitmap()174 addRow(labelView, imageView); in addRowWithBitmap()
163 val labelView = timerItem.findViewById<View>(R.id.timer_label) as TextView in addTimer() constant164 labelView.hint = null in addTimer()165 labelView.visibility = if (TextUtils.isEmpty(timer.label)) View.GONE else View.VISIBLE in addTimer()
39 final LabelView labelView = (LabelView)findViewById(R.id.setup_start_label); in SetupStartIndicatorView() local40 labelView.setIndicatorView(findViewById(R.id.setup_start_indicator)); in SetupStartIndicatorView()
55 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument59 labelView.setText(mAction.getTitle()); in setIconAndLabelFor()
78 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument80 labelView.setText(mLabelResId); in setIconAndLabelFor()