Home
last modified time | relevance | path

Searched refs:isClickable (Results 1 – 25 of 68) sorted by relevance

123

/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/
H A DRingingCallControllerBarFragmentTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isClickable;
75 matches(isClickable())).perform(selfClick()); in testAnswerCallButton()
83 matches(isClickable())).perform(selfClick()); in testAnswerCallText()
91 matches(isClickable())).perform(selfClick()); in testEndCallButton()
99 matches(isClickable())).perform(selfClick()); in testEndCallText()
H A DOnGoingCallControllerBarFragmentTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isClickable;
104 onView(withId(R.id.mute_button)).check(matches(isClickable())).check( in testMuteButton()
118 onView(withId(R.id.toggle_dialpad_button)).check(matches(isClickable())).check( in testDialpadButton()
135 onView(withId(R.id.end_call_button)).check(matches(isClickable())); in testEndCallButton()
153 onView(withId(R.id.voice_channel_view)).check(matches(isClickable())); in testAudioRouteButtonView_withMultipleAudioRoutes()
160 onView(withId(R.id.pause_button)).check(matches(isClickable())).check( in testClickPauseButton_activeCall()
172 onView(withId(R.id.pause_button)).check(matches(isClickable())).check( in testClickPauseButton_onholdCall()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatteryChartViewTest.java136 assertThat(mBatteryChartView.isClickable()).isFalse(); in testClickable_isChartGraphSlotsEnabledIsFalse_notClickable()
148 assertThat(mBatteryChartView.isClickable()).isTrue(); in testClickable_accessibilityIsDisabled_clickable()
163 assertThat(mBatteryChartView.isClickable()).isTrue(); in testClickable_accessibilityIsEnabledWithoutValidId_clickable()
175 assertThat(mBatteryChartView.isClickable()).isFalse(); in testClickable_accessibilityIsEnabledWithValidId_notClickable()
193 assertThat(mBatteryChartView.isClickable()).isFalse(); in testClickable_restoreFromNonClickableState()
199 assertThat(mBatteryChartView.isClickable()).isTrue(); in testClickable_restoreFromNonClickableState()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFooterActionsView.kt127 isClickable = false
132 multiUserSwitch.isClickable = multiUserSwitch.visibility == VISIBLE
133 editTilesButton.isClickable = editTilesButton.visibility == VISIBLE
134 settingsButton.isClickable = settingsButton.visibility == VISIBLE
/aosp12/packages/apps/Settings/src/com/android/settings/datetime/timezone/
H A DRegionZonePreferenceController.java43 preference.setEnabled(isClickable()); in updateState()
66 public boolean isClickable() { in isClickable() method in RegionZonePreferenceController
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DSearchBot.java22 import static androidx.test.espresso.matcher.ViewMatchers.isClickable;
56 anyOf(isClickable(), hasDescendant(isClickable())));
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
H A DButtonPasswordEditTextPreferenceTest.java99 assertThat(containerWithoutWidget.isClickable()).isTrue(); in onBindViewHolder_buttonShown()
102 assertThat(widgetFrame.isClickable()).isTrue(); in onBindViewHolder_buttonShown()
117 assertThat(containerWithoutWidget.isClickable()).isFalse(); in onBindViewHolder_buttonNotShown()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerItem.kt117 mTimerText.isClickable = true
127 mTimerText.isClickable = true
137 mTimerText.isClickable = false
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenRadioLayout.java71 if (content.isClickable()) return content; in findFirstClickable()
83 if (content.isClickable()) return content; in findLastClickable()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DLayoutPreferenceTest.java61 assertThat(mHolder.itemView.isClickable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
70 assertThat(mHolder.itemView.isClickable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
H A DMainSwitchBarTest.java84 assertThat(switchObj.isClickable()).isFalse(); in getSwitch_shouldNotFocusableAndClickable()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
H A DAlarmItemViewHolder.kt92 preemptiveDismissButton.isClickable = true
95 preemptiveDismissButton.isClickable = false
/aosp12/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
H A DIndividualPickerActivityTest.java26 import static androidx.test.espresso.matcher.ViewMatchers.isClickable;
207 onView(withText(android.R.string.cancel)).check(matches(isClickable())); in testStartRotationDialogUiComponents()
209 onView(withText(android.R.string.ok)).check(matches(isClickable())); in testStartRotationDialogUiComponents()
213 .check(matches(isClickable())); in testStartRotationDialogUiComponents()
/aosp12/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
H A DBaseDrawingView.kt39 isClickable = true
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DLiftToActivateListener.java50 mCachedClickableState = v.isClickable(); in onHover()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DSimIconView.java49 if (isClickable()) { in onTouchEvent()
/aosp12/frameworks/base/core/java/android/widget/
H A DButton.java176 if (getPointerIcon() == null && isClickable() && isEnabled()) { in onResolvePointerIcon()
H A DImageButton.java102 if (getPointerIcon() == null && isClickable() && isEnabled()) { in onResolvePointerIcon()
/aosp12/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/television/
H A DManagePermissionsFragmentTest.kt66 uiDevice.focusedElement.isClickable)
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/contact/
H A DContactDetailsFragmentTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isClickable;
166 allOf(withId(R.id.call_action_id), isClickable()))))); in verifyPhoneNumber()
/aosp12/packages/apps/Car/Dialer/testing/src/com/android/car/dialer/testing/
H A DTestViewActions.java40 return allOf(ViewMatchers.isDisplayingAtLeast(90), ViewMatchers.isClickable()); in selfClick()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DAccessibilityTest.java79 assertFalse(info.isClickable()); in testNullItemDetails_NoActionClick()
/aosp12/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DRadialGlow.kt42 isClickable = true
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DActionReplacingCallbackTest.java81 return (!node.isScrollable() && !node.isLongClickable() && !node.isClickable()
103 && !node.isLongClickable() && node.isClickable()
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java210 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
266 boolean isNaf = node.isClickable() && node.isEnabled() in nafCheck()

123