Home
last modified time | relevance | path

Searched refs:yoffset (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java272 int yoffset = component.mBounds.top - mScrollY; in renderChild() local
274 canvas.translate(xoffset, yoffset); in renderChild()
288 canvas.translate(-xoffset, -yoffset); in renderChild()
408 int yoffset = 0; in getBoundsOf() local
414 yoffset += bounds.top; in getBoundsOf()
417 out.set(xoffset, yoffset, xoffset + descendant.getWidth(), in getBoundsOf()
418 yoffset + descendant.getHeight()); in getBoundsOf()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageView.java189 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale); in positionFromMatrix() local
196 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
198 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale); in positionFromMatrix() local
270 cy += (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
272 cy -= (mTempRectF.top / scale) - yoffset; in positionFromMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java417 int yoffset = (int) ((tileH - appIconSize * iconScale) / 2); in generateWidgetPreview() local
418 icon.setBounds(hoffset, yoffset, in generateWidgetPreview()
420 yoffset + (int) (appIconSize * iconScale)); in generateWidgetPreview()
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java525 int yoffset = in generateWidgetPreview() local
532 yoffset, (int) (mAppIconSize * iconScale), in generateWidgetPreview()