Home
last modified time | relevance | path

Searched refs:yPos (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcutKeysLayout.java51 int yPos = getPaddingTop(); in onMeasure() local
72 yPos += lineHeight; in onMeasure()
80 height = yPos + lineHeight; in onMeasure()
82 if (yPos + lineHeight < height) { in onMeasure()
83 height = yPos + lineHeight; in onMeasure()
113 int yPos = getPaddingTop(); in onLayout() local
131 layoutChildrenOnRow(rowStartIdx, i, fullRowWidth, xPos, yPos, in onLayout()
137 yPos += mLineHeight; in onLayout()
162 int yPos, int lastHorizontalSpacing) { in layoutChildrenOnRow() argument
178 yPos, in layoutChildrenOnRow()
[all …]
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java70 int xPos, int yPos, int w, int h); in drawDecoration() argument
685 yPos += mBlockHeight; in paintDecoration()
910 final int yPos = currentBlock * height; in doDraw() local
911 if (yPos >= scrollPos + thisHeight) { in doDraw()
917 blk.doDraw(canvas, 0, yPos); in doDraw()
935 canvas.drawRect(xPos, yPos, xPos + mBlockWidth, yPos + mBlockHeight, in drawEmptyBlock()
940 int y = yPos + mSpec.mCellSpacing; in drawEmptyBlock()
1075 final int yPos = spacing; in loadImageDone() local
1079 drawBitmap(image, b, xPos, yPos); in loadImageDone()
1125 dstRect.offset(xPos, yPos); in doDraw()
[all …]
H A DImageGallery.java782 Bitmap b, int xPos, int yPos, int w, int h) {
800 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
804 mDstRect.set(xPos, yPos, xPos + w, yPos + h);
815 int top = (w - height) / 2 + yPos;
837 canvas.drawRect(xPos, yPos, xPos + w, yPos + h, paint);
842 int top = (h - height) / 2 + yPos;
854 int xPos, int yPos, int w, int h) {
864 int top = h - height - 5 + yPos;
H A DGalleryPicker.java628 int yPos = (row * (imageHeight + heightPadding)) - offsetY; in placeImage() local
630 c.drawBitmap(image, xPos, yPos, paint); in placeImage()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DInteraction.java108 float[] xPos, float[] yPos, long duration) { in createInterpolatedEventList() argument
113 float startY = yPos[0]; in createInterpolatedEventList()
121 float endY = yPos[i]; in createInterpolatedEventList()
140 float lastY = yPos[yPos.length - 1]; in createInterpolatedEventList()
149 float[] xPos, float[] yPos, long duration) { in Interaction() argument
152 mYPositions = yPos; in Interaction()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedAnimationCallback.java49 default void onAnimationUpdate(SurfaceControl.Transaction tx, float xPos, float yPos) { in onAnimationUpdate() argument
H A DOneHandedBackgroundPanelOrganizer.java114 public void onAnimationUpdate(SurfaceControl.Transaction tx, float xPos, float yPos) { in onAnimationUpdate() argument
115 final int yTopPos = (mStableInsets.top - mBkgBounds.height()) + Math.round(yPos); in onAnimationUpdate()
H A DOneHandedTutorialHandler.java97 public void onAnimationUpdate(SurfaceControl.Transaction tx, float xPos, float yPos) { in onAnimationUpdate() argument
101 if (yPos < mAlphaTransitionStart) { in onAnimationUpdate()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarLauncherDisplayAreaAnimationCallback.java49 default void onAnimationUpdate(float xPos, float yPos) { in onAnimationUpdate() argument
/aosp12/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h185 void drawClock(const Font& font, const int xPos, const int yPos);
186 void drawProgress(int percent, const Font& font, const int xPos, const int yPos);
H A DBootAnimation.cpp1038 void BootAnimation::drawClock(const Font& font, const int xPos, const int yPos) { in drawClock() argument
1059 int y = yPos; in drawClock()
1063 void BootAnimation::drawProgress(int percent, const Font& font, const int xPos, const int yPos) { in drawProgress() argument
1071 int y = yPos; in drawProgress()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DPeopleHelper.java126 int yPos = (int) (radius - ((mTextPaint.descent() + mTextPaint.ascent()) / 2)); in createAvatarSymbol() local
127 canvas.drawText(symbol, radius, yPos, mTextPaint); in createAvatarSymbol()
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp472 int yPos = 0; in getAspectRatioPosition() local
501 yPos = rect.top; in getAspectRatioPosition()
512 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
533 yPos = r.top; in getAspectRatioPosition()
535 yRatio = (float)yPos/height; in getAspectRatioPosition()
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp459 int yPos = 0; in getAspectRatioPosition() local
488 yPos = rect.top; in getAspectRatioPosition()
499 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
520 yPos = r.top; in getAspectRatioPosition()
522 yRatio = (float)yPos/height; in getAspectRatioPosition()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_utils.cpp620 int yPos = 0; in getAspectRatioPosition() local
649 yPos = rect.top; in getAspectRatioPosition()
660 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
681 yPos = r.top; in getAspectRatioPosition()
683 yRatio = (float)yPos/height; in getAspectRatioPosition()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java4221 int yPos = (int) ((canvas.getHeight() / 2.0f)
4224 canvas.drawText(mExtraImageCount, xPos, yPos, mTextPaint);