Searched refs:mDismissButton (Results 1 – 4 of 4) sorted by relevance
55 private final ImageButton mDismissButton; field in CarNotificationBaseViewHolder113 mDismissButton = itemView.findViewById(R.id.dismiss_button); in CarNotificationBaseViewHolder()117 if (mDismissButton != null && !mAlwaysShowDismissButton) { in CarNotificationBaseViewHolder()121 mDismissButton.setImageAlpha(itemView.hasFocus() ? 255 : 0); in CarNotificationBaseViewHolder()301 if (mDismissButton != null) { in reset()303 mDismissButton.setImageAlpha(0); in reset()305 mDismissButton.setVisibility(View.GONE); in reset()330 if (mDismissButton == null) { in updateDismissButton()339 mDismissButton.setImageAlpha(0); in updateDismissButton()341 mDismissButton.setVisibility(View.VISIBLE); in updateDismissButton()[all …]
44 private final Button mDismissButton; field in HeaderMessageDocumentHolder58 mDismissButton = (Button) itemView.findViewById(R.id.dismiss_button); in HeaderMessageDocumentHolder()63 mDismissButton.setOnClickListener(this::onButtonClick); in bind()102 mDismissButton.setVisibility(View.GONE); in bind()108 mDismissButton.setVisibility(View.VISIBLE); in bind()110 mDismissButton.setText(mMessage.getButtonString()); in bind()
119 private lateinit var mDismissButton: ImageView variable in com.android.deskclock.alarms.AlarmActivity186 mDismissButton = mContentView.findViewById(R.id.dismiss) as ImageView in onCreate()201 mDismissButton.setOnClickListener(this) in onCreate()205 mDismissAnimator = getButtonAnimator(mDismissButton, mCurrentHourColor) in onCreate()307 } else if (view == mDismissButton) { in onClick()315 } else if (view == mDismissButton) { in onClick()367 getFraction(alarmLeft.toFloat(), mDismissButton.getRight().toFloat(), x) in onTouch()371 getFraction(alarmRight.toFloat(), mDismissButton.getLeft().toFloat(), x) in onTouch()444 val translationX = (Math.max(mDismissButton.getLeft() - alarmRight, 0) + in hintDismiss()445 Math.min(mDismissButton.getRight() - alarmLeft, 0)).toFloat() in hintDismiss()[all …]
85 private Button mDismissButton; field in IccNetworkDepersonalizationPanel213 mDismissButton = (Button) findViewById(R.id.ndp_dismiss); in onCreate()218 mDismissButton.setVisibility(View.VISIBLE); in onCreate()219 mDismissButton.setOnClickListener(mDismissListener); in onCreate()222 mDismissButton.setVisibility(View.GONE); in onCreate()