Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1069 final int patternSize = pattern.size(); in patternToString() local
1071 byte[] res = new byte[patternSize]; in patternToString()
1072 for (int i = 0; i < patternSize; i++) { in patternToString()
1083 final int patternSize = pattern.length(); in patternStringToBaseZero() local
1085 byte[] res = new byte[patternSize]; in patternStringToBaseZero()
1087 for (int i = 0; i < patternSize; i++) { in patternStringToBaseZero()
1105 final int patternSize = pattern.size(); in patternToHash() local
1106 byte[] res = new byte[patternSize]; in patternToHash()
1107 for (int i = 0; i < patternSize; i++) { in patternToHash()
DLockPatternView.java914 final int patternSize = mPattern.size(); in handleActionMove()
915 if (hitCell != null && patternSize == 1) { in handleActionMove()
926 if (mPatternInProgress && patternSize > 0) { in handleActionMove()
928 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1392 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local
1393 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate()
1396 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate()
1402 nsecs_t pattern[patternSize]; in nativeVibrate()
1403 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate()
1409 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
/frameworks/native/services/inputflinger/
DInputReader.h375 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
474 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
619 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
1034 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
1088 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
DInputReader.cpp769 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument
776 device->vibrate(pattern, patternSize, repeat, token); in vibrate()
1163 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
1168 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate()
1899 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
2027 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument
2031 for (size_t i = 0; i < patternSize; i++) { in vibrate()
2042 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate()
2043 mPatternSize = patternSize; in vibrate()