Searched refs:axis (Results 51 - 65 of 65) sorted by relevance

123

/frameworks/native/libs/input/tests/
H A DVelocityTracker_test.cpp73 * Only populate the basic fields of a MotionEvent, such as time and a single axis
104 int32_t axis, float targetVelocity) {
113 switch (axis) {
198 // be relevant for the Y axis.
103 computeAndCheckVelocity(const Position* positions, size_t numSamples, int32_t axis, float targetVelocity) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DTouchUtils.java156 public static void scrollView(int axis, int axisValue, int inputDevice, View v) { argument
159 coords.setAxisValue(axis, axisValue);
/frameworks/base/core/java/android/widget/
H A DGridLayout.java122 * If either a weight or alignment were defined along a given axis then the component
141 * given axis. During layout, GridLayout solves the constraints so as to return the unique
342 * To control which axis should be processed first during the layout operation:
343 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
681 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
684 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
701 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
702 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins();
749 final Axis axis
2408 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
[all...]
/frameworks/ml/nn/common/
H A DCpuExecutor.cpp1044 int32_t axis = getScalarData<int32_t>(mOperands[ins[numInputTensors]]); local
1059 success = concatenationPrepare(inputShapes, axis, &outShape) &&
1061 concatenationFloat32(inputDataPtrs, inputShapes, axis,
1072 success = concatenationPrepare(inputShapes, axis, &outShape) &&
1074 concatenationQuant8(inputDataPtrs, inputShapes, axis,
1504 const RunTimeOperandInfo& axis = mOperands[ins[1]]; local
1511 reinterpret_cast<const int32_t*>(axis.buffer),
1512 axis.shape(),
1518 reinterpret_cast<const int32_t*>(axis.buffer),
1519 axis
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java119 * If either a weight or alignment were defined along a given axis then the component
138 * 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.
662 Axis axis = horizontal ? mHorizontalAxis : mVerticalAxis;
665 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
2295 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java476 * @param axes An array of font variation axis tag-value pairs.
548 for (FontVariationAxis axis : axes) {
549 builder.append(axis.getTag());
551 builder.append(Float.toString(axis.getStyleValue()));
1180 public boolean isSupportedAxes(int axis) { argument
1191 return Arrays.binarySearch(mSupportedAxes, axis) >= 0;
H A DPaint.java1629 * multiple pairs of axis tag and style values. The axis tag must contain four ASCII characters
1632 * are invalid. If a specified axis name is not defined in the font, the settings will be
1688 for (final FontVariationAxis axis : axes) {
1689 if (targetTypeface.isSupportedAxes(axis.getOpenTypeTagValue())) {
1690 filteredAxes.add(axis);
/frameworks/ml/nn/common/include/
H A DOperationsUtils.h210 int32_t axis,
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java5346 // We pick the axis that has moved the most as the direction of
5347 // the DPAD. When we generate DPAD events for one axis, then the
5348 // other axis is reset -- we don't want to perform DPAD jumps due
5350 // along the other axis.
5419 * Maintains state information for a single trackball axis, generating
5472 float collect(float off, long time, String axis) { argument
5477 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to positive!");
5487 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " reversed to negative!");
5509 if (DEBUG_TRACKBALL) Log.v(TAG, axis + " accelerate: off="
5517 if (DEBUG_TRACKBALL) Log.v(TAG, axis
5688 updateStateForAxis(MotionEvent event, long time, int axis, float value) argument
5758 isXAxis(int axis) argument
5761 isYAxis(int axis) argument
5765 joystickAxisAndStateToKeycode(int axis, int state) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.h759 /* Raw axis information from the driver. */
1018 status_t getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo);
1022 const RawAbsoluteAxisInfo& axis, const char* name);
1947 bool explicitlyMapped; // true if the axis was explicitly assigned an axis id
1994 // Axes indexed by raw ABS_* axis index.
2008 static bool isCenteredAxis(int32_t axis);
2009 static int32_t getCompatAxis(int32_t axis);
2011 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
2012 static void setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis,
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java764 int axis = scrollPosX != 0 ? View.SCROLL_AXIS_HORIZONTAL : 0;
765 axis |= scrollPosY != 0 ? View.SCROLL_AXIS_VERTICAL : 0;
766 if (view.startNestedScroll(axis)) {
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp474 void addAbsoluteAxis(int32_t deviceId, int axis,
485 device->absoluteAxes.add(axis, info);
488 void addRelativeAxis(int32_t deviceId, int32_t axis) {
490 device->relativeAxes.add(axis, true);
508 void setAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t value) {
510 device->absoluteAxisValue.replaceValueFor(axis, value);
593 virtual status_t getAbsoluteAxisInfo(int32_t deviceId, int axis, argument
597 ssize_t index = device->absoluteAxes.indexOfKey(axis);
607 virtual bool hasRelativeAxis(int32_t deviceId, int axis) const {
610 return device->relativeAxes.indexOfKey(axis) >
708 getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const argument
1621 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
[all...]
/frameworks/rs/script_api/
H A Drs_matrix.spec328 arg: float fovy, "Field of view, in degrees along the Y axis."
345 arg: float x, "X component of the vector that is the axis of rotation."
346 arg: float y, "Y component of the vector that is the axis of rotation."
347 arg: float z, "Z component of the vector that is the axis of rotation."
350 This function creates a rotation matrix. The axis of rotation is the <code>(x, y, z)</code> vector.
515 arg: float x, "X component of the vector that is the axis of rotation."
516 arg: float y, "Y component of the vector that is the axis of rotation."
517 arg: float z, "Z component of the vector that is the axis of rotation."
522 This function modifies a transformation matrix to first do a rotation. The axis of
H A Drs_graphics.spec687 Computes an axis aligned bounding box of a mesh object
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 335 milliseconds

123