/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/libs/hwui/tests/common/scenes/ |
D | RectGridAnimation.cpp | 41 for (int xOffset = 0; xOffset < 200; xOffset+=2) { in createContent() local 43 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); in createContent()
|
/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/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 259 xOffset -= mAnchorView.getWidth(); in showPopup() 262 popup.setHorizontalOffset(xOffset); in showPopup() 271 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 272 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuPopupHelper.java | 262 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 273 xOffset -= mAnchorView.getWidth(); in showPopup() 276 popup.setHorizontalOffset(xOffset); in showPopup() 285 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 286 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/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/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() 224 float xOffset, in initialize() argument 240 mXOffset = xOffset; in initialize() 339 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() argument 340 mXOffset += xOffset; in offsetLocation()
|
D | InputTransport.cpp | 295 float xOffset, in publishMotionEvent() argument 312 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); in publishMotionEvent() 337 msg.body.motion.xOffset = xOffset; in publishMotionEvent() 932 msg->body.motion.xOffset, in initializeMotionEvent()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 184 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged() 190 mOffsetX = xOffset; 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/base/core/java/android/animation/ |
D | PathKeyframes.java | 144 int xOffset = base + X_OFFSET; in pointForIndex() local 146 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]); in pointForIndex()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 141 const float xOffset = -10; in PublishAndConsumeMotionEvent() local 168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, in PublishAndConsumeMotionEvent() 210 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset, in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 60 CHECK_OFFSET(InputMessage::Body::Motion, xOffset, 56); in TestInputMessageAlignment()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 195 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative() argument 198 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.x) - xOffset); in pointerCoordsToNative() 259 float xOffset, float yOffset, jobject outPointerCoordsObj) { in pointerCoordsFromNative() argument 261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); 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/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() 268 mXOffset = xOffset; in onOffsetsChanged()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 227 final float xOffset = (width / 2.f) - textBound.centerX(); in createIconBitmap() local 229 canvas.drawText(index, xOffset, yOffset, paint); in createIconBitmap()
|
/frameworks/native/include/input/ |
D | Input.h | 241 void applyOffset(float xOffset, float yOffset); 565 float xOffset, 581 void offsetLocation(float xOffset, float yOffset);
|
D | InputTransport.h | 93 float xOffset; member 241 float xOffset,
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1527 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition() argument 1537 outParams.x = drawingLocation[0] + xOffset; in findDropDownPosition() 1571 final boolean fitsHorizontal = tryFitHorizontal(outParams, xOffset, width, in findDropDownPosition() 1579 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, in findDropDownPosition() 1584 outParams.x = drawingLocation[0] + xOffset; in findDropDownPosition() 1596 tryFitHorizontal(outParams, xOffset, width, anchorWidth, drawingLocation[0], in findDropDownPosition() 1666 private boolean tryFitHorizontal(@NonNull LayoutParams outParams, int xOffset, int width, in tryFitHorizontal() argument
|
D | Toast.java | 208 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument 210 mTN.mX = xOffset; in setGravity()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 270 public boolean onContentDrawn(int xOffset, int yOffset, int xSize, int ySize) { in onContentDrawn() argument 276 mLastXOffset = xOffset; in onContentDrawn()
|
/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/service/wallpaper/ |
D | WallpaperService.java | 470 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 939 float xOffset; in doOffsetsChanged() local 945 xOffset = mPendingXOffset; in doOffsetsChanged() 957 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 959 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() 962 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 158 float xOffset, yOffset; member 533 float xOffset, float yOffset); 546 float xOffset; member 556 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
|