Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DLetterboxEduDialogLayoutTest.java54 private View mDismissButton; field in LetterboxEduDialogLayoutTest
63 mDismissButton = mLayout.findViewById(R.id.letterbox_education_dialog_dismiss_button); in setUp()
80 assertTrue(mDismissButton.performClick()); in testOnDismissButtonClicked()
103 assertFalse(mDismissButton.performClick()); in testSetDismissOnClickListenerNull()
DRestartDialogLayoutTest.java58 private View mDismissButton; field in RestartDialogLayoutTest
70 mDismissButton = mLayout.findViewById(R.id.letterbox_restart_dialog_dismiss_button); in setUp()
90 assertTrue(mDismissButton.performClick()); in testOnDismissButtonClicked()
130 assertFalse(mDismissButton.performClick()); in testSetDismissOnClickListenerNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java153 private FrameLayout mDismissButton; field in ScreenshotView
284 mDismissButton.getBoundsOnScreen(tmpRect); in getSwipeRegion()
368 mDismissButton = requireNonNull(findViewById(R.id.screenshot_dismiss_button)); in onFinishInflate()
548 mDismissButton.setAlpha(0); in createScreenshotDropInAnimation()
549 mDismissButton.setVisibility(View.VISIBLE); in createScreenshotDropInAnimation()
584 mDismissButton.setAlpha((t - dismissPct) / (1 - dismissPct)); in createScreenshotDropInAnimation()
587 mDismissButton.setY(currentY - mDismissButton.getHeight() / 2f); in createScreenshotDropInAnimation()
589 mDismissButton.setX(currentX + mScreenshotPreview.getWidth() in createScreenshotDropInAnimation()
590 - mDismissButton.getWidth() / 2f); in createScreenshotDropInAnimation()
592 mDismissButton.setX(currentX - mDismissButton.getWidth() / 2f); in createScreenshotDropInAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMenuView.java147 protected View mDismissButton; field in PipMenuView
184 mDismissButton = findViewById(R.id.dismiss); in PipMenuView()
185 mDismissButton.setAlpha(0); in PipMenuView()
186 mDismissButton.setOnClickListener(v -> dismissPip()); in PipMenuView()
200 findViewById(R.id.resize_handle), mSettingsButton, mDismissButton); in PipMenuView() local
282 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in showMenu()
283 mDismissButton.getAlpha(), 1f); in showMenu()
337 mDismissButton.setAlpha(0f); in fadeOutMenu()
375 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in hideMenu()
376 mDismissButton.getAlpha(), 0f); in hideMenu()
DPipMenuIconsAlgorithm.java36 protected View mDismissButton; field in PipMenuIconsAlgorithm
50 mDismissButton = dismissButton; in bindViews()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMenuView.java146 protected View mDismissButton; field in PipMenuView
182 mDismissButton = findViewById(R.id.dismiss); in PipMenuView()
183 mDismissButton.setAlpha(0); in PipMenuView()
184 mDismissButton.setOnClickListener(v -> dismissPip()); in PipMenuView()
198 findViewById(R.id.resize_handle), mSettingsButton, mDismissButton); in PipMenuView() local
280 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in showMenu()
281 mDismissButton.getAlpha(), 1f); in showMenu()
335 mDismissButton.setAlpha(0f); in fadeOutMenu()
373 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in hideMenu()
374 mDismissButton.getAlpha(), 0f); in hideMenu()
DPipMenuIconsAlgorithm.java36 protected View mDismissButton; field in PipMenuIconsAlgorithm
50 mDismissButton = dismissButton; in bindViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java109 private View mDismissButton; field in ClipboardOverlayView
141 mDismissButton = requireViewById(R.id.dismiss_button); in onFinishInflate()
215 mDismissButton.setOnClickListener(v -> clipboardCallbacks.onDismissButtonTapped()); in setCallbacks()
282 mDismissButton.getBoundsOnScreen(tmpRect); in isInTouchRegion()
338 mDismissButton.setVisibility(View.GONE); in reset()
368 mDismissButton.setVisibility(View.VISIBLE); in getEnterAnimation()
412 mDismissButton.setAlpha(alpha); in getEnterAnimation()
440 mDismissButton.setAlpha(alpha); in getFadeOutAnimation()
487 mDismissButton.setAlpha(alpha); in getExitAnimation()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java353 ImageButton mDismissButton = mRootView.findViewById(R.id.banner_dismiss_btn); in onBindViewHolder_whenAtLeastS_withClickListenerAndNotVisible_dimissButtonIsGone() local
354 assertThat(mDismissButton.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_whenAtLeastS_withClickListenerAndNotVisible_dimissButtonIsGone()