Home
last modified time | relevance | path

Searched refs:currentX (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp29 float currentX = 0; member in android::uirenderer::PathResolver
113 currentX = currentSegmentStartX; in addCommand()
117 outPath->moveTo(currentX, currentY); in addCommand()
152 currentX += points->at(k + 0); in addCommand()
161 currentSegmentStartX = currentX; in addCommand()
166 currentX = points->at(k + 0); in addCommand()
175 currentSegmentStartX = currentX; in addCommand()
181 currentX += points->at(k + 0); in addCommand()
186 currentX = points->at(k + 0); in addCommand()
191 currentX += points->at(k + 0); in addCommand()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/
DSquigglyProgress.kt177 var currentX = waveStart in <lambda>() variable
179 var currentAmp = computeAmplitude(currentX, waveSign) in <lambda>()
181 while (currentX < waveEnd) { in <lambda>()
183 val nextX = currentX + dist in <lambda>()
184 val midX = currentX + dist / 2 in <lambda>()
188 currentX = nextX in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt268 var currentX = from.x.toFloat() in <lambda>() variable
279 currentX, in <lambda>()
289 currentX = to.x.toFloat() in <lambda>()
292 currentX += stepX in <lambda>()
/frameworks/native/include/input/
DInputConsumer.h203 float currentX = getHistory(0)->getPointerById(id).getX(); in recentCoordinatesAreIdentical() local
207 if (currentX == previousX && currentY == previousY) { in recentCoordinatesAreIdentical()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipBoundsAlgorithm.java210 int currentX = mTvPipBoundsState.getTvPipGravity() & Gravity.HORIZONTAL_GRAVITY_MASK; in updateGravityOnExpansionToggled() local
228 updatedGravity = currentX | Gravity.CENTER_VERTICAL; in updateGravityOnExpansionToggled()
235 updatedGravity = currentX | previousCollapsedY; in updateGravityOnExpansionToggled()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java563 final float currentX = handleView.getHorizontal(layout, currentOffset); in locateHandlePointsTextIndex() local
566 TextCoordinates.convertToScreenCoordinates(mTextView, currentX, currentY); in locateHandlePointsTextIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java585 float currentX = mScreenshotPreview.getX(); in createScreenshotDropInAnimation()
589 mDismissButton.setX(currentX + mScreenshotPreview.getWidth() in createScreenshotDropInAnimation()
592 mDismissButton.setX(currentX - mDismissButton.getWidth() / 2f); in createScreenshotDropInAnimation()