Home
last modified time | relevance | path

Searched refs:Y_OFFSET (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/animation/
DPathKeyframes.java42 private static final int Y_OFFSET = 2; field in PathKeyframes
110 float startY = mKeyframeData[startBase + Y_OFFSET]; in interpolateInRange()
111 float endY = mKeyframeData[endBase + Y_OFFSET]; in interpolateInRange()
141 int yOffset = base + Y_OFFSET; in pointForIndex()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp227 static constexpr float Y_OFFSET = 1.1; member in android::MotionEventTest
260 mTransform.set({X_SCALE, 0, X_OFFSET, 0, Y_SCALE, Y_OFFSET, 0, 0, 1}); in initializeEventWithHistory()
357 ASSERT_EQ(Y_OFFSET, event->getYOffset()); in assertEqualsEventWithHistory()
416 ASSERT_EQ(Y_OFFSET + 11 * Y_SCALE, event->getHistoricalY(0, 0)); in assertEqualsEventWithHistory()
417 ASSERT_EQ(Y_OFFSET + 21 * Y_SCALE, event->getHistoricalY(1, 0)); in assertEqualsEventWithHistory()
418 ASSERT_EQ(Y_OFFSET + 111 * Y_SCALE, event->getHistoricalY(0, 1)); in assertEqualsEventWithHistory()
419 ASSERT_EQ(Y_OFFSET + 121 * Y_SCALE, event->getHistoricalY(1, 1)); in assertEqualsEventWithHistory()
420 ASSERT_EQ(Y_OFFSET + 211 * Y_SCALE, event->getY(0)); in assertEqualsEventWithHistory()
421 ASSERT_EQ(Y_OFFSET + 221 * Y_SCALE, event->getY(1)); in assertEqualsEventWithHistory()
533 ASSERT_EQ(Y_OFFSET - 2.0f, event.getYOffset()); in TEST_F()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt1047 Landroid/animation/PathKeyframes;->Y_OFFSET:I