/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | StateTransitionAnimation.java | 152 int xOffset = view.getWidth() / 2; in applyOldTexture() local 154 canvas.translate(xOffset, yOffset); in applyOldTexture() 156 mOldScreenTexture.draw(canvas, -xOffset, -yOffset); in applyOldTexture() 167 int xOffset = view.getWidth() / 2; in applyContentTransform() local 169 canvas.translate(xOffset, yOffset); in applyContentTransform() 171 canvas.translate(-xOffset, -yOffset); in applyContentTransform()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 578 int xOffset = 0; in computeDayLeftPosition() local 580 xOffset = SPACING_WEEK_NUMBER + mPadding; in computeDayLeftPosition() 581 effectiveWidth -= xOffset; in computeDayLeftPosition() 583 x = day * effectiveWidth / mNumDays + xOffset; in computeDayLeftPosition() 595 int xOffset = SPACING_WEEK_NUMBER + mPadding; in drawDaySeparators() local 597 lines[i++] = xOffset; in drawDaySeparators() 599 lines[i++] = xOffset; in drawDaySeparators() 990 int xOffset = (DNA_ALL_DAY_WIDTH - DNA_WIDTH) / 2; in drawDNA() local 997 canvas.drawLine(mDayXs[i] + xOffset, DNA_MARGIN, mDayXs[i] + xOffset, in drawDNA()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 47 float xOffset = ((scale - 1f) * d.dragView.getMeasuredWidth()) / 2f; in FlingAnimation() local 49 mFrom.left += xOffset; in FlingAnimation() 50 mFrom.right -= xOffset; in FlingAnimation()
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
D | phasebeam.rs | 47 float xOffset = 0.5; 111 newOffset = xOffset*2; 117 vert->offsetX = -xOffset/2.0;
|
D | PhaseBeamRS.java | 248 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 249 mScript.set_xOffset(xOffset); in setOffset()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 375 final int xOffset = viewWrapper.prevLeft - view.getLeft(); in trySlideAttachmentView() local 380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView() 387 animationSet.addAnimation(new TranslateAnimation(xOffset, 0, yOffset, 0)); in trySlideAttachmentView()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTarget.java | 35 public int xOffset = -1; field in DropTarget.DragObject 83 int left = x - xOffset; in getVisualCenter()
|
D | ButtonDropTarget.java | 288 final int xOffset = (int) -(viewWidth - width) / 2; in getIconRect() local 290 to.offset(xOffset, yOffset); in getIconRect()
|
D | DragController.java | 245 mDragObject.xOffset = b.getWidth() / 2; in startDrag() 249 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
D | RenderScriptWallpaper.java | 90 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 92 if (mRenderer != null) mRenderer.setOffset(xOffset, yOffset, xPixels, yPixels); in onOffsetsChanged()
|
D | RenderScriptScene.java | 85 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | RenderScriptWallpaper.java | 94 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 96 mRenderer.setOffset(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged()
|
D | MagicSmokeRS.java | 236 …public void setOffset(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPi… in setOffset() argument 238 mWorldState.mXOffset = xOffset; in setOffset()
|
D | RenderScriptScene.java | 89 …public void setOffset(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPi… in setOffset() argument
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
D | HoloSpiralWallpaper.java | 121 public void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, in onOffsetsChanged() argument 123 mWallpaperRS.setOffset(xOffset, yOffset, xPixelOffset, yPixelOffset); in onOffsetsChanged()
|
D | HoloSpiralRS.java | 78 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 79 mScript.set_gXOffset(xOffset); in setOffset()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ButtonDropTarget.java | 151 final int xOffset = (int) -(viewWidth - width) / 2; in getIconRect() local 153 to.offset(xOffset, yOffset); in getIconRect()
|
D | Folder.java | 623 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null); in onDragOver() 642 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, in getDragViewVisualCenter() argument 655 int left = x - xOffset; in getDragViewVisualCenter()
|
D | DeleteDropTarget.java | 350 float xOffset = ((scale - 1f) * dragView.getMeasuredWidth()) / 2f; 353 mFrom.left += xOffset;
|
D | AppWidgetResizeFrame.java | 402 int xOffset = mCellLayout.getLeft() + mCellLayout.getPaddingLeft() in snapToWidget() local 412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; in snapToWidget()
|
D | DropTarget.java | 37 public int xOffset = -1; field in DropTarget.DragObject
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | SimSelectorAvatarRequest.java | 105 final float xOffset = halfWidth - textBound.centerX(); in renderSimAvatarInternal() local 107 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderSimAvatarInternal()
|
D | AvatarRequest.java | 174 final float xOffset = halfWidth - textBound.centerX(); in renderLetterTile() local 176 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderLetterTile()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 451 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 455 mOffsetX = xOffset; in onOffsetsChanged()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 839 int xOffset = (originalWidth - newWidth)/2; in cropJpegDataToAspectRatio() local 842 if (xOffset < 0 || yOffset < 0) { in cropJpegDataToAspectRatio() 846 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight); in cropJpegDataToAspectRatio()
|