Home
last modified time | relevance | path

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

/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.java963 final int patternSize = mPattern.size(); in handleActionMove()
964 if (hitCell != null && patternSize == 1) { in handleActionMove()
975 if (mPatternInProgress && patternSize > 0) { in handleActionMove()
977 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
/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.cpp1606 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local
1607 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate()
1610 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate()
1616 nsecs_t pattern[patternSize]; in nativeVibrate()
1617 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate()
1623 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
/frameworks/native/services/inputflinger/
DInputReader.h145 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
288 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
772 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
828 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
DInputReader.cpp777 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument
784 device->vibrate(pattern, patternSize, repeat, token); in vibrate()
1229 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
1232 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate()
1967 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
2096 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
2100 for (size_t i = 0; i < patternSize; i++) { in vibrate()
2111 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate()
2112 mPatternSize = patternSize; in vibrate()