/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawPoints() argument 104 float xOffset = 0; in onDraw() local 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 109 xOffset += 5; in onDraw() 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 113 xOffset += 15; in onDraw() 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 117 xOffset += 30; in onDraw() 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw()
|
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() 83 copyPoints[i] = basePoints[i] + xOffset; in drawLines()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RotarySelector.java | 366 final int xOffset = mLeftHandleX + mRotaryOffsetX; in onDraw() local 371 xOffset); in onDraw() 372 final int x = isHoriz() ? xOffset : drawableY + bgTop; in onDraw() 373 final int y = isHoriz() ? drawableY + bgTop : height - xOffset; in onDraw() 384 final int xOffset = isHoriz() ? in onDraw() local 391 xOffset); in onDraw() 394 drawCentered(mDimpleDim, canvas, xOffset, drawableY + bgTop); in onDraw() 397 drawCentered(mDimpleDim, canvas, drawableY + bgTop, height - xOffset); in onDraw() 403 final int xOffset = mRightHandleX + mRotaryOffsetX; in onDraw() local 408 xOffset); in onDraw() [all …]
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | text_test.rs | 65 int xOffset = 0, yOffset = 0; 68 xOffset = textOffsets[fillI * 2]; 75 rsgDrawText(sampleText, xOffset + textWidth * h, yPos);
|
D | UiTest.java | 160 float xOffset = width/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 | MeshTest.java | 115 float xOffset = (normalizedX - 0.5f) * width; in getMbyNMesh() local 117 tmb.addVertex(xOffset, yOffset); in getMbyNMesh()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardGlowStripView.java | 84 int xOffset = getPaddingLeft(); in dispatchDraw() local 98 canvas.translate(xOffset, mDotStripTop); in dispatchDraw() 102 xOffset += mDotSize + mHorizontalDotGap; in dispatchDraw()
|
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 61 public TouchCalibration(float xScale, float xyMix, float xOffset, in TouchCalibration() argument 65 mXOffset = xOffset; in TouchCalibration()
|
/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() 182 mOffsetX = xOffset; in onOffsetsChanged()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 142 void PointerCoords::applyOffset(float xOffset, float yOffset) { in applyOffset() argument 143 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 223 float xOffset, in initialize() argument 238 mXOffset = xOffset; in initialize() 336 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() argument 337 mXOffset += xOffset; in offsetLocation()
|
D | InputTransport.cpp | 290 float xOffset, in publishMotionEvent() argument 307 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent() 331 msg.body.motion.xOffset = xOffset; in publishMotionEvent() 914 msg->body.motion.xOffset, in initializeMotionEvent()
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 93 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto() argument 100 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset); in copyInto()
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 143 int xOffset = base + X_OFFSET; in pointForIndex() local 145 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]); in pointForIndex()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 140 const float xOffset = -10; in PublishAndConsumeMotionEvent() local 167 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, in PublishAndConsumeMotionEvent() 209 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset, in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 59 CHECK_OFFSET(InputMessage::Body::Motion, xOffset, 56); in TestInputMessageAlignment()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 193 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative() argument 196 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.x) - xOffset); in pointerCoordsToNative() 257 float xOffset, float yOffset, jobject outPointerCoordsObj) { in pointerCoordsFromNative() argument 259 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); in pointerCoordsFromNative() 337 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, in android_view_MotionEvent_nativeInitialize() argument 368 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); in android_view_MotionEvent_nativeInitialize() 373 xOffset, yOffset, xPrecision, yPrecision, in android_view_MotionEvent_nativeInitialize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 277 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 281 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 286 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 288 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 290 mXOffset = xOffset; in onOffsetsChanged()
|
/frameworks/native/include/input/ |
D | Input.h | 210 void applyOffset(float xOffset, float yOffset); 527 float xOffset, 543 void offsetLocation(float xOffset, float yOffset);
|
D | InputTransport.h | 92 float xOffset; member 239 float xOffset,
|
/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/base/core/java/android/widget/ |
D | Toast.java | 210 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument 212 mTN.mX = xOffset; in setGravity()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 473 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 949 float xOffset; in doOffsetsChanged() local 955 xOffset = mPendingXOffset; in doOffsetsChanged() 967 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 969 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() 972 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 1775 long timestamp, int xOffset, int yOffset, Rect cropRect) { in MediaImage() argument 1782 cropRect.offset(-xOffset, -yOffset); in MediaImage() 1787 mXOffset = xOffset; in MediaImage() 1827 + (xOffset / horiz) * colInc + (yOffset / vert) * rowInc); in MediaImage()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 152 float xOffset, yOffset; member 526 float xOffset, float yOffset); 539 float xOffset; member 549 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
|
D | InputDispatcher.cpp | 1584 target.xOffset = - windowInfo->frameLeft; in addWindowTargetLocked() 1597 target.xOffset = 0; in addMonitoringTargetsLocked() 1791 inputTarget->xOffset, inputTarget->yOffset, in prepareDispatchCycleLocked() 1868 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset, in enqueueDispatchEntryLocked() 1979 float xOffset, yOffset, scaleFactor; in startDispatchCycleLocked() local 1983 xOffset = dispatchEntry->xOffset * scaleFactor; in startDispatchCycleLocked() 1993 xOffset = 0.0f; in startDispatchCycleLocked() 2011 xOffset, yOffset, in startDispatchCycleLocked() 2233 target.xOffset = -windowInfo->frameLeft; in synthesizeCancelationEventsForConnectionLocked() 2237 target.xOffset = 0; in synthesizeCancelationEventsForConnectionLocked() [all …]
|