Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 8 of 8) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DTimelineHorizontalScrollView.java249 final int startX; in dispatchDraw() local
252 startX = mHalfParentWidth + getScrollX(); in dispatchDraw()
255 startX = playheadOffset; in dispatchDraw()
264 startX - halfPlayheadWidth, in dispatchDraw()
266 startX + halfPlayheadWidth, in dispatchDraw()
275 startX - halfPlayheadWidth, in dispatchDraw()
277 startX + halfPlayheadWidth, in dispatchDraw()
286 startX - halfPlayheadWidth, in dispatchDraw()
288 startX + halfPlayheadWidth, in dispatchDraw()
DPlayheadView.java167 final float startX = Math.max(mScrollX - (((mScrollX - (mScreenWidth / 2)) % spacing)), in onDraw() local
169 float startMs = ((tickMs * (startX - (mScreenWidth / 2))) / spacing); in onDraw()
175 for (float i = startX; i <= endX; i += spacing, startMs += tickMs) { in onDraw()
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
DImageUtils.java389 String title, String subTitle, int startX, int startY, int width, int height) { in buildOverlayPreview() argument
394 Color.WHITE, title, subTitle, startX, startY, width, height); in buildOverlayPreview()
401 Color.BLACK, title, subTitle, startX, startY, width, height); in buildOverlayPreview()
423 int textColor, String title, String subTitle, int startX, int startY, int width, in drawOverlayPreview() argument
428 background.setBounds(startX + INSET, startHeight, startX + width - INSET, in drawOverlayPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java75 public void fling(int startX, int startY, int velocityX, int velocityY, in fling() argument
77 mStartX = startX; in fling()
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java209 final float startX = mHoriz.convertToPoint(startTime); in generatePath() local
223 mPathStroke.lineTo(startX, startY); in generatePath()
224 mPathFill.lineTo(startX, startY); in generatePath()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java397 void finishPaths(int w, int h, int levelh, int startX, int y, Path curLevelPath, in finishPaths() argument
408 curLevelPath.lineTo(startX, mLevelTop+levelh); in finishPaths()
516 int x = 0, y = 0, startX = 0, lastX = -1, lastY = -1; in onSizeChanged() local
553 startX = x; in onSizeChanged()
635 finishPaths(x+1, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged()
649 finishPaths(w, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java589 int startX; in realTimeReorder() local
598 startX = y == empty[1] ? empty[0] + 1 : 0; in realTimeReorder()
600 for (int x = startX; x <= endX; x++) { in realTimeReorder()
615 startX = y == empty[1] ? empty[0] - 1 : mContent.getCountX() - 1; in realTimeReorder()
617 for (int x = startX; x >= endX; x--) { in realTimeReorder()
DCellLayout.java2545 int startX = 0; in findCellForSpanThatIntersectsIgnoring() local
2547 startX = Math.max(startX, intersectX - (spanX - 1)); in findCellForSpanThatIntersectsIgnoring()
2564 for (int x = startX; x < endX; x++) { in findCellForSpanThatIntersectsIgnoring()