Searched refs:X_OFFSET (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 41 private static final int X_OFFSET = 1; field in PathKeyframes 108 float startX = mKeyframeData[startBase + X_OFFSET]; in interpolateInRange() 109 float endX = mKeyframeData[endBase + X_OFFSET]; in interpolateInRange() 140 int xOffset = base + X_OFFSET; in pointForIndex()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 226 static constexpr float X_OFFSET = 1; member in android::MotionEventTest 260 mTransform.set({X_SCALE, 0, X_OFFSET, 0, Y_SCALE, Y_OFFSET, 0, 0, 1}); in initializeEventWithHistory() 356 ASSERT_EQ(X_OFFSET, event->getXOffset()); in assertEqualsEventWithHistory() 409 ASSERT_EQ(X_OFFSET + 10 * X_SCALE, event->getHistoricalX(0, 0)); in assertEqualsEventWithHistory() 410 ASSERT_EQ(X_OFFSET + 20 * X_SCALE, event->getHistoricalX(1, 0)); in assertEqualsEventWithHistory() 411 ASSERT_EQ(X_OFFSET + 110 * X_SCALE, event->getHistoricalX(0, 1)); in assertEqualsEventWithHistory() 412 ASSERT_EQ(X_OFFSET + 120 * X_SCALE, event->getHistoricalX(1, 1)); in assertEqualsEventWithHistory() 413 ASSERT_EQ(X_OFFSET + 210 * X_SCALE, event->getX(0)); in assertEqualsEventWithHistory() 414 ASSERT_EQ(X_OFFSET + 220 * X_SCALE, event->getX(1)); in assertEqualsEventWithHistory() 532 ASSERT_EQ(X_OFFSET + 5.0f, event.getXOffset()); in TEST_F() [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 1046 Landroid/animation/PathKeyframes;->X_OFFSET:I
|