/frameworks/support/v4/honeycomb_mr1/android/support/v4/view/ |
H A D | MotionEventCompatHoneycombMr1.java | 25 static float getAxisValue(MotionEvent event, int axis) { argument 26 return event.getAxisValue(axis); 29 static float getAxisValue(MotionEvent event, int axis, int pointerIndex) { argument 30 return event.getAxisValue(axis, pointerIndex);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorMatrix.java | 137 * Set the rotation on a color axis by the specified values. 139 * <code>axis=0</code> correspond to a rotation around the RED color 140 * <code>axis=1</code> correspond to a rotation around the GREEN color 141 * <code>axis=2</code> correspond to a rotation around the BLUE color 144 public void setRotate(int axis, float degrees) { argument 149 switch (axis) {
|
/frameworks/native/include/input/ |
H A D | KeyLayoutMap.h | 42 // When split, this is the axis used for values smaller than the split position. 43 int32_t axis; member in struct:android::AxisInfo 45 // When split, this is the axis used for values after higher than the split position. 54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
|
H A D | InputDevice.h | 66 int32_t axis; member in struct:android::InputDeviceInfo::MotionRange 91 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const; 94 void addMotionRange(int32_t axis, uint32_t source,
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 163 int32_t axis, uint32_t source) const { 167 if (range.axis == axis && range.source == source) { 178 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument 180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution }; 162 getMotionRange( int32_t axis, uint32_t source) const argument
|
H A D | Input.cpp | 91 float PointerCoords::getAxisValue(int32_t axis) const { 92 if (axis < 0 || axis > 63 || !BitSet64::hasBit(bits, axis)){ 95 return values[BitSet64::getIndexOfBit(bits, axis)]; 98 status_t PointerCoords::setAxisValue(int32_t axis, float value) { argument 99 if (axis < 0 || axis > 63) { 103 uint32_t index = BitSet64::getIndexOfBit(bits, axis); 104 if (!BitSet64::hasBit(bits, axis)) { 124 scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) argument 173 tooManyAxes(int axis) argument 292 getRawAxisValue(int32_t axis, size_t pointerIndex) const argument 296 getAxisValue(int32_t axis, size_t pointerIndex) const argument 312 getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const argument 317 getHistoricalAxisValue(int32_t axis, size_t pointerIndex, size_t historicalIndex) const argument 532 getLabel(int32_t axis) argument [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Quaternion.java | 56 double[] axis = normal(cross(vec1, vec2));
58 set(angle, axis);
73 public void set(double angle, double[] axis) {
argument 76 x[1] = axis[0] * sin;
77 x[2] = axis[1] * sin;
78 x[3] = axis[2] * sin;
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DLocation.c | 220 SLVec3D axis = *pAxis; local 221 // NTH Check that axis is not (close to) zero vector, length does not matter 231 thiz->mAxis = axis;
|
H A D | I3DMacroscopic.c | 129 SLVec3D axis = *pAxis; local 130 // NTH Check that axis is not (close to) zero vector, length does not matter 136 thiz->mAxis = axis;
|
/frameworks/base/native/android/ |
H A D | input.cpp | 186 int32_t axis, size_t pointer_index) { 187 return static_cast<const MotionEvent*>(motion_event)->getAxisValue(axis, pointer_index); 267 int32_t axis, size_t pointer_index, size_t history_index) { 269 axis, pointer_index, history_index); 185 AMotionEvent_getAxisValue(const AInputEvent* motion_event, int32_t axis, size_t pointer_index) argument 266 AMotionEvent_getHistoricalAxisValue(const AInputEvent* motion_event, int32_t axis, size_t pointer_index, size_t history_index) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | MotionEventCompat.java | 37 float getAxisValue(MotionEvent event, int axis); argument 38 float getAxisValue(MotionEvent event, int axis, int pointerIndex); argument 87 public float getAxisValue(MotionEvent event, int axis) { argument 92 public float getAxisValue(MotionEvent event, int axis, int pointerIndex) { argument 144 public float getAxisValue(MotionEvent event, int axis) { argument 145 return MotionEventCompatHoneycombMr1.getAxisValue(event, axis); 149 public float getAxisValue(MotionEvent event, int axis, int pointerIndex) { argument 150 return MotionEventCompatHoneycombMr1.getAxisValue(event, axis, pointerIndex); 535 * Get axis value for the first pointer index (may be an 538 * @param axis Th 543 getAxisValue(MotionEvent event, int axis) argument 559 getAxisValue(MotionEvent event, int axis, int pointerIndex) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 436 int axis = in.readInt(); 437 if (axis < 0) { 440 addMotionRange(axis, in.readInt(), in.readFloat(), in.readFloat(), in.readFloat(), 670 * Gets information about the range of values for a particular {@link MotionEvent} axis. 671 * If the device supports multiple sources, the same axis may have different meanings 672 * for each source. Returns information about the first axis found for any source. 673 * To obtain information about the axis for a specific source, use 676 * @param axis The axis constant. 677 * @return The range of values, or null if the requested axis i 683 getMotionRange(int axis) argument 708 getMotionRange(int axis, int source) argument 730 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument 809 MotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument [all...] |
H A D | MotionEvent.java | 32 * Motion events describe movements in terms of an action code and a set of axis values. 34 * down or up. The axis values describe the position and other movement properties. 38 * and a set of axis values that include the X and Y coordinates of the touch and 142 * The joystick axis values are normalized to a range of -1.0 to 1.0 where 0.0 corresponds 483 * Axis constant: X axis of a motion event. 508 * Axis constant: Y axis of a motion event. 533 * Axis constant: Pressure axis of a motion event. 555 * Axis constant: Size axis of a motion event. 575 * Axis constant: TouchMajor axis of a motion event. 578 * <li>For a touch screen, reports the length of the major axis o 1483 nativeGetRawAxisValue(long nativePtr, int axis, int pointerIndex, int historyPos) argument 1485 nativeGetAxisValue(long nativePtr, int axis, int pointerIndex, int historyPos) argument 1498 nativeAxisToString(int axis) argument 2056 getAxisValue(int axis) argument 2266 getAxisValue(int axis, int pointerIndex) argument 2618 getHistoricalAxisValue(int axis, int pos) argument 2799 getHistoricalAxisValue(int axis, int pointerIndex, int pos) argument 3235 axisToString(int axis) argument 3554 getAxisValue(int axis) argument 3598 setAxisValue(int axis, float value) argument [all...] |
H A D | ViewRootImpl.java | 4633 // We pick the axis that has moved the most as the direction of 4634 // the DPAD. When we generate DPAD events for one axis, then the 4635 // other axis is reset -- we don't want to perform DPAD jumps due 4637 // along the other axis. 4706 * Maintains state information for a single trackball axis, generating 4759 float collect(float off, long time, String axis) { argument 4764 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to positive!"); 4774 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to negative!"); 4796 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " accelerate: off=" 4804 if (DEBUG_TRACKBALL) Log.v(TAG, axis [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 227 uint32_t axis = bits.clearFirstMarkedBit(); local 228 outRawPointerCoords->setAxisValue(axis, values[index++]); 303 uint32_t axis = bits.clearFirstMarkedBit(); local 304 outBits |= BitSet64::valueForBit(axis); 305 outValues[index++] = rawPointerCoords->getAxisValue(axis); 614 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { 622 return event->getRawAxisValue(axis, pointerIndex); 628 return event->getHistoricalRawAxisValue(axis, pointerIndex, historyPos); 633 jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) { 641 return event->getAxisValue(axis, pointerInde 613 android_view_MotionEvent_nativeGetRawAxisValue(JNIEnv* env, jclass clazz, jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 632 android_view_MotionEvent_nativeGetAxisValue(JNIEnv* env, jclass clazz, jlong nativePtr, jint axis, jint pointerIndex, jint historyPos) argument 742 android_view_MotionEvent_nativeAxisToString(JNIEnv* env, jclass clazz, jint axis) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 106 uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses) { argument 109 switch (axis) { 134 // External stylus gets the pressure axis 136 if (axis == ABS_PRESSURE) { 281 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, argument 285 if (axis >= 0 && axis <= ABS_MAX) { 289 if (device && !device->isVirtual() && test_bit(axis, device->absBitmask)) { 291 if(ioctl(device->fd, EVIOCGABS(axis), &info)) { 293 axis, devic 391 getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const argument [all...] |
H A D | InputReader.cpp | 972 const char* label = getAxisLabel(range.axis); 978 snprintf(name, sizeof(name), "%d", range.axis); 1915 status_t InputMapper::getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo) { argument 1916 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); 1924 const RawAbsoluteAxisInfo& axis, const char* name) { 1925 if (axis.valid) { 1927 name, axis.minValue, axis.maxValue, axis.flat, axis 1923 dumpRawAbsoluteAxisInfo(String8& dump, const RawAbsoluteAxisInfo& axis, const char* name) argument 6854 const Axis& axis = mAxes.valueAt(i); local 6864 addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info) argument 6881 getCompatAxis(int32_t axis) argument 6897 const Axis& axis = mAxes.valueAt(i); local 7001 Axis& axis = mAxes.editValueAt(i); local 7026 const Axis& axis = mAxes.valueAt(i); local 7048 isCenteredAxis(int32_t axis) argument 7071 Axis& axis = mAxes.editValueAt(i); local 7083 Axis& axis = mAxes.editValueAt(index); local 7144 const Axis& axis = mAxes.valueAt(i); local 7164 setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, float value) argument 7181 Axis& axis = mAxes.editValueAt(i); local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 113 * If either a weight or alignment were defined along a given axis then the component 132 * given axis. During layout, GridLayout solves the constraints so as to return the unique 327 * To control which axis should be processed first during the layout operation: 328 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 666 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis; 669 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 686 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis; 687 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins(); 734 final Axis axis 2392 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 111 * If either a weight or alignment were defined along a given axis then the component 130 * given axis. During layout, GridLayout solves the constraints so as to return the unique 319 * To control which axis should be processed first during the layout operation: 320 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 653 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis; 656 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 677 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis; 678 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins(); 725 final Axis axis 2286 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 376 void addAbsoluteAxis(int32_t deviceId, int axis, argument 387 device->absoluteAxes.add(axis, info); 390 void addRelativeAxis(int32_t deviceId, int32_t axis) { argument 392 device->relativeAxes.add(axis, true); 410 void setAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t value) { argument 412 device->absoluteAxisValue.replaceValueFor(axis, value); 495 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis, argument 499 ssize_t index = device->absoluteAxes.indexOfKey(axis); 509 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const { 512 return device->relativeAxes.indexOfKey(axis) > 610 getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const argument 1452 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |