Home | History | Annotate | Download | only in input

Lines Matching full:touchmajor

585 <dt><code>raw.touchMajor</code></dt>
588 <dd>The value of the <code>ABS_MT_TOUCH_MINOR</code> axis, or <code>raw.touchMajor</code> if not available.</dd>
734 <h3 id="touchmajor-touchminor-toolmajor-toolminor-size-fields"><code>TouchMajor</code>, <code>TouchMinor</code>, <code>ToolMajor</code>, <code>ToolMinor</code>, <code>Size</code> Fields</h3>
735 <p>The <code>TouchMajor</code> and <code>TouchMinor</code> fields describe the approximate dimensions
743 <p>When both the approximate length and breadth can be measured, then the <code>TouchMajor</code> field
746 then the <code>TouchMajor</code> and <code>TouchMinor</code> fields will be equal.</p>
778 <code>raw.touchMajor</code> or <code>raw.toolMajor</code> axis is available, otherwise it uses
809 <p>The calculation of the <code>TouchMajor</code>, <code>TouchMinor</code>, <code>ToolMajor</code>, <code>ToolMinor</code>
811 <pre><code>If raw.touchMajor and raw.toolMajor are available:
812 touchMajor = raw.touchMajor
816 Else If raw.touchMajor is available:
817 toolMajor = touchMajor = raw.touchMajor
820 touchMajor = toolMajor = raw.toolMajor
823 touchMajor = toolMajor = 0
828 size = avg(touchMajor, touchMinor)
831 touchMajor = touchMajor / numberOfActiveContacts
839 touchMajor = toolMajor = 0
844 touchMajor = touchMajor * outputScale
849 touchMajor = sqrt(touchMajor)
850 touchMinor = touchMajor
854 touchMinor = touchMajor
858 If touchMajor != 0:
859 output.touchMajor = touchMajor * touch.size.scale + touch.size.bias
861 output.touchMajor = 0
988 touchMajor *= scale