Searched refs:patternSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1023 final int patternSize = pattern.size(); in patternToString() local 1025 byte[] res = new byte[patternSize]; in patternToString() 1026 for (int i = 0; i < patternSize; i++) { in patternToString() 1045 final int patternSize = pattern.size(); in patternToHash() local 1046 byte[] res = new byte[patternSize]; in patternToHash() 1047 for (int i = 0; i < patternSize; i++) { in patternToHash()
|
D | LockPatternView.java | 758 final int patternSize = mPattern.size(); in handleActionMove() 759 if (hitCell != null && patternSize == 1) { in handleActionMove() 770 if (mPatternInProgress && patternSize > 0) { in handleActionMove() 772 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 1286 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local 1287 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate() 1290 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate() 1296 nsecs_t pattern[patternSize]; in nativeVibrate() 1297 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate() 1303 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 369 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, 573 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token); 973 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, 1022 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
|
D | InputReader.cpp | 687 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument 694 device->vibrate(pattern, patternSize, repeat, token); in vibrate() 1064 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 1069 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate() 1782 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 1894 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 1898 for (size_t i = 0; i < patternSize; i++) { in vibrate() 1909 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate() 1910 mPatternSize = patternSize; in vibrate()
|