Home
last modified time | relevance | path

Searched refs:yoffset (Results 1 – 3 of 3) 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/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.java429 int yoffset = (previewHeight - iconSize) / 2; in generateWidgetPreview() local
430 icon.setBounds(hoffset, yoffset, hoffset + iconSize, yoffset + iconSize); in generateWidgetPreview()