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, int32_t token);
DInputMapper.h66 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/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1235 final int patternSize = pattern.size(); in patternToByteArray() local
1237 byte[] res = new byte[patternSize]; in patternToByteArray()
1238 for (int i = 0; i < patternSize; i++) { in patternToByteArray()
1254 final int patternSize = bytes.length; in patternByteArrayToBaseZero() local
1255 byte[] res = new byte[patternSize]; in patternByteArrayToBaseZero()
1256 for (int i = 0; i < patternSize; i++) { in patternByteArrayToBaseZero()
1275 final int patternSize = pattern.size(); in patternToHash() local
1276 byte[] res = new byte[patternSize]; in patternToHash()
1277 for (int i = 0; i < patternSize; i++) { in patternToHash()
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()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp279 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
282 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate()
DInputReader.cpp567 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument
574 device->vibrate(pattern, patternSize, repeat, token); in vibrate()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h81 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
DInputReader.h76 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h100 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1608 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local
1609 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate()
1612 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate()
1618 nsecs_t pattern[patternSize]; in nativeVibrate()
1619 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate()
1625 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()