/external/skia/gm/ |
arcofzorro.cpp | 40 int xOffset = 0, yOffset = 0; 49 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); 55 xOffset += 10; 56 if (xOffset >= 700) { 61 xOffset -= 10; 63 if (xOffset < 50) { 68 xOffset += 10;
|
/external/proguard/src/proguard/gui/splash/ |
ShadowedSprite.java | 32 private final VariableInt xOffset; 44 * @param xOffset the variable x-offset of the shadow, relative to the sprite itself. 51 public ShadowedSprite(VariableInt xOffset, 57 this.xOffset = xOffset; 87 int xo = xOffset.getInt(time) - b/2;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { 104 float xOffset = 0; 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 109 xOffset += 5; 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 113 xOffset += 15; 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 117 xOffset += 30; 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/gif/ |
GIFImageReader.cpp | 630 unsigned height, width, xOffset, yOffset; 633 xOffset = GETINT16(currentComponent); 648 xOffset = 0; 676 currentFrame->setRect(xOffset, yOffset, width, height);
|
/external/icu4c/samples/layout/ |
GDIFontInstance.cpp | 87 float xOffset = ps[dyStart * 2]; 93 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 140 const float xOffset = -10; 167 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 209 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DropTarget.java | 37 public int xOffset = -1; 120 * @param xOffset Horizontal offset with the object being dragged where the original 151 * @param xOffset Horizontal offset with the object being dragged where the original 169 * @param xOffset Horizontal offset with the object being dragged where the
|
ButtonDropTarget.java | 151 final int xOffset = (int) -(viewWidth - width) / 2; 153 to.offset(xOffset, yOffset);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DropTarget.java | 37 public int xOffset = -1; 120 * @param xOffset Horizontal offset with the object being dragged where the original 150 * @param xOffset Horizontal offset with the object being dragged where the
|
ButtonDropTarget.java | 155 final int xOffset = (int) -(viewWidth - width) / 2; 157 to.offset(xOffset, yOffset);
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
CardView.java | 137 PropertyValuesHolder xOffset = PropertyValuesHolder.ofFloat(View.TRANSLATION_X, 143 xOffset, yOffset);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/webp/ |
WEBPImageDecoderTest.cpp | 164 int xOffset, yOffset, width, height; 179 EXPECT_EQ(frameParameters[i].xOffset, frame->originalFrameRect().x()); 204 int xOffset, yOffset, width, height; 220 EXPECT_EQ(frameParameters[i].xOffset, frame->originalFrameRect().x());
|
/external/chromium_org/third_party/skia/src/core/ |
SkOrderedReadBuffer.cpp | 210 const int32_t xOffset = fReader.readS32(); 215 if (0 != xOffset || 0 != yOffset) { 220 fDecodedBitmapIndex, width, height, length, xOffset, 225 SkASSERT(0 == xOffset && 0 == yOffset); 235 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height);
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapCharacter.java | 49 private int xOffset;
105 return xOffset;
109 xOffset = offset;
163 oc.write(xOffset, "xOffset", 0);
188 xOffset = ic.readInt("xOffset", 0);
|
LetterQuad.java | 283 float xOffset = bitmapChar.getXOffset() * sizeScale;
303 xAdvance -= xOffset * incrScale;
306 x0 = previous.getNextX() + xOffset * incrScale;
315 xAdvance -= xOffset * incrScale;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPopupWindow.java | 30 private int xOffset; 153 xOffset = xoff; 167 return xOffset;
|
/external/skia/src/core/ |
SkOrderedReadBuffer.cpp | 210 const int32_t xOffset = fReader.readS32(); 215 if (0 != xOffset || 0 != yOffset) { 220 fDecodedBitmapIndex, width, height, length, xOffset, 225 SkASSERT(0 == xOffset && 0 == yOffset); 235 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardGlowStripView.java | 84 int xOffset = getPaddingLeft(); 98 canvas.translate(xOffset, mDotStripTop); 102 xOffset += mDotSize + mHorizontalDotGap;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
MeshTest.java | 115 float xOffset = (normalizedX - 0.5f) * width; 117 tmb.addVertex(xOffset, yOffset);
|
UiTest.java | 160 float xOffset = width/2; 163 tmb.addVertex(-1.0f * xOffset, -1.0f * yOffset); 165 tmb.addVertex(xOffset, -1.0f * yOffset); 167 tmb.addVertex(xOffset, yOffset); 169 tmb.addVertex(-1.0f * xOffset, yOffset);
|
/external/freetype/src/cff/ |
cf2hints.h | 217 CF2_Fixed xOffset; /* character space offsets */
|
cf2hints.c | [all...] |
/frameworks/native/include/input/ |
InputTransport.h | 85 float xOffset; 231 float xOffset,
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
StateTransitionAnimation.java | 152 int xOffset = view.getWidth() / 2; 154 canvas.translate(xOffset, yOffset); 156 mOldScreenTexture.draw(canvas, -xOffset, -yOffset); 167 int xOffset = view.getWidth() / 2; 169 canvas.translate(xOffset, yOffset); 171 canvas.translate(-xOffset, -yOffset);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 91 public void setOffset(float xOffset, float yOffset, int xPixels, int yPixels) { 92 mWorldState.xOffset = xOffset; 93 mScript.set_g_xOffset(mWorldState.xOffset); 102 addDrop(x + (mWorldState.rotate == 0 ? (mWorldState.width * mWorldState.xOffset) : 0), y); 114 addDrop(x + (mWorldState.rotate == 0 ? (width * worldState.xOffset) : 0), y); 212 public float xOffset;
|