Home
last modified time | relevance | path

Searched refs:CLICK (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp186 ASSERT_TRUE(mWrapper->alwaysOnEnable(1, Effect::CLICK, EffectStrength::LIGHT).isUnsupported()); in TEST_F()
257 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::LIGHT), _)) in TEST_F()
268 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::MEDIUM), _)) in TEST_F()
276 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::STRONG), _)) in TEST_F()
291 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
296 result = mWrapper->performEffect(Effect::CLICK, EffectStrength::MEDIUM, callback); in TEST_F()
299 result = mWrapper->performEffect(Effect::CLICK, EffectStrength::STRONG, callback); in TEST_F()
302 result = mWrapper->performEffect(Effect::CLICK, EffectStrength::STRONG, callback); in TEST_F()
322 vibrator::TestFactory::createCompositeEffect(CompositePrimitive::CLICK, 10ms, 0.0f)); in TEST_F()
DVibratorHalWrapperAidlTest.cpp261 alwaysOnEnable(Eq(1), Eq(Effect::CLICK), Eq(EffectStrength::LIGHT))) in TEST_F()
273 auto result = mWrapper->alwaysOnEnable(1, Effect::CLICK, EffectStrength::LIGHT); in TEST_F()
308 std::vector<Effect> supportedEffects = {Effect::CLICK, Effect::TICK}; in TEST_F()
309 std::vector<CompositePrimitive> supportedPrimitives = {CompositePrimitive::CLICK}; in TEST_F()
317 primitiveDurations[static_cast<size_t>(CompositePrimitive::CLICK)] = 10ms; in TEST_F()
335 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::CLICK), _)) in TEST_F()
416 std::vector<Effect> supportedEffects = {Effect::CLICK, Effect::TICK}; in TEST_F()
492 EXPECT_CALL(*mMockHal.get(), perform(Eq(Effect::CLICK), Eq(EffectStrength::LIGHT), _, _)) in TEST_F()
507 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
530 EXPECT_CALL(*mMockHal.get(), perform(Eq(Effect::CLICK), Eq(EffectStrength::LIGHT), _, _)) in TEST_F()
[all …]
DVibratorHalWrapperHidlV1_1Test.cpp79 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::LIGHT), _)) in TEST_F()
93 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt64 else setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK), in createUiNightModeTileState()
217 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in supportsClickAndLongClickActionsWhenNotInPowerSaveInNightMode()
261 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in supportsClickAndLongClickActionsWhenNotInPowerSaveNotInNightMode()
331 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenInNightModeNotInPowerSaveModeLocationEnabledUiModeIsNightAuto()
359 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInNightModeNotInPowerSaveModeLocationEnableUiModeIsNightAuto()
382 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsNightYesInNightMode()
404 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsNightNoNotInNightMode()
431 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsUnknownCustomNotInNightMode()
458 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in secondaryLabelCorrectWhenNotInPowerSaveAndUiModeIsUnknownCustomInNightMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapper.kt55 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
70 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/core/java/android/view/
DSoundEffectConstants.java38 public static final int CLICK = 0; field in SoundEffectConstants
59 CLICK,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt104 CLICK,
121 var supportedActions: Set<UserAction> = setOf(UserAction.CLICK)
/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java37 private static final int CLICK = 1; field in LinkMovementMethod
56 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey()
139 case CLICK: in action()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlConstants.java74 CLICK(VibrationEffect.Composition.PRIMITIVE_CLICK), enumConstant
129 CLICK(VibrationEffect.EFFECT_CLICK, true), enumConstant
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java134 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal()
174 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
202 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp41 static_assert(static_cast<uint8_t>(V1_3::Effect::CLICK) ==
42 static_cast<uint8_t>(aidl::Effect::CLICK));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/
DFontScalingTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
DColorCorrectionTileMapper.kt51 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/
DColorInversionTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/qr/ui/
DQRCodeScannerTileMapper.kt44 supportedActions = setOf(QSTileState.UserAction.CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
DOneHandedModeTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/
DAirplaneModeMapper.kt63 QSTileState.UserAction.CLICK, in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapper.kt53 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/
DLocationTileMapper.kt67 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapper.kt63 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/
DFontScalingTileMapperTest.kt73 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK),
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/ui/
DSensorPrivacyToggleTileMapper.kt52 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/flashlight/domain/
DFlashlightMapper.kt72 supportedActions = setOf(QSTileState.UserAction.CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/
DInternetTileMapper.kt75 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/work/ui/
DWorkModeTileMapper.kt60 setOf(QSTileState.UserAction.CLICK, QSTileState.UserAction.LONG_CLICK) in map()

123