/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/av/include/media/ |
D | VolumeShaper.h | 373 Operation(Flag flags, int replaceId, S xOffset) in Operation() argument 376 , mXOffset(xOffset) { in Operation() 391 void setXOffset(S xOffset) { in setXOffset() argument 392 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset() 463 State(T volume, S xOffset) in State() argument 465 , mXOffset(xOffset) { in State() 483 void setXOffset(S xOffset) { in setXOffset() argument 484 mXOffset = xOffset; in setXOffset() 616 void setDelayXOffset(S xOffset) { in setDelayXOffset() argument 617 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuPopupHelper.java | 260 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 271 xOffset += mAnchorView.getWidth(); in showPopup() 274 popup.setHorizontalOffset(xOffset); in showPopup() 283 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 284 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 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/base/media/java/android/media/ |
D | VolumeShaper.java | 1174 final float xOffset = p.readFloat(); 1179 , xOffset); 1188 private Operation(@Flag int flags, int replaceId, float xOffset) { in Operation() argument 1191 mXOffset = xOffset; in Operation() 1301 public @NonNull Builder setXOffset(float xOffset) { in setXOffset() argument 1302 if (xOffset < -0.f) { in setXOffset() 1304 } else if (xOffset > 1.f) { in setXOffset() 1308 mXOffset = xOffset; in setXOffset() 1398 /* package */ State(float volume, float xOffset) { in State() argument 1400 mXOffset = xOffset; in State()
|
/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/media/jni/ |
D | android_media_VolumeShaper.h | 184 float xOffset = env->GetFloatField(joperation, fields.opXOffsetId); in convertJobjectToOperation() local 187 new VolumeShaper::Operation(flags, replaceId, xOffset); in convertJobjectToOperation() 206 float xOffset = env->GetFloatField(jstate, fields.stXOffsetId); in convertJobjectToState() local 208 sp<VolumeShaper::State> state = new VolumeShaper::State(volume, xOffset); in convertJobjectToState()
|
/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()
|
/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 | 140 int xOffset = base + X_OFFSET; in pointForIndex() local 142 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 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/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/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/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 244 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 248 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 253 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 255 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 257 mXOffset = xOffset; in onOffsetsChanged()
|
/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/com/android/internal/policy/ |
D | BackdropFrameRenderer.java | 271 public boolean onContentDrawn(int xOffset, int yOffset, int xSize, int ySize) { in onContentDrawn() argument 277 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 | 484 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 954 float xOffset; in doOffsetsChanged() local 960 xOffset = mPendingXOffset; in doOffsetsChanged() 972 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 974 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() 977 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1582 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition() argument 1600 outParams.x = drawingLocation[0] + xOffset; in findDropDownPosition() 1631 final boolean fitsHorizontal = tryFitHorizontal(outParams, xOffset, width, in findDropDownPosition() 1639 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, in findDropDownPosition() 1646 outParams.x = drawingLocation[0] + xOffset; in findDropDownPosition() 1658 tryFitHorizontal(outParams, xOffset, width, anchorWidth, drawingLocation[0], in findDropDownPosition() 1728 private boolean tryFitHorizontal(@NonNull LayoutParams outParams, int xOffset, int width, in tryFitHorizontal() argument
|
D | Toast.java | 219 public void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument 221 mTN.mX = xOffset; in setGravity()
|