/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/wallpapers/Basic/src/com/android/wallpaper/fall/ |
D | FallRS.java | 91 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 92 mWorldState.xOffset = xOffset; in setOffset() 93 mScript.set_g_xOffset(mWorldState.xOffset); in setOffset() 102 … addDrop(x + (mWorldState.rotate == 0 ? (mWorldState.width * mWorldState.xOffset) : 0), y); in onCommand() 114 addDrop(x + (mWorldState.rotate == 0 ? (width * worldState.xOffset) : 0), y); in start() 212 public float xOffset; field in FallRS.WorldState
|
/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/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/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | grass.rs | 324 float brightness, float xOffset, float now) { 328 float xpos = bladeStruct->xPos + xOffset; 397 static void drawBlades(float brightness, float xOffset) { 406 int offset = drawBlade(bladeStruct, vtx, brightness, xOffset, now);
|
D | GrassRS.java | 171 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 172 mScript.set_gXOffset(xOffset); in setOffset()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
D | NexusRS.java | 67 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 68 mXOffset = xOffset; in setOffset() 69 mScript.set_gXOffset(xOffset); in setOffset()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
D | RenderScriptWallpaper.java | 98 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 100 mRenderer.setOffset(xOffset, yOffset, xPixels, yPixels); in onOffsetsChanged()
|
D | GenericWaveRS.java | 181 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 182 mWorldState.yRotation = (xOffset * 4) * 180; in setOffset()
|
/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()
|
/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/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()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
D | Visualization3RS.java | 51 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 52 mWorldState.yRotation = (xOffset * 4) * 360; 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 | 624 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null); in onDragOver() 643 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, in getDragViewVisualCenter() argument 656 int left = x - xOffset; in getDragViewVisualCenter()
|
D | DeleteDropTarget.java | 341 float xOffset = ((scale - 1f) * dragView.getMeasuredWidth()) / 2f; 344 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 | 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, 2739 int left = x - xOffset; 2767 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset,
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
D | Visualization1.java | 142 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 144 mOffset = xOffset; in onOffsetsChanged()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
D | GalaxyRS.java | 120 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 121 mScript.set_gXOffset(xOffset); in setOffset()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
D | Visualization5RS.java | 147 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 149 mWorldState.mRotate = (xOffset - 0.5f) * 90; in setOffset()
|
/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()
|