Home
last modified time | relevance | path

Searched refs:xOffset (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java152 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/
DFallRS.java91 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/
DRenderScriptWallpaper.java98 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument
100 mRenderer.setOffset(xOffset, yOffset, xPixels, yPixels); in onOffsetsChanged()
DGenericWaveRS.java179 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
180 mWorldState.yRotation = (xOffset * 4) * 180; in setOffset()
DRenderScriptScene.java86 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
Dphasebeam.rs47 float xOffset = 0.5;
112 newOffset = xOffset*2;
118 vert->offsetX = -xOffset/2.0;
DPhaseBeamRS.java246 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
247 mScript.set_xOffset(xOffset); in setOffset()
DPhaseBeamWallpaper.java109 public void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, in onOffsetsChanged() argument
/packages/wallpapers/Basic/src/com/android/wallpaper/
DRenderScriptWallpaper.java90 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument
92 if (mRenderer != null) mRenderer.setOffset(xOffset, yOffset, xPixels, yPixels); in onOffsetsChanged()
DRenderScriptScene.java85 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralWallpaper.java121 public void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, in onOffsetsChanged() argument
123 mWallpaperRS.setOffset(xOffset, yOffset, xPixelOffset, yPixelOffset); in onOffsetsChanged()
DHoloSpiralRS.java78 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/
DRenderScriptWallpaper.java94 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument
96 mRenderer.setOffset(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged()
DRenderScriptScene.java89 …public void setOffset(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPi… in setOffset() argument
DMagicSmokeRS.java236 …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/
DNexusRS.java67 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/
DButtonDropTarget.java132 int xOffset = (int) -(itemWidth - width) / 2; in getIconRect() local
134 to.offset(xOffset, yOffset); in getIconRect()
DDropTarget.java37 public int xOffset = -1; field in DropTarget.DragObject
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/
DVisualization3RS.java51 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/
DMonthWeekEventsView.java578 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/
DVisualization1.java142 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument
144 mOffset = xOffset; in onOffsetsChanged()
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
Dgrass.rs324 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);
DGrassRS.java171 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/
DGalaxyRS.java120 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/
DVisualization5RS.java147 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { in setOffset() argument
149 mWorldState.mRotate = (xOffset - 0.5f) * 90; in setOffset()

12