Lines Matching full:effect
377 ff_effect effect{};
378 effect.type = FF_RUMBLE;
379 effect.id = mFfEffectId;
380 effect.u.rumble.strong_magnitude = 0xc000;
381 effect.u.rumble.weak_magnitude = 0xc000;
382 effect.replay.length = (duration + 999'999LL) / 1'000'000LL;
383 effect.replay.delay = 0;
384 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCSFF, &effect))) {
385 ALOGW("Could not upload force feedback effect to device %s due to error %d.",
389 mFfEffectId = effect.id;
397 ALOGW("Could not start force feedback effect on device %s due to error %d.",
414 ALOGW("Could not stop force feedback effect on device %s due to error %d.",