Home
last modified time | relevance | path

Searched refs:mDismissButton (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java55 private final ImageButton mDismissButton; field in CarNotificationBaseViewHolder
113 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 …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DHeaderMessageDocumentHolder.java44 private final Button mDismissButton; field in HeaderMessageDocumentHolder
58 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()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt119 private lateinit var mDismissButton: ImageView variable in com.android.deskclock.alarms.AlarmActivity
186 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 …]
/packages/services/Telephony/src/com/android/phone/
DIccNetworkDepersonalizationPanel.java85 private Button mDismissButton; field in IccNetworkDepersonalizationPanel
213 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()