/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DropTarget.java | 40 public int yOffset = -1; field in class:DropTarget.DragObject 88 int top = y - yOffset; 113 * @param yOffset Vertical offset with the object being dragged where the original 143 * @param yOffset Vertical offset with the object being dragged where the
|
H A D | ButtonDropTarget.java | 294 final int yOffset = (int) -(viewHeight - height) / 2; 295 to.offset(xOffset, yOffset);
|
H A D | DragController.java | 249 mDragObject.yOffset = b.getHeight() / 2; 253 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FlingAnimation.java | 48 float yOffset = ((scale - 1f) * d.dragView.getMeasuredHeight()) / 2f; 51 mFrom.top += yOffset; 52 mFrom.bottom -= yOffset;
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
H A D | StateTransitionAnimation.java | 153 int yOffset = view.getHeight() / 2; 154 canvas.translate(xOffset, yOffset); 156 mOldScreenTexture.draw(canvas, -xOffset, -yOffset); 168 int yOffset = view.getHeight() / 2; 169 canvas.translate(xOffset, yOffset); 171 canvas.translate(-xOffset, -yOffset);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DropTarget.java | 40 public int yOffset = -1; field in class:DropTarget.DragObject 122 * @param yOffset Vertical offset with the object being dragged where the original 153 * @param yOffset Vertical offset with the object being dragged where the original 171 * @param yOffset Vertical offset with the object being dragged where the
|
H A D | ButtonDropTarget.java | 152 final int yOffset = (int) -(viewHeight - height) / 2; 153 to.offset(xOffset, yOffset);
|
H A D | DeleteDropTarget.java | 351 float yOffset = ((scale - 1f) * dragView.getMeasuredHeight()) / 2f; 354 mFrom.top += yOffset;
|
H A D | AppWidgetResizeFrame.java | 404 int yOffset = mCellLayout.getTop() + mCellLayout.getPaddingTop() 413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop;
|
H A D | Folder.java | 623 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null); 642 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, argument 656 int top = y - yOffset;
|
H A D | DragController.java | 240 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop);
|
H A D | Workspace.java | 1975 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, 2171 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, 2721 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, argument 2740 int top = y - yOffset; 2767 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | SimSelectorAvatarRequest.java | 106 final float yOffset = halfHeight - textBound.centerY(); 107 canvas.drawText(firstCharString, xOffset, yOffset, paint);
|
H A D | AvatarRequest.java | 175 final float yOffset = halfHeight - textBound.centerY(); 176 canvas.drawText(firstCharString, xOffset, yOffset, paint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 174 * @param yOffset Specifies a texel offset in the y direction within the 179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, argument
|
H A D | GLES11Canvas.java | 956 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, argument 960 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type);
|
H A D | GLES20Canvas.java | 933 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, argument 938 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 172 * @param yOffset Specifies a texel offset in the y direction within the 177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, argument
|
H A D | GLES20Canvas.java | 932 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, argument 937 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | MultiAttachmentLayout.java | 376 final int yOffset = viewWrapper.prevTop - view.getTop(); 380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { 387 animationSet.addAnimation(new TranslateAnimation(xOffset, 0, yOffset, 0));
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | PhotoModule.java | 840 int yOffset = (originalHeight - newHeight)/2; 842 if (xOffset < 0 || yOffset < 0) { 846 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 4642 int yOffset = DAY_HEADER_HEIGHT + ALLDAY_TOP_MARGIN; 4665 float eventTop = yOffset + height * event.getColumn();
|