Home
last modified time | relevance | path

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

123

/aosp12/frameworks/native/services/vibratorservice/test/
H A 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()
H A 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()
507 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
548 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
564 std::vector<CompositePrimitive> supportedPrimitives = {CompositePrimitive::CLICK, in TEST_F()
[all …]
H A 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()
H A DVibratorHalWrapperHidlV1_2Test.cpp82 perform(Eq(V1_0::Effect::CLICK), Eq(V1_0::EffectStrength::LIGHT), _)) in TEST_F()
96 auto result = mWrapper->performEffect(Effect::CLICK, EffectStrength::LIGHT, callback); in TEST_F()
/aosp12/hardware/interfaces/vibrator/1.1/vts/functional/
H A DVtsHalVibratorV1_1TargetTest.cpp69 vibrator->perform_1_1(Effect_1_1::CLICK, EffectStrength::MEDIUM, validatePerformEffect); in TEST_P()
99 EXPECT_OK(vibrator->perform_1_1(Effect_1_1::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
108 EXPECT_OK(vibrator->perform_1_1(Effect_1_1::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
/aosp12/hardware/google/pixel/vibrator/cs40l25/tests/
H A Dtest-vibrator.cpp77 {Effect::CLICK, 2},
89 {{Effect::CLICK, EffectStrength::LIGHT}, Scale(0.7f * 0.5f)},
90 {{Effect::CLICK, EffectStrength::MEDIUM}, Scale(0.7f * 0.7f)},
91 {{Effect::CLICK, EffectStrength::STRONG}, Scale(0.7f * 1.0f)},
105 Queue(QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(0.7f * 0.5f)}, 100,
106 QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(1.0f * 0.5f)})},
108 Queue(QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(0.7f * 0.7f)}, 100,
109 QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(1.0f * 0.7f)})},
111 Queue(QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(0.7f * 1.0f)}, 100,
112 QueueEffect{EFFECT_INDEX.at(Effect::CLICK), Level(1.0f * 1.0f)})},
[all …]
/aosp12/hardware/interfaces/vibrator/1.0/vts/functional/
H A DVtsHalVibratorV1_0TargetTest.cpp74 vibrator->perform(Effect::CLICK, EffectStrength::MEDIUM, validatePerformEffect); in TEST_P()
102 EXPECT_OK(vibrator->perform(Effect::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
111 EXPECT_OK(vibrator->perform(Effect::CLICK, badStrength, validatePerformEffectBadInput)); in TEST_P()
/aosp12/frameworks/base/core/java/android/view/
H A DSoundEffectConstants.java38 public static final int CLICK = 0; field in SoundEffectConstants
59 CLICK,
/aosp12/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java37 private static final int CLICK = 1; field in LinkMovementMethod
56 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey()
135 case CLICK: in action()
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/1/android/hardware/vibrator/
H A DCompositePrimitive.aidl22 CLICK = 1, enumConstant
H A DEffect.aidl21 CLICK = 0, enumConstant
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/2/android/hardware/vibrator/
H A DCompositePrimitive.aidl38 CLICK = 1, enumConstant
H A DEffect.aidl37 CLICK = 0, enumConstant
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/
H A DCompositePrimitive.aidl38 CLICK = 1, enumConstant
H A DEffect.aidl37 CLICK = 0, enumConstant
/aosp12/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/
H A DCompositePrimitive.aidl33 CLICK, enumConstant
H A DEffect.aidl27 CLICK, enumConstant
/aosp12/hardware/google/pixel/vibrator/drv2624/tests/
H A Dtest-vibrator.cpp54 {{Effect::CLICK, EffectStrength::LIGHT}, {1, 2}},
55 {{Effect::CLICK, EffectStrength::MEDIUM}, {1, 0}},
56 {{Effect::CLICK, EffectStrength::STRONG}, {1, 0}},
114 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
164 DoAll(SetArgPointee<0>(mEffectDurations[Effect::CLICK]), Return(true))); in createMock()
/aosp12/frameworks/native/cmds/idlcli/vibrator/
H A DCommandPerform.cpp41 static_assert(static_cast<uint8_t>(V1_3::Effect::CLICK) ==
42 static_cast<uint8_t>(aidl::Effect::CLICK));
/aosp12/packages/apps/Contacts/src/com/android/contacts/logging/
H A DListEvent.java45 public static final int CLICK = 2; field in ListEvent.ActionType
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DVibrator.cpp318 *_aidl_return = {Effect::TEXTURE_TICK, Effect::TICK, Effect::CLICK, Effect::HEAVY_CLICK, in getSupportedEffects()
392 CompositePrimitive::NOOP, CompositePrimitive::CLICK, in getSupportedPrimitives()
507 *_aidl_return = {Effect::TEXTURE_TICK, Effect::TICK, Effect::CLICK, Effect::HEAVY_CLICK}; in getSupportedAlwaysOnEffects()
888 case Effect::CLICK: in getSimpleDetails()
924 status = getSimpleDetails(Effect::CLICK, strength, &thisEffectIndex, &thisTimeMs, in getCompoundDetails()
965 case CompositePrimitive::CLICK: in getPrimitiveDetails()
1022 case Effect::CLICK: in performEffect()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DClickableSpanFactory.java51 widget.playSoundEffect(SoundEffectConstants.CLICK); in create()
/aosp12/hardware/interfaces/vibrator/aidl/default/
H A DVibrator.cpp77 if (effect != Effect::CLICK && effect != Effect::TICK) { in perform()
101 *_aidl_return = {Effect::CLICK, Effect::TICK}; in getSupportedEffects()
130 CompositePrimitive::NOOP, CompositePrimitive::CLICK, in getSupportedPrimitives()
/aosp12/hardware/google/pixel/vibrator/drv2624/
H A DVibrator.cpp235 *_aidl_return = {Effect::TEXTURE_TICK, Effect::TICK, Effect::CLICK, Effect::HEAVY_CLICK, in getSupportedEffects()
282 case Effect::CLICK: in getEffectDetails()
336 Effect::CLICK, Effect::DOUBLE_CLICK, Effect::TICK, in getSupportedAlwaysOnEffects()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonView.java246 playSoundEffect(SoundEffectConstants.CLICK); in performAccessibilityActionInternal()
286 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()
318 playSoundEffect(SoundEffectConstants.CLICK); in onTouchEvent()

123