Searched refs:axis (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DColorMatrix.java114 * Set the rotation on a color axis by the specified values.
115 * axis=0 correspond to a rotation around the RED color
116 * axis=1 correspond to a rotation around the GREEN color
117 * axis=2 correspond to a rotation around the BLUE color
119 public void setRotate(int axis, float degrees) { argument
124 switch (axis) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp112 AaptGroupEntry::parseNamePart(const String8& part, int* axis, uint32_t* value) argument
118 *axis = AXIS_MCC;
125 *axis = AXIS_MNC;
132 *axis = AXIS_LANGUAGE;
140 *axis = AXIS_LANGUAGE;
147 *axis = AXIS_SCREENLAYOUTSIZE;
154 *axis = AXIS_SCREENLAYOUTLONG;
161 *axis = AXIS_ORIENTATION;
168 *axis = AXIS_UIMODETYPE;
175 *axis
[all...]
H A DResourceTable.cpp2519 int axis; local
2521 if (AaptGroupEntry::parseNamePart(part, &axis, &value)) {
2534 ssize_t index = mData.indexOfKey(axis);
2536 mData.add(axis, SortedVector<uint32_t>());
2538 SortedVector<uint32_t>& sv = mData.editValueFor(axis);
2542 if (axis == AXIS_LANGUAGE) {
2556 ResourceFilter::match(int axis, uint32_t value) argument
2562 ssize_t index = mData.indexOfKey(axis);
2564 // we didn't request anything on this axis so take everything
H A DAaptAssets.h88 static status_t parseNamePart(const String8& part, int* axis, uint32_t* value);
H A DResourceTable.h552 bool match(int axis, uint32_t value);
/frameworks/base/include/ui/
H A DEventHub.h34 #define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */
35 #define ABS_MT_TOUCH_MINOR 0x31 /* Minor axis (omit if circular) */
36 #define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */
37 #define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */
75 /* Describes an absolute axis. */
158 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
204 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis,
/frameworks/base/libs/ui/
H A DEventHub.cpp65 #define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */
148 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, argument
158 if(ioctl(device->fd, EVIOCGABS(axis), &info)) {
160 axis, device->name.string(), device->fd);
H A DInputReader.cpp1347 // Configure absolute axis information.
1389 static void dumpAxisInfo(String8& dump, RawAbsoluteAxisInfo axis, const char* name) { argument
1390 if (axis.valid) {
1392 name, axis.minValue, axis.maxValue, axis.flat, axis.fuzz);
1449 LOGW(INDENT "Touch device did not report support for X or Y axis!");
1458 // Scale factor for terms that are not oriented in a particular axis.
1463 // Size of diagonal axis
[all...]
/frameworks/base/core/java/android/view/
H A DViewRoot.java2304 // We pick the axis that has moved the most as the direction of
2305 // the DPAD. When we generate DPAD events for one axis, then the
2306 // other axis is reset -- we don't want to perform DPAD jumps due
2308 // along the other axis.
3115 * Maintains state information for a single trackball axis, generating
3165 float collect(float off, long time, String axis) { argument
3170 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to positive!");
3180 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to negative!");
3202 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " accelerate: off="
3210 if (DEBUG_TRACKBALL) Log.v(TAG, axis
[all...]
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp415 void addAxis(int32_t deviceId, int axis, argument
425 device->axes.add(axis, info);
489 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis, argument
493 ssize_t index = device->axes.indexOfKey(axis);

Completed in 169 milliseconds