Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp86 dump += StringPrintf(" / %s (split at %d)", label, axis.axisInfo.splitValue); in dump()
89 axis.axisInfo.splitValue); in dump()
138 float scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in configure()
139 float highScale = 1.0f / (rawAxisInfo.maxValue - axisInfo.splitValue); in configure()
267 if (rawEvent->value < axis.axisInfo.splitValue) { in process()
268 newValue = (axis.axisInfo.splitValue - rawEvent->value) * axis.scale + in process()
271 } else if (rawEvent->value > axis.axisInfo.splitValue) { in process()
274 (rawEvent->value - axis.axisInfo.splitValue) * axis.highScale + in process()
/frameworks/native/include/input/
DKeyLayoutMap.h49 int32_t splitValue; member
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) { in AxisInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java316 String[] splitValue = mccMnc.split(SEPARATOR); in isValidDownload() local
317 mccSource = splitValue[0]; in isValidDownload()
318 mncSource = splitValue[1]; in isValidDownload()
444 String[] splitValue = mccMnc.split(SEPARATOR); in parseJsonAndPersistKey() local
445 mcc = splitValue[0]; in parseJsonAndPersistKey()
446 mnc = splitValue[1]; in parseJsonAndPersistKey()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp150 outAxisInfo->splitValue, outAxisInfo->flatOverride); in mapAxis()
340 axisInfo.splitValue = int32_t(strtol(splitToken.string(), &end, 0)); in parseAxis()
400 axisInfo.splitValue, axisInfo.flatOverride); in parseAxis()