Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1074 final int patternSize = pattern.size(); in patternToString() local
1076 byte[] res = new byte[patternSize]; in patternToString()
1077 for (int i = 0; i < patternSize; i++) { in patternToString()
1088 final int patternSize = pattern.length(); in patternStringToBaseZero() local
1090 byte[] res = new byte[patternSize]; in patternStringToBaseZero()
1092 for (int i = 0; i < patternSize; i++) { in patternStringToBaseZero()
1110 final int patternSize = pattern.size(); in patternToHash() local
1111 byte[] res = new byte[patternSize]; in patternToHash()
1112 for (int i = 0; i < patternSize; i++) { in patternToHash()
DLockPatternView.java940 final int patternSize = mPattern.size(); in handleActionMove()
941 if (hitCell != null && patternSize == 1) { in handleActionMove()
952 if (mPatternInProgress && patternSize > 0) { in handleActionMove()
954 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1536 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local
1537 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate()
1540 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate()
1546 nsecs_t pattern[patternSize]; in nativeVibrate()
1547 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate()
1553 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
/frameworks/native/services/inputflinger/
DInputReader.h336 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
437 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
585 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
1002 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
1056 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,