Searched refs:patternSize (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | VibratorInputMapper.cpp | 42 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()
|
D | VibratorInputMapper.h | 33 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
|
D | InputMapper.h | 66 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
|
D | InputMapper.cpp | 59 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1235 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()
|
D | LockPatternView.java | 970 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/ |
D | InputDevice.cpp | 279 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()
|
D | InputReader.cpp | 567 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/ |
D | InputDevice.h | 81 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
|
D | InputReader.h | 76 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
|
/frameworks/native/services/inputflinger/include/ |
D | InputReaderBase.h | 100 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1608 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()
|