Home
last modified time | relevance | path

Searched refs:setOnClickListener (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherAdapterTest.kt114 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_notCurrentUser_notGuestUser_oldViewIsSameType()
122 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_notCurrentUser_guestUser_oldViewIsSameType()
130 verify(v)!!.setOnClickListener(adapter) in shouldSetOnOnClickListener_currentUser_notGuestUser_oldViewIsSameType()
138 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_currentUser_guestUser_oldViewIsSameType()
146 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_notCurrentUser_notGuestUser_oldViewIsDifferentType()
154 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_notCurrentUser_guestUser_oldViewIsDifferentType()
162 verify(v)!!.setOnClickListener(adapter) in shouldSetOnOnClickListener_currentUser_notGuestUser_oldViewIsDifferentType()
170 verify(v)!!.setOnClickListener(adapter) in shouldSetOnClickListener_currentUser_guestUser_oldViewIsDifferentType()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemoval.java42 topLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate()
52 bottomLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate()
61 topRightButton.setOnClickListener(new View.OnClickListener() { in onCreate()
70 bottomRightButton.setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/
DTvSplitMenuView.java94 findViewById(R.id.tv_split_main_menu_focus_button).setOnClickListener(this); in initButtons()
95 findViewById(R.id.tv_split_main_menu_close_button).setOnClickListener(this); in initButtons()
96 findViewById(R.id.tv_split_side_menu_focus_button).setOnClickListener(this); in initButtons()
97 findViewById(R.id.tv_split_side_menu_close_button).setOnClickListener(this); in initButtons()
98 findViewById(R.id.tv_split_menu_swap_stages).setOnClickListener(this); in initButtons()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapTransformsTest.kt64 findViewById<Button>(R.id.original)!!.setOnClickListener { in <lambda>()
68 findViewById<Button>(R.id.scaled)!!.setOnClickListener { in <lambda>()
72 findViewById<Button>(R.id.rotate_90)!!.setOnClickListener { in <lambda>()
83 findViewById<Button>(R.id.rotate_90_scaled)!!.setOnClickListener { in <lambda>()
95 findViewById<Button>(R.id.crop)!!.setOnClickListener { in <lambda>()
104 findViewById<Button>(R.id.crop_200)!!.setOnClickListener { in <lambda>()
DGainmapDecodeTest.kt114 findViewById<Button>(R.id.decode_full)!!.setOnClickListener { in onFinishInflate()
117 findViewById<Button>(R.id.decode_subsampled4)!!.setOnClickListener { in onFinishInflate()
120 findViewById<Button>(R.id.decode_scaled66)!!.setOnClickListener { in onFinishInflate()
123 findViewById<Button>(R.id.decode_crop)!!.setOnClickListener { in onFinishInflate()
126 findViewById<Button>(R.id.decode_cropScaled33)!!.setOnClickListener { in onFinishInflate()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { in onCreate()
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { in onCreate()
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { in onCreate()
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DRestartDialogLayout.java80 findViewById(R.id.letterbox_restart_dialog_dismiss_button).setOnClickListener(listener); in setDismissOnClickListener()
92 findViewById(R.id.letterbox_restart_dialog_restart_button).setOnClickListener(listener); in setRestartOnClickListener()
108 mDialogContainer.setOnClickListener(view -> {}); in onFinishInflate()
109 checkboxContainer.setOnClickListener(view -> checkbox.performClick()); in onFinishInflate()
DCompatUILayout.java120 restartButton.setOnClickListener(view -> mWindowManager.onRestartButtonClicked()); in onFinishInflate()
129 sizeCompatHint.setOnClickListener(view -> setSizeCompatHintVisibility(/* show= */ false)); in onFinishInflate()
133 cameraTreatmentButton.setOnClickListener( in onFinishInflate()
141 cameraDismissButton.setOnClickListener( in onFinishInflate()
149 cameraCompatHint.setOnClickListener( in onFinishInflate()
DLetterboxEduDialogLayout.java80 findViewById(R.id.letterbox_education_dialog_dismiss_button).setOnClickListener(listener); in setDismissOnClickListener()
82 setOnClickListener(listener); in setDismissOnClickListener()
85 mDialogContainer.setOnClickListener(callback == null ? null : view -> {}); in setDismissOnClickListener()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfTwoFocusableInTouchMode.java49 mButton1.setOnClickListener(new View.OnClickListener() { in onCreate()
55 mButton2.setOnClickListener(new View.OnClickListener() { in onCreate()
61 mButton3.setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibility.java44 visibleButton.setOnClickListener(mVisibleListener); in onCreate()
45 invisibleButton.setOnClickListener(mInvisibleListener); in onCreate()
46 goneButton.setOnClickListener(mGoneListener); in onCreate()
DVisibilityCallback.java52 visibleButton.setOnClickListener(mVisibleListener); in onCreate()
53 invisibleButton.setOnClickListener(mInvisibleListener); in onCreate()
54 goneButton.setOnClickListener(mGoneListener); in onCreate()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt49 findViewById<Button>(R.id.mode_default)!!.setOnClickListener { in <lambda>()
52 findViewById<Button>(R.id.mode_wide)!!.setOnClickListener { in <lambda>()
55 findViewById<Button>(R.id.mode_hdr)!!.setOnClickListener { in <lambda>()
58 findViewById<Button>(R.id.mode_hdr10)!!.setOnClickListener { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DSectionHeaderView.java63 mClearAllButton.setOnClickListener(mOnClearClickListener); in bindContents()
66 mLabelView.setOnClickListener(mLabelClickListener); in bindContents()
106 mLabelView.setOnClickListener(listener); in setOnHeaderClickListener()
121 mClearAllButton.setOnClickListener(listener); in setOnClearAllClickListener()
/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/
DMainActivity.kt47 findViewById<Button>(R.id.click_effect_button).setOnClickListener { in <lambda>()
51 findViewById<Button>(R.id.oneshot_effect_button).setOnClickListener { in <lambda>()
55 findViewById<Button>(R.id.waveform_effect_button).setOnClickListener { view: View -> in <lambda>()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java53 button.setOnClickListener(new OnClickListener() { in onCreate()
60 button.setOnClickListener(new OnClickListener() { in onCreate()
67 button.setOnClickListener(new OnClickListener() { in onCreate()
74 button.setOnClickListener(new OnClickListener() { in onCreate()
81 button.setOnClickListener(new OnClickListener() { in onCreate()
88 button.setOnClickListener(new OnClickListener() { in onCreate()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DActivityEmbeddingSecondaryActivity.java44 findViewById(R.id.finish_secondary_activity_button).setOnClickListener( in onCreate()
64 splitRatio.setOnClickListener( in onCreate()
74 findViewById(R.id.secondary_enter_pip_button).setOnClickListener( in onCreate()
DLaunchBubbleActivity.java53 findViewById(R.id.button_create).setOnClickListener(this::add); in onCreate()
54 findViewById(R.id.button_cancel).setOnClickListener(this::cancel); in onCreate()
55 findViewById(R.id.button_cancel_all).setOnClickListener(this::cancelAll); in onCreate()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DTestInteractionActivity.java73 mAirplaneButton.setOnClickListener(this); in onCreate()
75 mAbortButton.setOnClickListener(this); in onCreate()
77 mCompleteButton.setOnClickListener(this); in onCreate()
79 mCommandButton.setOnClickListener(this); in onCreate()
81 mPickButton.setOnClickListener(this); in onCreate()
83 mJumpOutButton.setOnClickListener(this); in onCreate()
85 mCancelButton.setOnClickListener(this); in onCreate()
DStartVoiceInteractionActivity.java55 mCommandButton.setOnClickListener(this); in onCreate()
57 mPickButton.setOnClickListener(this); in onCreate()
59 mCancelButton.setOnClickListener(this); in onCreate()
61 mStartButton.setOnClickListener(this); in onCreate()
63 mStopButton.setOnClickListener(this); in onCreate()
DMainInteractionSession.java132 mTreeButton.setOnClickListener(this); in onCreateContentView()
134 mTextButton.setOnClickListener(this); in onCreateContentView()
136 mStartButton.setOnClickListener(this); in onCreateContentView()
138 mScreenshot.setOnClickListener(this); in onCreateContentView()
141 mOptionsCheck.setOnClickListener(this); in onCreateContentView()
144 mDisallowAssist.setOnClickListener(this); in onCreateContentView()
146 mDisallowScreenshot.setOnClickListener(this); in onCreateContentView()
149 mConfirmButton.setOnClickListener(this); in onCreateContentView()
151 mCompleteButton.setOnClickListener(this); in onCreateContentView()
153 mAbortButton.setOnClickListener(this); in onCreateContentView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt83 viewHolder.recommendations.setOnClickListener { in <lambda>()
84 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return@setOnClickListener in <lambda>()
132 gutsViewHolder.dismiss.setOnClickListener { in <lambda>()
133 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return@setOnClickListener in <lambda>()
139 gutsViewHolder.cancel.setOnClickListener { in <lambda>()
145 gutsViewHolder.settings.setOnClickListener { in <lambda>()
174 mediaCoverContainer.setOnClickListener { in <lambda>()
175 if (falsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) return@setOnClickListener in <lambda>()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DProjectionClippingActivity.java18 findViewById(R.id.clickable1).setOnClickListener(listener); in onCreate()
19 findViewById(R.id.clickable2).setOnClickListener(listener); in onCreate()
/frameworks/libs/systemui/weathereffects/debug/src/com/google/android/wallpaper/weathereffects/
DWallpaperEffectsDebugActivity.kt89 rootView.requireViewById<Button>(R.id.rain).setOnClickListener { in <lambda>()
94 rootView.requireViewById<Button>(R.id.fog).setOnClickListener { in <lambda>()
99 rootView.requireViewById<Button>(R.id.snow).setOnClickListener { in <lambda>()
104 rootView.requireViewById<Button>(R.id.clear).setOnClickListener { in <lambda>()
109 rootView.requireViewById<Button>(R.id.change_asset).setOnClickListener { in <lambda>()
115 rootView.requireViewById<Button>(R.id.set_wallpaper).setOnClickListener { in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java59 mButton1.setOnClickListener(new View.OnClickListener() { in onCreate()
75 mButton2.setOnClickListener(new View.OnClickListener() { in onCreate()
95 mButton3.setOnClickListener(new View.OnClickListener() { in onCreate()

12345678910>>...17