/frameworks/base/core/java/android/view/ |
MagnificationSpec.java | 34 public float offsetX; 41 public void initialize(float scale, float offsetX, float offsetY) { 46 this.offsetX = offsetX; 51 return scale == 1.0f && offsetX == 0 && offsetY == 0; 57 info.offsetX = other.offsetX; 74 offsetX = 0.0f; 86 parcel.writeFloat(offsetX); 96 builder.append(",offsetX:") [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
WebDOMMouseEvent.h | 47 BLINK_EXPORT int offsetX();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDOMMouseEvent.cpp | 60 int WebDOMMouseEvent::offsetX() 62 return unwrap<MouseEvent>()->offsetX();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
SecondLevelIndicatorControlBar.java | 182 int offsetX = padding; 185 getChildAt(i).layout(offsetX, 0, offsetX + iconWidth, height); 186 offsetX += increment; 190 offsetX = width - iconWidth - 2 * padding; 191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), 194 offsetX = width - iconWidth - padding; 196 mCloseIcon.layout(offsetX, 0, (offsetX + iconWidth), height) [all...] |
/external/replicaisland/tools/ |
ExtractPoints.js | 221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX; 227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY); 245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1, 247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1, 249 tileCenterArray[2] = new Array(offsetX + tile.centerX + 1, 251 tileCenterArray[3] = new Array(offsetX + tile.centerX + 1, 253 tileCenterArray[4] = new Array(offsetX + normalX - 1, 255 tileCenterArray[5] = new Array(offsetX + normalX + 1, 257 tileCenterArray[6] = new Array(offsetX + tile.centerX, 264 centerArray[0] = new Array(offsetX + edge.centerX - 1, [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
AABoxCollisionVolume.java | 31 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height) { 33 mBottomLeft = new Vector2(offsetX, offsetY); 37 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height, 40 mBottomLeft = new Vector2(offsetX, offsetY);
|
MovementComponent.java | 44 float offsetX = sInterpolator.interpolate(timeDelta); 45 float newX = object.getPosition().x + offsetX;
|
LaunchProjectileComponent.java | 134 float offsetX = mOffsetX; 138 offsetX = parentObject.width - mOffsetX; 146 final float x = parentObject.getPosition().x + offsetX; 195 public final void setOffsetX(float offsetX) { 196 mOffsetX = offsetX;
|
TiledVertexGrid.java | 89 final float offsetX = tileX * tileWidth; 110 final float[] p0 = { offsetX, offsetY, 0.0f }; 111 final float[] p1 = { offsetX + tileWidth, offsetY, 0.0f }; 112 final float[] p2 = { offsetX, offsetY + tileHeight, 0.0f }; 113 final float[] p3 = { offsetX + tileWidth, offsetY + tileHeight, 0.0f };
|
LauncherComponent.java | 145 public void setLaunchEffect(GameObjectFactory.GameObjectType effectType, float offsetX, float offsetY) { 147 mLaunchEffectOffsetX = offsetX;
|
/external/skia/tests/ |
DrawTextTest.cpp | 80 for (float offsetX = 0.0f; offsetX < 1.0f; offsetX += (1.0f / 16.0f)) { 81 SkPoint point = SkPoint::Make(25.0f + offsetX,
|
/external/chromium_org/third_party/skia/src/core/ |
SkAntiRun.h | 36 * Insert into the buffer a run starting at (x-offsetX): 44 * Returns the offsetX value that should be passed on the next call, 46 * scanlines, then offsetX should be 0 when this is called. 49 U8CPU maxValue, int offsetX) { 53 SkASSERT(fRuns[offsetX] >= 0); 55 int16_t* runs = fRuns + offsetX; 56 uint8_t* alpha = fAlpha + offsetX; 58 x -= offsetX; 103 return SkToS32(lastAlpha - fAlpha); // new offsetX
|
/external/skia/src/core/ |
SkAntiRun.h | 36 * Insert into the buffer a run starting at (x-offsetX): 44 * Returns the offsetX value that should be passed on the next call, 46 * scanlines, then offsetX should be 0 when this is called. 49 U8CPU maxValue, int offsetX) { 53 SkASSERT(fRuns[offsetX] >= 0); 55 int16_t* runs = fRuns + offsetX; 56 uint8_t* alpha = fAlpha + offsetX; 58 x -= offsetX; 103 return SkToS32(lastAlpha - fAlpha); // new offsetX
|
/frameworks/av/media/libstagefright/yuv/ |
YUVCanvas.cpp | 67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) { 68 int32_t srcX = srcStartX + offsetX; 71 int32_t destX = destStartX + offsetX;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapTileProvider.java | 87 int offsetX = -x; 89 canvas.drawBitmap(mipmap, offsetX, offsetY, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 170 int offsetX = 0; 178 offsetX -= dragBounds.w; 180 offsetX -= dragBounds.w / 2; 191 int centerX = bounds.w / 2 + offsetX + x; 219 x1 = offsetX + x - 1; 223 x1 = bounds.w + offsetX + x - 1; 239 offsetX += x - bounds.x; 244 mRule.drawElement(gc, first, offsetX, offsetY); 247 int x1 = dragBounds.x + offsetX; 254 gc.drawRect(b.x + offsetX, b.y + offsetY [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 113 public int offsetX; 138 int x = BORDER_SIZE - offsetX; 210 tile.offsetX = x; 286 src.offset(t.offsetX, t.offsetY); 288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); 305 src.offset(t.offsetX, t.offsetY); 307 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); 328 src.offset(t.offsetX, t.offsetY); 331 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
ScreenMagnifier.java | 239 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale; 319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayoutChildren.java | 113 int offsetX = 0; 128 offsetX = (getMeasuredWidth() - maxRowWidth) / 2; 137 int childLeft = offsetX + lp.x;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewCellLayoutChildren.java | 114 int offsetX = 0; 129 offsetX = (getMeasuredWidth() - maxRowWidth) / 2; 138 int childLeft = offsetX + lp.x;
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
MouseRelatedEvent.h | 47 int offsetX();
|
MouseEvent.idl | 53 readonly attribute long offsetX;
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
filter.js | 148 * @param {number} offsetX Horizontal offset of dst relative to src. 151 filter.mapPixels = function(rMap, gMap, bMap, dst, src, offsetX, offsetY) { 160 if (offsetX < 0 || offsetX + dstWidth > srcWidth || 166 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4; 213 * @param {number} offsetX Horizontal offset of dst relative to src. 216 filter.convolve5x5 = function(weights, dst, src, offsetX, offsetY) { 233 if (offsetX < 0 || offsetX + dstWidth > srcWidth || 244 var startX = Math.max(0, margin - offsetX); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
loupe.js | 58 this._showFor(event.offsetX - 1, event.offsetY - 1); 63 var deltaX = Math.floor(event.offsetX/LOUPE_MAGNIFICATION_FACTOR);
|
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 299 float offsetX, offsetY, offsetZ;
303 offsetX = -0.5f * (splitMax.x + splitMin.x) * scaleX;
308 Matrix4f cropMatrix = new Matrix4f(scaleX, 0f, 0f, offsetX,
460 float offsetX, offsetY, offsetZ;
465 offsetX = -0.5f * (cropMax.x + cropMin.x) * scaleX;
473 Matrix4f cropMatrix = new Matrix4f(scaleX, 0f, 0f, offsetX,
|