Searched refs:patternSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 952 final int patternSize = pattern.size(); in patternToString() local 954 byte[] res = new byte[patternSize]; in patternToString() 955 for (int i = 0; i < patternSize; i++) { in patternToString() 966 final int patternSize = pattern.length(); in patternStringToBaseZero() local 968 byte[] res = new byte[patternSize]; in patternStringToBaseZero() 970 for (int i = 0; i < patternSize; i++) { in patternStringToBaseZero() 988 final int patternSize = pattern.size(); in patternToHash() local 989 byte[] res = new byte[patternSize]; in patternToHash() 990 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 | 1474 size_t patternSize = env->GetArrayLength(patternObj); in nativeVibrate() local 1475 if (patternSize > MAX_VIBRATE_PATTERN_SIZE) { in nativeVibrate() 1478 patternSize, MAX_VIBRATE_PATTERN_SIZE); in nativeVibrate() 1484 nsecs_t pattern[patternSize]; in nativeVibrate() 1485 for (size_t i = 0; i < patternSize; i++) { in nativeVibrate() 1491 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); in nativeVibrate()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 325 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, 424 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, 569 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token); 984 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, 1038 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
|
D | InputReader.cpp | 817 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, in vibrate() argument 824 device->vibrate(pattern, patternSize, repeat, token); in vibrate() 1214 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 1219 mapper->vibrate(pattern, patternSize, repeat, token); in vibrate() 1950 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 2078 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate() argument 2082 for (size_t i = 0; i < patternSize; i++) { in vibrate() 2093 memcpy(mPattern, pattern, patternSize * sizeof(nsecs_t)); in vibrate() 2094 mPatternSize = patternSize; in vibrate()
|