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
412 // resulting in a deadlock. This situation is actually quite plausible because the
1171 // Process all of the events in order for each mapper.
1172 // We cannot simply ask each mapper to process them in bulk because mappers may
1175 // in the order received.
1811 // out of sync with the initial state of the events in the evdev buffer.
1812 // In the extremely unlikely case that this happens, the data from
1894 // The slot is no longer in use but it retains its previous contents,
2215 ALOGD("nextStep: scheduled timeout in %0.3fms", duration * 0.000001f);
2427 // key repeat, be sure to use same keycode as before in case of rotation
2451 // key up, be sure to use same keycode as before in case of rotation
2474 // We don't do this for internal keyboards to prevent them from waking up in your pocket.
2640 ALOGE("Cannot start a device in MODE_POINTER_RELATIVE, starting in MODE_POINTER");
2670 // Keep PointerController around in order to preserve the pointer position.
2673 ALOGE("Cannot request pointer capture, device is not in MODE_POINTER");
2680 ALOGE("Cannot release pointer capture, device is not in MODE_POINTER_RELATIVE");
2862 // the device in your pocket.
3309 // in which case the reader will call reset itself after all mappers are ready.
3397 // up in your pocket but you can enable it using the input device configuration.
3507 // Raw width and height in the natural orientation.
3646 // Scale factor for terms that are not oriented in a particular axis.
3864 // Assume that the touch pad has a square aspect ratio such that movements in
3982 const PropertyMap& in = getDevice()->getConfiguration();
3988 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
4005 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
4007 out.haveSizeBias = in.tryGetProperty(String8("touch.size.bias"),
4009 out.haveSizeIsSummed = in.tryGetProperty(String8("touch.size.isSummed"),
4015 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) {
4028 out.havePressureScale = in.tryGetProperty(String8("touch.pressure.scale"),
4034 if (in.tryGetProperty(String8("touch.orientation.calibration"), orientationCalibrationString)) {
4050 if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) {
4061 out.haveDistanceScale = in.tryGetProperty(String8("touch.distance.scale"),
4066 if (in.tryGetProperty(String8("touch.coverage.calibration"), coverageCalibrationString)) {
4506 // Copy current touch to last touch in preparation for the next cycle.
4598 // We're either in the middle of a fused stream of data or we're waiting on data before
4696 // 2. While typing in the on screen keyboard, the user taps slightly outside the screen
4792 // events, they do not generally handle them except when presented in a move event.
4926 const RawPointerData::Pointer& in = mCurrentRawState.rawPointerData.pointers[i];
4936 touchMajor = in.touchMajor;
4937 touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor;
4938 toolMajor = in.toolMajor;
4939 toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor;
4941 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4943 toolMajor = touchMajor = in.touchMajor;
4945 ? in.touchMinor : in.touchMajor;
4947 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4949 touchMajor = toolMajor = in.toolMajor;
4951 ? in.toolMinor : in.toolMajor;
4953 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
5011 pressure = in.pressure * mPressureScale;
5014 pressure = in.isHovering ? 0 : 1;
5022 float tiltXAngle = (in.tiltX - mTiltXCenter) * mTiltXScale;
5023 float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale;
5031 orientation = in.orientation * mOrientationScale;
5034 int32_t c1 = signExtendNybble((in.orientation & 0xf0) >> 4);
5035 int32_t c2 = signExtendNybble(in.orientation & 0x0f);
5058 distance = in.distance * mDistanceScale;
5068 rawLeft = (in.toolMinor & 0xffff0000) >> 16;
5069 rawRight = in.toolMinor & 0x0000ffff;
5070 rawBottom = in.toolMajor & 0x0000ffff;
5071 rawTop = (in.toolMajor & 0xffff0000) >> 16;
5080 float xTransformed = in.x, yTransformed = in.y;
5159 uint32_t id = in.id;
5162 properties.toolType = in.toolType;
5532 // Determine whether we are in quiet time.
5739 // When in HOVER, emit HOVER_MOVE events at the pointer location.
5740 // When in TAP_DRAG, emit MOVE events at the pointer location.
5883 // Clear the reference deltas for fingers not yet included in the reference calculation.
5966 // When the vectors are oriented in approximately the same direction,
5978 // Pointers are moving in the same direction. Switch to SWIPE.
5989 // Pointers are moving in different directions. Switch to FREEFORM.
6019 // except in PRESS mode while waiting for a transition to occur.
6568 // Only one pointer and no change in count so it must have the same id as before.
6713 // Assign fresh ids to pointers that were not matched in the process.
7098 /* In order to ease the transition for developers from using the old axes
7211 // in axis values up front.
7383 // be fairly noisy even when not in use. On the other hand, pushing a gamepad
7397 /* In order to ease the transition for developers from using the old axes
7431 // Filter out small changes in value unless the value is converging on the axis