/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | RectGridAnimation.cpp | 41 for (int xOffset = 0; xOffset < 200; xOffset+=2) { 43 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { argument 104 float xOffset = 0; 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 109 xOffset += 5; 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 113 xOffset += 15; 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 117 xOffset += 30; 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p);
|
H A D | Lines2Activity.java | 75 private void drawLines(Canvas canvas, Paint p, float xOffset, float yOffset) { argument 76 canvas.drawLine(10 + xOffset, yOffset, 10 + xOffset, 40 + yOffset, p); 77 canvas.drawLine(30 + xOffset, yOffset, 40 + xOffset, 40 + yOffset, p); 78 canvas.drawLine(40 + xOffset, yOffset, 75 + xOffset, 35 + yOffset, p); 79 canvas.drawLine(50 + xOffset, 5+ yOffset, 100 + xOffset, 15 + yOffset, p); 80 canvas.drawLine(60 + xOffset, yOffse [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 248 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { argument 259 xOffset -= mAnchorView.getWidth(); 262 popup.setHorizontalOffset(xOffset); 271 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, 272 xOffset + halfSize, yOffset + halfSize);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | MenuPopupHelper.java | 262 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { argument 273 xOffset -= mAnchorView.getWidth(); 276 popup.setHorizontalOffset(xOffset); 285 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, 286 xOffset + halfSize, yOffset + halfSize);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 366 final int xOffset = mLeftHandleX + mRotaryOffsetX; 371 xOffset); 372 final int x = isHoriz() ? xOffset : drawableY + bgTop; 373 final int y = isHoriz() ? drawableY + bgTop : height - xOffset; 384 final int xOffset = isHoriz() ? 391 xOffset); 394 drawCentered(mDimpleDim, canvas, xOffset, drawableY + bgTop); 397 drawCentered(mDimpleDim, canvas, drawableY + bgTop, height - xOffset); 403 final int xOffset = mRightHandleX + mRotaryOffsetX; 408 xOffset); [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | TouchCalibration.java | 56 * @param xOffset Constant offset to be applied to output x-axis value. 61 public TouchCalibration(float xScale, float xyMix, float xOffset, argument 65 mXOffset = xOffset;
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 144 int xOffset = base + X_OFFSET; 146 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]);
|
/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { argument 99 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset);
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 184 public void onOffsetsChanged(float xOffset, float yOffset, argument 186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); 190 mOffsetX = xOffset;
|
/frameworks/native/libs/input/ |
H A D | Input.cpp | 142 void PointerCoords::applyOffset(float xOffset, float yOffset) { argument 143 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); 224 float xOffset, 240 mXOffset = xOffset; 339 void MotionEvent::offsetLocation(float xOffset, float yOffset) { argument 340 mXOffset += xOffset; 215 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
|
H A D | InputTransport.cpp | 295 float xOffset, 307 "metaState=0x%x, buttonState=0x%x, xOffset=%f, yOffset=%f, " 312 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); 337 msg.body.motion.xOffset = xOffset; 932 msg->body.motion.xOffset, 285 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 141 const float xOffset = -10; local 168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 210 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset,
|
H A D | StructLayout_test.cpp | 60 CHECK_OFFSET(InputMessage::Body::Motion, xOffset, 56);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 170 * @param xOffset Specifies a texel offset in the x direction within the 177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionInfo.java | 227 final float xOffset = (width / 2.f) - textBound.centerX(); 229 canvas.drawText(index, xOffset, yOffset, paint);
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 195 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 198 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.x) - xOffset); 259 float xOffset, float yOffset, jobject outPointerCoordsObj) { 261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_X) + xOffset); 338 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, 369 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); 374 xOffset, yOffset, xPrecision, yPrecision, 194 pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj, float xOffset, float yOffset, PointerCoords* outRawPointerCoords) argument 258 pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, float xOffset, float yOffset, jobject outPointerCoordsObj) argument 334 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jlong nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument
|
/frameworks/native/include/input/ |
H A D | Input.h | 241 void applyOffset(float xOffset, float yOffset); 565 float xOffset, 581 void offsetLocation(float xOffset, float yOffset);
|
H A D | InputTransport.h | 93 float xOffset; member in struct:android::InputMessage::Body::Motion 241 float xOffset,
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 214 public void setGravity(int gravity, int xOffset, int yOffset) { argument 216 mTN.mX = xOffset;
|
H A D | PopupWindow.java | 1519 * @param xOffset absolute horizontal offset from the left of the anchor 1525 int xOffset, int yOffset, int width, int height, int gravity) { 1535 outParams.x = drawingLocation[0] + xOffset; 1569 final boolean fitsHorizontal = tryFitHorizontal(outParams, xOffset, width, 1577 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, 1582 outParams.x = drawingLocation[0] + xOffset; 1594 tryFitHorizontal(outParams, xOffset, width, anchorWidth, drawingLocation[0], 1664 private boolean tryFitHorizontal(@NonNull LayoutParams outParams, int xOffset, int width, argument 1524 findDropDownPosition(View anchor, WindowManager.LayoutParams outParams, int xOffset, int yOffset, int width, int height, int gravity) argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 264 * @param xOffset The x offset where the content is drawn to. 270 public boolean onContentDrawn(int xOffset, int yOffset, int xSize, int ySize) { argument 276 mLastXOffset = xOffset;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 255 public void onOffsetsChanged(float xOffset, float yOffset, argument 259 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset 264 if (mXOffset != xOffset || mYOffset != yOffset) { 266 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); 268 mXOffset = xOffset; 385 // Adjust the image for xOffset/yOffset values. If window manager is handling offsets,
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 470 public void onOffsetsChanged(float xOffset, float yOffset, argument 939 float xOffset; 945 xOffset = mPendingXOffset; 957 + ": " + xOffset + "," + yOffset); 959 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; 962 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels);
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 1580 target.xOffset = - windowInfo->frameLeft; 1593 target.xOffset = 0; 1805 "xOffset=%f, yOffset=%f, scaleFactor=%f, " 1808 inputTarget->xOffset, inputTarget->yOffset, 1885 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset, 1999 float xOffset, yOffset, scaleFactor; local 2003 xOffset = dispatchEntry->xOffset * scaleFactor; 2013 xOffset = 0.0f; 2032 xOffset, yOffse 3966 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument 4012 DispatchEntry(EventEntry* eventEntry, int32_t targetFlags, float xOffset, float yOffset, float scaleFactor) argument [all...] |