Searched refs:X_OFFSET (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 209 static const float X_OFFSET; member in android::MotionEventTest 218 const float MotionEventTest::X_OFFSET = 1.0f; member in android::MotionEventTest 254 X_OFFSET, Y_OFFSET, 2.0f, 2.1f, in initializeEventWithHistory() 309 ASSERT_EQ(X_OFFSET, event->getXOffset()); in assertEqualsEventWithHistory() 362 ASSERT_EQ(X_OFFSET + 10, event->getHistoricalX(0, 0)); in assertEqualsEventWithHistory() 363 ASSERT_EQ(X_OFFSET + 20, event->getHistoricalX(1, 0)); in assertEqualsEventWithHistory() 364 ASSERT_EQ(X_OFFSET + 110, event->getHistoricalX(0, 1)); in assertEqualsEventWithHistory() 365 ASSERT_EQ(X_OFFSET + 120, event->getHistoricalX(1, 1)); in assertEqualsEventWithHistory() 366 ASSERT_EQ(X_OFFSET + 210, event->getX(0)); in assertEqualsEventWithHistory() 367 ASSERT_EQ(X_OFFSET + 220, event->getX(1)); in assertEqualsEventWithHistory() [all …]
|
/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() 144 int xOffset = base + X_OFFSET; in pointForIndex()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | CircleImageView.java | 43 private static final float X_OFFSET = 0f; field in CircleImageView 56 final int shadowXOffset = (int) (density * X_OFFSET); in CircleImageView()
|