Searched refs:mDismissButton (Results 1 – 3 of 3) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 119 private lateinit var mDismissButton: ImageView variable in com.android.deskclock.alarms.AlarmActivity 180 mDismissButton = mContentView.findViewById(R.id.dismiss) as ImageView in onCreate() 195 mDismissButton.setOnClickListener(this) in onCreate() 199 mDismissAnimator = getButtonAnimator(mDismissButton, mCurrentHourColor) in onCreate() 301 } else if (view == mDismissButton) { in onClick() 309 } else if (view == mDismissButton) { in onClick() 361 getFraction(alarmLeft.toFloat(), mDismissButton.getRight().toFloat(), x) in onTouch() 365 getFraction(alarmRight.toFloat(), mDismissButton.getLeft().toFloat(), x) in onTouch() 438 val translationX = (Math.max(mDismissButton.getLeft() - alarmRight, 0) + in hintDismiss() 439 Math.min(mDismissButton.getRight() - alarmLeft, 0)).toFloat() in hintDismiss() [all …]
|
D | AlarmActivity.java | 145 private ImageView mDismissButton; field in AlarmActivity 206 mDismissButton = (ImageView) mContentView.findViewById(R.id.dismiss); in onCreate() 221 mDismissButton.setOnClickListener(this); in onCreate() 225 mDismissAnimator = getButtonAnimator(mDismissButton, mCurrentHourColor); in onCreate() 333 } else if (view == mDismissButton) { in onClick() 341 } else if (view == mDismissButton) { in onClick() 391 dismissFraction = getFraction(alarmLeft, mDismissButton.getRight(), x); in onTouch() 394 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch() 463 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) in hintDismiss() 464 + Math.min(mDismissButton.getRight() - alarmLeft, 0); in hintDismiss() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | IccNetworkDepersonalizationPanel.java | 81 private Button mDismissButton; field in IccNetworkDepersonalizationPanel 204 mDismissButton = (Button) findViewById(R.id.ndp_dismiss); in onCreate() 209 mDismissButton.setVisibility(View.VISIBLE); in onCreate() 210 mDismissButton.setOnClickListener(mDismissListener); in onCreate() 213 mDismissButton.setVisibility(View.GONE); in onCreate()
|