Home
last modified time | relevance | path

Searched refs:xPos (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java50 int xPos = getPaddingLeft(); in onMeasure() local
70 if (xPos + childWidth > width) { in onMeasure()
71 xPos = getPaddingLeft(); in onMeasure()
74 xPos += childWidth + layoutParams.mHorizontalSpacing; in onMeasure()
110 int xPos = isRTL() in onLayout() local
126 ? xPos - getPaddingLeft() - currentChildWidth < 0 in onLayout()
127 : xPos + currentChildWidth > fullRowWidth; in onLayout()
131 layoutChildrenOnRow(rowStartIdx, i, fullRowWidth, xPos, yPos, in onLayout()
134 xPos = isRTL() in onLayout()
141 xPos = isRTL() in onLayout()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java108 float[] xPos, float[] yPos, long duration) { in createInterpolatedEventList() argument
112 float startX = xPos[0]; in createInterpolatedEventList()
119 for (int i = 1; i < xPos.length; i++) { in createInterpolatedEventList()
120 float endX = xPos[i]; in createInterpolatedEventList()
139 float lastX = xPos[xPos.length - 1]; in createInterpolatedEventList()
149 float[] xPos, float[] yPos, long duration) { in Interaction() argument
151 mXPositions = xPos; in Interaction()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp537 float xPos = x; in compositeBufferFromLayers() local
551 xPos = xPos - dfL - dfW / 2.0; in compositeBufferFromLayers()
556 xPos = -xPos; in compositeBufferFromLayers()
568 float tmp = xPos; in compositeBufferFromLayers()
569 xPos = yPos * dfW / dfH; in compositeBufferFromLayers()
575 xPos = xPos + dfL + dfW / 2.0; in compositeBufferFromLayers()
639 if (xPos < ((bWDiv3) - scL) * (dfWDivScW) + dfL) { in compositeBufferFromLayers()
641 } else if (xPos < ((bW2Div3) - scL) * (dfWDivScW) + dfL) { in compositeBufferFromLayers()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h154 void drawClock(const Font& font, const int xPos, const int yPos);
DBootAnimation.cpp666 void BootAnimation::drawClock(const Font& font, const int xPos, const int yPos) { in drawClock() argument
686 int x = xPos; in drawClock()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java4010 int xPos = canvas.getWidth() / 2;
4014 canvas.drawText(mExtraImageCount, xPos, yPos, mTextPaint);