Searched refs:patternSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1016 final int patternSize = pattern.size(); in patternToString() local 1018 byte[] res = new byte[patternSize]; in patternToString() 1019 for (int i = 0; i < patternSize; i++) { in patternToString() 1030 final int patternSize = pattern.length(); in patternStringToBaseZero() local 1032 byte[] res = new byte[patternSize]; in patternStringToBaseZero() 1034 for (int i = 0; i < patternSize; i++) { in patternStringToBaseZero() 1052 final int patternSize = pattern.size(); in patternToHash() local 1053 byte[] res = new byte[patternSize]; in patternToHash() 1054 for (int i = 0; i < patternSize; i++) { in patternToHash()
|
D | LockPatternView.java | 928 final int patternSize = mPattern.size(); in handleActionMove() 929 if (hitCell != null && patternSize == 1) { in handleActionMove() 940 if (mPatternInProgress && patternSize > 0) { in handleActionMove() 942 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1533 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local 1534 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate() 1537 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate() 1543 nsecs_t pattern[patternSize]; in nativeVibrate() 1544 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate() 1550 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 337 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, 438 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, 586 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token); 1001 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, 1055 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
|
D | InputReader.cpp | 843 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument 850 device->vibrate(pattern, patternSize, repeat, token); in vibrate() 1278 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 1283 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate() 2014 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 2142 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 2146 for (size_t i = 0; i < patternSize; i++) { in vibrate() 2157 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate() 2158 mPatternSize = patternSize; in vibrate()
|