/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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | text_test.rs | 64 int xOffset = 0, yOffset = 0; 68 yOffset = textOffsets[fillI * 2 + 1]; 72 yPos = top + yOffset;
|
D | UiTest.java | 161 float yOffset = height/2; in getSingleMesh() local 163 tmb.addVertex(-1.0f * xOffset, -1.0f * yOffset); in getSingleMesh() 165 tmb.addVertex(xOffset, -1.0f * yOffset); in getSingleMesh() 167 tmb.addVertex(xOffset, yOffset); in getSingleMesh() 169 tmb.addVertex(-1.0f * xOffset, yOffset); in getSingleMesh()
|
D | ui_test.rs | 363 int yOffset = listItemHeight; 371 if (yOffset - listItemHeight > gRenderSurfaceH) { 374 rsgDrawRect(0, yOffset - 1, gRenderSurfaceW, yOffset, 0); 375 rsgDrawText(gListViewText[i].item, 20, yOffset - 10); 376 yOffset += listItemHeight;
|
D | MeshTest.java | 112 final float yOffset = (normalizedY - 0.5f) * height; in getMbyNMesh() local 117 tmb.addVertex(xOffset, yOffset); in getMbyNMesh()
|
/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/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/libs/hwui/tests/ |
D | main.cpp | 239 for (int yOffset = 0; yOffset < height; yOffset+=2) { in createCard() local 241 rects[index++] = yOffset; in createCard() 243 rects[index++] = yOffset + 1; in createCard()
|
/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/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/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/core/java/android/animation/ |
D | PathKeyframes.java | 144 int yOffset = base + Y_OFFSET; in pointForIndex() local 145 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]); in pointForIndex()
|
/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/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/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 227 final float yOffset = (height / 2.f) - textBound.centerY(); in createIconBitmap() local 228 canvas.drawText(index, xOffset, yOffset, paint); in createIconBitmap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 249 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 253 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 258 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 260 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 263 mYOffset = yOffset; in onOffsetsChanged()
|
/frameworks/native/include/input/ |
D | Input.h | 222 void applyOffset(float xOffset, float yOffset); 547 float yOffset, 562 void offsetLocation(float xOffset, float yOffset);
|
D | InputTransport.h | 94 float yOffset; member 242 float yOffset,
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 467 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 937 float yOffset; in doOffsetsChanged() local 943 yOffset = mPendingYOffset; in doOffsetsChanged() 954 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 958 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; in doOffsetsChanged() 959 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
|
/frameworks/av/include/media/stagefright/ |
D | YUVImage.h | 150 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const;
|