/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/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 | 179 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 180 mWorldState.yRotation = (xOffset * 4) * 180; in setOffset()
|
D | RenderScriptScene.java | 86 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
D | phasebeam.rs | 47 float xOffset = 0.5; 112 newOffset = xOffset*2; 118 vert->offsetX = -xOffset/2.0;
|
D | PhaseBeamRS.java | 246 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument 247 mScript.set_xOffset(xOffset); in setOffset()
|
D | PhaseBeamWallpaper.java | 109 public void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, in onOffsetsChanged() argument
|
/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/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 | RenderScriptScene.java | 89 …public void setOffset(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPi… in setOffset() argument
|
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/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/apps/Launcher2/src/com/android/launcher2/ |
D | ButtonDropTarget.java | 132 int xOffset = (int) -(itemWidth - width) / 2; in getIconRect() local 134 to.offset(xOffset, yOffset); in getIconRect()
|
D | DropTarget.java | 37 public int xOffset = -1; field in DropTarget.DragObject
|
/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/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/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/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/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()
|