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
338 // resulting in a deadlock. This situation is actually quite plausible because the
1056 // Process all of the events in order for each mapper.
1057 // We cannot simply ask each mapper to process them in bulk because mappers may
1060 // in the order received.
1696 // out of sync with the initial state of the events in the evdev buffer.
1697 // In the extremely unlikely case that this happens, the data from
1779 // The slot is no longer in use but it retains its previous contents,
2100 ALOGD("nextStep: scheduled timeout in %0.3fms", duration * 0.000001f);
2265 // key repeat, be sure to use same keycode as before in case of rotation
2289 // key up, be sure to use same keycode as before in case of rotation
2312 // We don't do this for internal keyboards to prevent them from waking up in your pocket.
2671 // the device in your pocket.
3090 // in which case the reader will call reset itself after all mappers are ready.
3176 // up in your pocket but you can enable it using the input device configuration.
3284 // Raw width and height in the natural orientation.
3409 // Scale factor for terms that are not oriented in a particular axis.
3627 // Assume that the touch pad has a square aspect ratio such that movements in
3745 const PropertyMap& in = getDevice()->getConfiguration();
3751 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
3768 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
3770 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
3772 out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"),
3778 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) {
3791 out.havePressureScale = in.tryGetProperty(String8("touch.pressure.scale"),
3797 if (in.tryGetProperty(String8("touch.orientation.calibration"), orientationCalibrationString)) {
3813 if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) {
3824 out.haveDistanceScale = in.tryGetProperty(String8("touch.distance.scale"),
3829 if (in.tryGetProperty(String8("touch.coverage.calibration"), coverageCalibrationString)) {
4269 // Copy current touch to last touch in preparation for the next cycle.
4361 // We're either in the middle of a fused stream of data or we're waiting on data before
4459 // 2. While typing in the on screen keyboard, the user taps slightly outside the screen
4555 // events, they do not generally handle them except when presented in a move event.
4689 const RawPointerData::Pointer& in = mCurrentRawState.rawPointerData.pointers[i];
4699 touchMajor = in.touchMajor;
4700 touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor;
4701 toolMajor = in.toolMajor;
4702 toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor;
4704 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4706 toolMajor = touchMajor = in.touchMajor;
4708 ? in.touchMinor : in.touchMajor;
4710 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4712 touchMajor = toolMajor = in.toolMajor;
4714 ? in.toolMinor : in.toolMajor;
4716 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
4774 pressure = in.pressure * mPressureScale;
4777 pressure = in.isHovering ? 0 : 1;
4785 float tiltXAngle = (in.tiltX - mTiltXCenter) * mTiltXScale;
4786 float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale;
4794 orientation = in.orientation * mOrientationScale;
4797 int32_t c1 = signExtendNybble((in.orientation & 0xf0) >> 4);
4798 int32_t c2 = signExtendNybble(in.orientation & 0x0f);
4821 distance = in.distance * mDistanceScale;
4831 rawLeft = (in.toolMinor & 0xffff0000) >> 16;
4832 rawRight = in.toolMinor & 0x0000ffff;
4833 rawBottom = in.toolMajor & 0x0000ffff;
4834 rawTop = (in.toolMajor & 0xffff0000) >> 16;
4843 float xTransformed = in.x, yTransformed = in.y;
4922 uint32_t id = in.id;
4925 properties.toolType = in.toolType;
5295 // Determine whether we are in quiet time.
5504 // When in HOVER, emit HOVER_MOVE events at the pointer location.
5505 // When in TAP_DRAG, emit MOVE events at the pointer location.
5652 // Clear the reference deltas for fingers not yet included in the reference calculation.
5735 // When the vectors are oriented in approximately the same direction,
5747 // Pointers are moving in the same direction. Switch to SWIPE.
5758 // Pointers are moving in different directions. Switch to FREEFORM.
5788 // except in PRESS mode while waiting for a transition to occur.
6347 // Only one pointer and no change in count so it must have the same id as before.
6492 // Assign fresh ids to pointers that were not matched in the process.
6876 /* In order to ease the transition for developers from using the old axes
6989 // in axis values up front.
7161 // be fairly noisy even when not in use. On the other hand, pushing a gamepad
7175 /* In order to ease the transition for developers from using the old axes
7209 // Filter out small changes in value unless the value is converging on the axis