Home | History | Annotate | Download | only in inputflinger

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
315 // resulting in a deadlock. This situation is actually quite plausible because the
964 // Process all of the events in order for each mapper.
965 // We cannot simply ask each mapper to process them in bulk because mappers may
968 // in the order received.
1579 // out of sync with the initial state of the events in the evdev buffer.
1580 // In the extremely unlikely case that this happens, the data from
1662 // The slot is no longer in use but it retains its previous contents,
1967 ALOGD("nextStep: scheduled timeout in %0.3fms", duration * 0.000001f);
2128 // key repeat, be sure to use same keycode as before in case of rotation
2149 // key up, be sure to use same keycode as before in case of rotation
2172 // We don't do this for internal keyboards to prevent them from waking up in your pocket.
2514 // the device in your pocket.
2793 // in which case the reader will call reset itself after all mappers are ready.
2869 // up in your pocket but you can enable it using the input device configuration.
2968 // Raw width and height in the natural orientation.
3093 // Scale factor for terms that are not oriented in a particular axis.
3311 // Assume that the touch pad has a square aspect ratio such that movements in
3427 const PropertyMap& in = getDevice()->getConfiguration();
3433 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
3450 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
3452 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
3454 out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"),
3460 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) {
3473 out.havePressureScale = in.tryGetProperty(String8("touch.pressure.scale"),
3479 if (in.tryGetProperty(String8("touch.orientation.calibration"), orientationCalibrationString)) {
3495 if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) {
3506 out.haveDistanceScale = in.tryGetProperty(String8("touch.distance.scale"),
3511 if (in.tryGetProperty(String8("touch.coverage.calibration"), coverageCalibrationString)) {
3874 // Copy current touch to last touch in preparation for the next cycle.
3984 // 2. While typing in the on screen keyboard, the user taps slightly outside the screen
4064 // events, they do not generally handle them except when presented in a move event.
4149 const RawPointerData::Pointer& in = mCurrentRawPointerData.pointers[i];
4159 touchMajor = in.touchMajor;
4160 touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor;
4161 toolMajor = in.toolMajor;
4162 toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor;
4164 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4166 toolMajor = touchMajor = in.touchMajor;
4168 ? in.touchMinor : in.touchMajor;
4170 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4172 touchMajor = toolMajor = in.toolMajor;
4174 ? in.toolMinor : in.toolMajor;
4176 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
4233 pressure = in.pressure * mPressureScale;
4236 pressure = in.isHovering ? 0 : 1;
4244 float tiltXAngle = (in.tiltX - mTiltXCenter) * mTiltXScale;
4245 float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale;
4253 orientation = in.orientation * mOrientationScale;
4256 int32_t c1 = signExtendNybble((in.orientation & 0xf0) >> 4);
4257 int32_t c2 = signExtendNybble(in.orientation & 0x0f);
4280 distance = in.distance * mDistanceScale;
4290 rawLeft = (in.toolMinor & 0xffff0000) >> 16;
4291 rawRight = in.toolMinor & 0x0000ffff;
4292 rawBottom = in.toolMajor & 0x0000ffff;
4293 rawTop = (in.toolMajor & 0xffff0000) >> 16;
4302 float xTransformed = in.x, yTransformed = in.y;
4380 uint32_t id = in.id;
4383 properties.toolType = in.toolType;
4749 // Determine whether we are in quiet time.
4955 // When in HOVER, emit HOVER_MOVE events at the pointer location.
4956 // When in TAP_DRAG, emit MOVE events at the pointer location.
5100 // Clear the reference deltas for fingers not yet included in the reference calculation.
5181 // When the vectors are oriented in approximately the same direction,
5193 // Pointers are moving in the same direction. Switch to SWIPE.
5204 // Pointers are moving in different directions. Switch to FREEFORM.
5234 // except in PRESS mode while waiting for a transition to occur.
5773 // Only one pointer and no change in count so it must have the same id as before.
5918 // Assign fresh ids to pointers that were not matched in the process.
6232 /* In order to ease the transition for developers from using the old axes
6345 // in axis values up front.
6517 // be fairly noisy even when not in use. On the other hand, pushing a gamepad
6531 /* In order to ease the transition for developers from using the old axes
6565 // Filter out small changes in value unless the value is converging on the axis