/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | Lines2Activity.java | 75 private void drawLines(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawLines() argument 76 canvas.drawLine(10 + xOffset, yOffset, 10 + xOffset, 40 + yOffset, p); in drawLines() 77 canvas.drawLine(30 + xOffset, yOffset, 40 + xOffset, 40 + yOffset, p); in drawLines() 78 canvas.drawLine(40 + xOffset, yOffset, 75 + xOffset, 35 + yOffset, p); in drawLines() 79 canvas.drawLine(50 + xOffset, 5+ yOffset, 100 + xOffset, 15 + yOffset, p); in drawLines() 80 canvas.drawLine(60 + xOffset, yOffset, 110 + xOffset, 2 + yOffset, p); in drawLines() 81 canvas.drawLine(60 + xOffset, 40 + yOffset, 110 + xOffset, 40 + yOffset, p); in drawLines() 84 copyPoints[i+1] = basePoints[i+1] + yOffset; in drawLines() 102 float yOffset = 10; in onDraw() local 105 drawLines(canvas, p, mOffset, yOffset); in onDraw() [all …]
|
D | ColoredRectsActivity.java | 76 float yOffset = 10; in onDraw() local 80 canvas.translate(mOffset, yOffset); in onDraw() 83 canvas.translate(0, -yOffset); in onDraw() 85 canvas.translate(60, yOffset/2); in onDraw() 91 yOffset += 100; in onDraw() 95 canvas.translate(mOffset + 10, yOffset); in onDraw() 100 canvas.translate(mOffset + 70, yOffset); in onDraw() 105 canvas.translate(mOffset + 140, yOffset); in onDraw() 111 canvas.translate(mOffset + 210, yOffset); in onDraw() 117 canvas.translate(mOffset + 280, yOffset); in onDraw() [all …]
|
D | PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawPoints() argument 102 float yOffset = 0; in onDraw() local 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 123 yOffset += 30; in onDraw()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | RectGridAnimation.cpp | 42 for (int yOffset = 0; yOffset < 200; yOffset+=2) { in createContent() local 43 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); in createContent()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuPopupHelper.java | 258 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 273 popup.setVerticalOffset(yOffset); in showPopup() 281 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 282 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 248 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 263 popup.setVerticalOffset(yOffset); in showPopup() 271 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 272 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1527 int xOffset, int yOffset, int width, int height, int gravity) { in findDropDownPosition() argument 1531 yOffset -= anchorHeight; in findDropDownPosition() 1538 outParams.y = drawingLocation[1] + anchorHeight + yOffset; in findDropDownPosition() 1566 final boolean fitsVertical = tryFitVertical(outParams, yOffset, height, in findDropDownPosition() 1580 scrollY + height + anchorHeight + yOffset); in findDropDownPosition() 1585 outParams.y = drawingLocation[1] + anchorHeight + yOffset; in findDropDownPosition() 1594 tryFitVertical(outParams, yOffset, height, anchorHeight, drawingLocation[1], in findDropDownPosition() 1604 private boolean tryFitVertical(@NonNull LayoutParams outParams, int yOffset, int height, in tryFitVertical() argument 1618 yOffset += anchorHeight; in tryFitVertical() 1620 outParams.y = drawingLocationY - height + yOffset; in tryFitVertical() [all …]
|
D | Toast.java | 212 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument 215 mTN.mY = yOffset; in setGravity()
|
/frameworks/av/media/libstagefright/yuv/ |
D | YUVImage.cpp | 88 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const { in getOffsets() argument 89 *yOffset = y*mWidth + x; in getOffsets() 146 int32_t yOffset; in getYUVAddresses() local 149 if (!getOffsets(x, y, &yOffset, &uOffset, &vOffset)) return false; in getYUVAddresses() 151 *yAddr = getYAddress(yOffset); in getYUVAddresses()
|
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 62 float yxMix, float yScale, float yOffset) { in TouchCalibration() argument 68 mYOffset = yOffset; in TouchCalibration()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 142 void PointerCoords::applyOffset(float xOffset, float yOffset) { in applyOffset() argument 144 setAxisValue(AMOTION_EVENT_AXIS_Y, getY() + yOffset); in applyOffset() 225 float yOffset, in initialize() argument 241 mYOffset = yOffset; in initialize() 339 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() argument 341 mYOffset += yOffset; in offsetLocation()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 176 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 178 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged() 183 mOffsetY = yOffset; in onOffsetsChanged()
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawerArrowDrawable.java | 384 float yOffset = (remainingSpace / 4) * 2; // making sure it is a multiple of 2. in draw() local 385 yOffset += barThickness * 1.5 + mBarGap; in draw() 387 canvas.translate(bounds.centerX(), yOffset); in draw() local
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto() argument 99 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset); in copyInto()
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 145 int yOffset = base + Y_OFFSET; in pointForIndex() local 146 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]); in pointForIndex()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 195 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative() argument 200 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y) - yOffset); in pointerCoordsToNative() 259 float xOffset, float yOffset, jobject outPointerCoordsObj) { in pointerCoordsFromNative() argument 263 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); in pointerCoordsFromNative() 338 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, in android_view_MotionEvent_nativeInitialize() argument 369 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); in android_view_MotionEvent_nativeInitialize() 374 xOffset, yOffset, xPrecision, yPrecision, in android_view_MotionEvent_nativeInitialize()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 142 const float yOffset = -20; in PublishAndConsumeMotionEvent() local 168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, in PublishAndConsumeMotionEvent() 212 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 61 CHECK_OFFSET(InputMessage::Body::Motion, yOffset, 60); in TestInputMessageAlignment()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 255 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 259 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 264 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 266 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 269 mYOffset = yOffset; in onOffsetsChanged()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 237 final float yOffset = (height / 2.f) - textBound.centerY(); in createIconBitmap() local 238 canvas.drawText(index, xOffset, yOffset, paint); in createIconBitmap()
|
/frameworks/native/include/input/ |
D | Input.h | 241 void applyOffset(float xOffset, float yOffset); 566 float yOffset, 581 void offsetLocation(float xOffset, float yOffset);
|
D | InputTransport.h | 94 float yOffset; member 242 float yOffset,
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 267 public boolean onContentDrawn(int xOffset, int yOffset, int xSize, int ySize) { in onContentDrawn() argument 274 mLastYOffset = yOffset; in onContentDrawn()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 469 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 939 float yOffset; in doOffsetsChanged() local 945 yOffset = mPendingYOffset; in doOffsetsChanged() 956 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 960 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; in doOffsetsChanged() 961 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
|