Home
last modified time | relevance | path

Searched refs:patternSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp42 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
46 for (size_t i = 0; i < patternSize; i++) { in vibrate()
57 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate()
58 mPatternSize = patternSize; in vibrate()
DVibratorInputMapper.h33 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
DInputMapper.h65 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
DInputMapper.cpp59 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp427 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
429 for_each_mapper([pattern, patternSize, repeat, token](InputMapper& mapper) { in vibrate()
430 mapper.vibrate(pattern, patternSize, repeat, token); in vibrate()
DInputReader.cpp561 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument
566 device->vibrate(pattern, patternSize, repeat, token); in vibrate()
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h107 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h80 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
DInputDevice.h84 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1625 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local
1626 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate()
1629 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate()
1635 nsecs_t pattern[patternSize]; in nativeVibrate()
1636 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate()
1642 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java970 final int patternSize = mPattern.size(); in handleActionMove()
971 if (hitCell != null && patternSize == 1) { in handleActionMove()
982 if (mPatternInProgress && patternSize > 0) { in handleActionMove()
984 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
DLockPatternUtils.java972 final int patternSize = pattern.size(); in patternToByteArray() local
974 byte[] res = new byte[patternSize]; in patternToByteArray()
975 for (int i = 0; i < patternSize; i++) { in patternToByteArray()