/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() 118 yOffset += 100; in onDraw()
|
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 | 60 int xOffset = 0, yOffset = 0; 64 yOffset = textOffsets[fillI * 2 + 1]; 68 yPos = top + yOffset;
|
D | RsBenchRS.java | 244 final float yOffset = (normalizedY - 0.5f) * height; in getMbyNMesh() local 249 tmb.addVertex(xOffset, yOffset); in getMbyNMesh() 274 float yOffset = height/2; in getSingleMesh() local 276 tmb.addVertex(-1.0f * xOffset, -1.0f * yOffset); in getSingleMesh() 278 tmb.addVertex(xOffset, -1.0f * yOffset); in getSingleMesh() 280 tmb.addVertex(xOffset, yOffset); in getSingleMesh() 282 tmb.addVertex(-1.0f * xOffset, yOffset); in getSingleMesh()
|
D | rsbench.rs | 460 int yOffset = listItemHeight; 468 if (yOffset - listItemHeight > gRenderSurfaceH) { 471 rsgDrawRect(0, yOffset - 1, gRenderSurfaceW, yOffset, 0); 472 rsgDrawText(gListViewText[i].item, 20, yOffset - 10); 473 yOffset += listItemHeight;
|
/frameworks/base/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/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 226 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 230 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 236 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 238 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 241 mYOffset = yOffset; in onOffsetsChanged()
|
/frameworks/base/include/ui/ |
D | InputTransport.h | 143 float yOffset; member 227 float yOffset,
|
D | Input.h | 531 float yOffset, 546 void offsetLocation(float xOffset, float yOffset);
|
/frameworks/base/libs/ui/ |
D | InputTransport.cpp | 373 float yOffset, in publishMotionEvent() argument 389 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent() 409 mSharedMessage->motion.yOffset = yOffset; in publishMotionEvent() 705 mSharedMessage->motion.yOffset, in populateMotionEvent()
|
D | Input.cpp | 398 float yOffset, in initialize() argument 413 mYOffset = yOffset; in initialize() 510 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() argument 512 mYOffset += yOffset; in offsetLocation()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 192 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative() argument 197 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y) - yOffset); in pointerCoordsToNative() 257 float xOffset, float yOffset, jobject outPointerCoordsObj) { in pointerCoordsFromNative() argument 261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); in pointerCoordsFromNative() 341 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, in android_view_MotionEvent_nativeInitialize() argument 372 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); in android_view_MotionEvent_nativeInitialize() 377 xOffset, yOffset, xPrecision, yPrecision, in android_view_MotionEvent_nativeInitialize()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 402 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 783 float yOffset; in doOffsetsChanged() local 789 yOffset = mPendingYOffset; in doOffsetsChanged() 800 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 804 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; in doOffsetsChanged() 805 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|
/frameworks/base/libs/ui/tests/ |
D | InputPublisherAndConsumer_test.cpp | 161 const float yOffset = -20; in PublishAndConsumeMotionEvent() local 195 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, in PublishAndConsumeMotionEvent() 271 EXPECT_EQ(samplePointerCoords[offset].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent() 301 EXPECT_EQ(samplePointerCoords[offset].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset, in PublishAndConsumeMotionEvent()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 193 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument 196 mTN.mY = yOffset; in setGravity()
|
D | PopupWindow.java | 1196 public int getMaxAvailableHeight(View anchor, int yOffset) { in getMaxAvailableHeight() argument 1197 return getMaxAvailableHeight(anchor, yOffset, false); in getMaxAvailableHeight() 1217 public int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) { in getMaxAvailableHeight() argument 1229 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; in getMaxAvailableHeight() 1230 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset; in getMaxAvailableHeight()
|
/frameworks/base/include/media/stagefright/ |
D | YUVImage.h | 150 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const;
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 621 public void setWallpaperOffsets(IBinder windowToken, float xOffset, float yOffset) { in setWallpaperOffsets() argument 625 windowToken, xOffset, yOffset, mWallpaperXStep, mWallpaperYStep); in setWallpaperOffsets()
|
/frameworks/base/services/input/ |
D | InputDispatcher.cpp | 1755 target.yOffset = - windowInfo->frameTop; in addWindowTargetLocked() 1768 target.yOffset = 0; in addMonitoringTargetsLocked() 1882 inputTarget->xOffset, inputTarget->yOffset, in prepareDispatchCycleLocked() 2055 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset, in enqueueDispatchEntryLocked() 2195 float xOffset, yOffset, scaleFactor; in startDispatchCycleLocked() local 2200 yOffset = dispatchEntry->yOffset * scaleFactor; in startDispatchCycleLocked() 2210 yOffset = 0.0f; in startDispatchCycleLocked() 2227 xOffset, yOffset, in startDispatchCycleLocked() 2505 target.yOffset = -windowInfo->frameTop; in synthesizeCancelationEventsForConnectionLocked() 2509 target.yOffset = 0; in synthesizeCancelationEventsForConnectionLocked() [all …]
|
D | InputDispatcher.h | 151 float xOffset, yOffset; member 552 float yOffset; member 576 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
|
/frameworks/base/core/jni/android/graphics/ |
D | HarfbuzzSkia.cpp | 181 metrics->yOffset = 0; in getGlyphMetrics()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 585 uint32_t yOffset = cl->mCurrentRow; in checkTextureUpdate() local 588 void* textureData = mTextTexture + yOffset*width; in checkTextureUpdate() 590 glTexSubImage2D(GL_TEXTURE_2D, 0, xOffset, yOffset, width, height, in checkTextureUpdate()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1324 float xOffset, float yOffset, float xPrecision, float yPrecision, in nativeInitialize() argument
|