/external/skia/gm/ |
arcofzorro.cpp | 41 int xOffset = 0, yOffset = 0; 50 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); 56 xOffset += 10; 57 if (xOffset >= 700) { 62 xOffset -= 10; 64 if (xOffset < 50) { 69 xOffset += 10;
|
textblobtransforms.cpp | 38 SkScalar xOffset = bounds.width() + 5; 41 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset, 0); 49 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset, -yOffset - 10); 77 SkScalar xOffset = SkScalarCeilToScalar(bounds.width()); 80 canvas->translate(xOffset, 2 * yOffset); 82 canvas->translate(-xOffset, 0); 84 canvas->translate(2 * xOffset, 0); 86 canvas->translate(-xOffset, -yOffset); 92 canvas->translate(4 * xOffset, -yOffset); 102 canvas->translate(-xOffset, yOffset) [all...] |
mixedtextblobs.cpp | 72 SkScalar xOffset = boundsHalfWidth; 81 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.25f, 91 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.3f,
|
tablecolorfilter.cpp | 146 SkScalar xOffset = SkScalar(bm.width() * 9 / 8); 155 // each draw being at xOffset of the previous one 157 x += xOffset; 170 // each draw being at xOffset of the previous one 179 x += xOffset;
|
/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/icu/icu4c/source/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,
|
/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 | 35 public int xOffset = -1; 83 int left = x - xOffset; 107 * @param xOffset Horizontal offset with the object being dragged where the original 137 * @param xOffset Horizontal offset with the object being dragged where the
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FlingAnimation.java | 47 float xOffset = ((scale - 1f) * d.dragView.getMeasuredWidth()) / 2f; 49 mFrom.left += xOffset; 50 mFrom.right -= xOffset;
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
CardView.java | 137 PropertyValuesHolder xOffset = PropertyValuesHolder.ofFloat(View.TRANSLATION_X, 143 xOffset, yOffset);
|
/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);
|
/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/ |
SkReadBuffer.cpp | 224 const int32_t xOffset = this->readInt(); 229 if (0 != xOffset || 0 != yOffset) { 234 fDecodedBitmapIndex, width, height, length, xOffset, 239 SkASSERT(0 == xOffset && 0 == yOffset); 253 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height);
|
/external/skia/src/sfnt/ |
SkOTTable_EBDT.h | 89 SK_OT_CHAR xOffset; // Position of component left
|
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 143 int xOffset = base + X_OFFSET; 145 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]);
|
/frameworks/base/telephony/java/android/telephony/ |
SubscriptionInfo.java | 226 final float xOffset = (width / 2.f) - textBound.centerX(); 228 canvas.drawText(index, xOffset, yOffset, paint);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
MeshTest.java | 115 float xOffset = (normalizedX - 0.5f) * width; 117 tmb.addVertex(xOffset, yOffset);
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 141 const float xOffset = -10; 168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 210 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
AvatarRequest.java | 174 final float xOffset = halfWidth - textBound.centerX(); 176 canvas.drawText(firstCharString, xOffset, yOffset, paint);
|
SimSelectorAvatarRequest.java | 105 final float xOffset = halfWidth - textBound.centerX(); 107 canvas.drawText(firstCharString, xOffset, yOffset, paint);
|
/external/freetype/src/cff/ |
cf2hints.h | 218 CF2_Fixed xOffset; /* character space offsets */
|
/external/pdfium/third_party/freetype/src/cff/ |
cf2hints.h | 218 CF2_Fixed xOffset; /* character space offsets */
|
/frameworks/native/include/input/ |
InputTransport.h | 93 float xOffset; 241 float xOffset,
|