/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProvider.java | 102 @Nullable public VibrationEffect getVibrationForHapticFeedback(int effectId) { in getVibrationForHapticFeedback() argument 103 switch (effectId) { in getVibrationForHapticFeedback() 109 return getVibration(effectId, VibrationEffect.EFFECT_TICK); in getVibrationForHapticFeedback() 118 return getVibration(effectId, VibrationEffect.EFFECT_TEXTURE_TICK); in getVibrationForHapticFeedback() 122 return getKeyboardVibration(effectId); in getVibrationForHapticFeedback() 127 effectId, in getVibrationForHapticFeedback() 139 return getVibration(effectId, VibrationEffect.EFFECT_CLICK); in getVibrationForHapticFeedback() 145 return getVibration(effectId, VibrationEffect.EFFECT_HEAVY_CLICK); in getVibrationForHapticFeedback() 149 return getVibration(effectId, VibrationEffect.EFFECT_DOUBLE_CLICK); in getVibrationForHapticFeedback() 159 effectId, in getVibrationForHapticFeedback() [all …]
|
D | HapticFeedbackCustomization.java | 162 int effectId = XmlReader.readAttributeIntNonNegative(parser, ATTRIBUTE_ID); in loadVibrationsInternal() local 163 if (mapping.contains(effectId)) { in loadVibrationsInternal() 165 "Multiple customizations found for effect " + effectId); in loadVibrationsInternal() 171 "Unsupported empty customization tag for effect " + effectId); in loadVibrationsInternal() local 177 "Unable to parse vibration element for effect " + effectId); in loadVibrationsInternal() 184 + " haptic feedback: %s", effectId, effect)); in loadVibrationsInternal() 186 mapping.put(effectId, effect); in loadVibrationsInternal()
|
D | HalVibration.java | 98 public VibrationEffect getFallback(int effectId) { in getFallback() argument 99 return mFallbacks.get(effectId); in getFallback() 106 public void addFallback(int effectId, VibrationEffect effect) { in addFallback() argument 107 mFallbacks.put(effectId, effect); in addFallback()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProviderTest.java | 293 for (int effectId : BIOMETRIC_FEEDBACK_CONSTANTS) { in testVibrationAttribute_biometricConstants_returnsCommunicationRequestUsage() 295 effectId, /* bypassVibrationIntensitySetting= */ false, /* fromIme= */ false); in testVibrationAttribute_biometricConstants_returnsCommunicationRequestUsage() 326 for (int effectId : SCROLL_FEEDBACK_CONSTANTS) { in testVibrationAttribute_scrollFeedback_scrollApiFlagOn_bypassInterruptPolicy() 328 effectId, /* bypassVibrationIntensitySetting= */ false, false /* fromIme*/); in testVibrationAttribute_scrollFeedback_scrollApiFlagOn_bypassInterruptPolicy() 329 assertWithMessage("Expected FLAG_BYPASS_INTERRUPTION_POLICY for effect " + effectId) in testVibrationAttribute_scrollFeedback_scrollApiFlagOn_bypassInterruptPolicy() 339 for (int effectId : SCROLL_FEEDBACK_CONSTANTS) { in testVibrationAttribute_scrollFeedback_scrollApiFlagOff_noBypassInterruptPolicy() 341 effectId, /* bypassVibrationIntensitySetting= */ false, false /* fromIme*/); in testVibrationAttribute_scrollFeedback_scrollApiFlagOff_noBypassInterruptPolicy() 342 assertWithMessage("Expected no FLAG_BYPASS_INTERRUPTION_POLICY for effect " + effectId) in testVibrationAttribute_scrollFeedback_scrollApiFlagOff_noBypassInterruptPolicy() 352 for (int effectId : KEYBOARD_FEEDBACK_CONSTANTS) { in testVibrationAttribute_keyboardCategoryOff_isIme_notUseKeyboardCategory() 354 effectId, /* bypassVibrationIntensitySetting= */ false, true /* fromIme*/); in testVibrationAttribute_keyboardCategoryOff_isIme_notUseKeyboardCategory() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SoundEffectConstants.java | 146 public static boolean isNavigationRepeat(@NavigationSoundEffect int effectId) { in isNavigationRepeat() argument 147 return effectId == SoundEffectConstants.NAVIGATION_REPEAT_DOWN in isNavigationRepeat() 148 || effectId == SoundEffectConstants.NAVIGATION_REPEAT_LEFT in isNavigationRepeat() 149 || effectId == SoundEffectConstants.NAVIGATION_REPEAT_RIGHT in isNavigationRepeat() 150 || effectId == SoundEffectConstants.NAVIGATION_REPEAT_UP; in isNavigationRepeat()
|
D | IWindowSession.aidl | 165 boolean performHapticFeedback(int effectId, boolean always, boolean fromIme); in performHapticFeedback() argument 171 oneway void performHapticFeedbackAsync(int effectId, boolean always, boolean fromIme); in performHapticFeedbackAsync() argument
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | SimplePlayer.java | 180 public void attachAuxEffect(int effectId) { in attachAuxEffect() argument 181 mEffectId = effectId; in attachAuxEffect() 183 Log.d(TAG,"attach effect: "+effectId); in attachAuxEffect() 184 mMediaPlayer.attachAuxEffect(effectId); in attachAuxEffect()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalHidl.h | 64 uint64_t effectId() const { return mEffectId; } in effectId() function 85 EffectHalHidl(const sp<IEffect>& effect, uint64_t effectId);
|
D | EffectsFactoryHalHidl.cpp | 173 [&](Result r, const sp<IEffect>& result, uint64_t effectId) { in createEffect() argument 176 *effect = new EffectHalHidl(result, effectId); in createEffect() 185 [&](Result r, const sp<IEffect>& result, uint64_t effectId) { in createEffect() argument 188 *effect = new EffectHalHidl(result, effectId); in createEffect()
|
D | EffectHalHidl.cpp | 49 EffectHalHidl::EffectHalHidl(const sp<IEffect>& effect, uint64_t effectId) in EffectHalHidl() argument 51 mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl() 63 __func__, priorityBoost, (long long)effectId); in EffectHalHidl()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 314 public static VibrationEffect createPredefined(@EffectType int effectId) { in createPredefined() argument 315 return get(effectId, true); in createPredefined() 337 public static VibrationEffect get(int effectId) { in get() argument 338 return get(effectId, PrebakedSegment.DEFAULT_SHOULD_FALLBACK); in get() 364 public static VibrationEffect get(int effectId, boolean fallback) { in get() argument 366 new PrebakedSegment(effectId, fallback, PrebakedSegment.DEFAULT_STRENGTH)); in get() 653 public static String effectIdToString(int effectId) { in effectIdToString() argument 654 switch (effectId) { in effectIdToString() 670 return Integer.toString(effectId); in effectIdToString()
|
D | SystemVibratorManager.java | 248 public void performHapticFeedback(int effectId, boolean always, String reason, in performHapticFeedback() argument 250 SystemVibratorManager.this.performHapticFeedback(effectId, always, reason, fromIme); in performHapticFeedback()
|
D | Vibrator.java | 611 for (int effectId : effectIds) { in areAllEffectsSupported() 612 switch (info.isEffectSupported(effectId)) { in areAllEffectsSupported()
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/ |
D | PrebakedSegmentTest.java | 279 private static PrebakedSegment createSegmentWithFallback(int effectId) { in createSegmentWithFallback() argument 281 return new PrebakedSegment(effectId, true, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in createSegmentWithFallback() 284 private static PrebakedSegment createSegmentWithoutFallback(int effectId) { in createSegmentWithoutFallback() argument 286 return new PrebakedSegment(effectId, false, VibrationEffect.EFFECT_STRENGTH_MEDIUM); in createSegmentWithoutFallback()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewRootImpl_Delegate.java | 31 /*package*/ static boolean performHapticFeedback(ViewRootImpl thisViewRoot, int effectId, in performHapticFeedback() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | VibratorHelper.java | 80 public void vibrate(final int effectId) { in vibrate() argument 85 mVibrator.vibrate(VibrationEffect.get(effectId, false /* fallback */), in vibrate()
|
/frameworks/base/core/java/android/os/vibrator/ |
D | MultiVibratorInfo.java | 125 int effectId = firstVibratorEffects.keyAt(i); in supportedEffectsIntersection() local 132 if (infos[j].isEffectSupported(effectId) != Vibrator.VIBRATION_EFFECT_SUPPORT_YES) { in supportedEffectsIntersection() 138 intersection.put(effectId, true); in supportedEffectsIntersection()
|
D | PrebakedSegment.java | 55 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument 56 mEffectId = effectId; in PrebakedSegment()
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlConstants.java | 166 public static PredefinedEffectName findById(int effectId, @XmlConstants.Flags int flags) { in findById() argument 169 if (name.mEffectId == effectId) { in findById()
|
/frameworks/av/services/audioflinger/ |
D | Client.h | 38 int effectId,
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioTrack.aidl | 66 int attachAuxEffect(int effectId); in attachAuxEffect() argument
|
/frameworks/wilhelm/src/android/ |
D | android_GenericMediaPlayer.cpp | 460 int32_t effectId = 0; in onAttachAuxEffect() local 461 if (msg->findInt32(WHATPARAM_ATTACHAUXEFFECT, &effectId)) { in onAttachAuxEffect() 464 status = mPlayer->attachAuxEffect(effectId); in onAttachAuxEffect()
|
D | android_GenericPlayer.cpp | 216 void GenericPlayer::attachAuxEffect(int32_t effectId) in attachAuxEffect() argument 218 SL_LOGV("GenericPlayer::attachAuxEffect(id=%d)", effectId); in attachAuxEffect() 220 msg->setInt32(WHATPARAM_ATTACHAUXEFFECT, effectId); in attachAuxEffect()
|
/frameworks/av/services/audiopolicy/tests/ |
D | AudioPolicyTestClient.h | 91 void setEffectSuspended(int effectId __unused, in setEffectSuspended()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 222 void AudioPolicyService::AudioPolicyClient::setEffectSuspended(int effectId, in setEffectSuspended() argument 226 mAudioPolicyService->setEffectSuspended(effectId, sessionId, suspended); in setEffectSuspended()
|