/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 415 int xOffset = (width - portraitHeight) / 2 ; 416 outRect.set(xOffset, 0, xOffset + portraitHeight, portraitWidth); 418 int xOffset = (width - portraitWidth) / 2 ; 419 outRect.set(xOffset, 0, xOffset + portraitWidth, portraitHeight);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 357 final int xOffset = mLeftHandleX + mRotaryOffsetX; 362 xOffset); 363 final int x = isHoriz() ? xOffset : drawableY + bgTop; 364 final int y = isHoriz() ? drawableY + bgTop : height - xOffset; 375 final int xOffset = isHoriz() ? 382 xOffset); 385 drawCentered(mDimpleDim, canvas, xOffset, drawableY + bgTop); 388 drawCentered(mDimpleDim, canvas, drawableY + bgTop, height - xOffset); 394 final int xOffset = mRightHandleX + mRotaryOffsetX; 399 xOffset); [all...] |
/frameworks/base/libs/ui/ |
H A D | Input.cpp | 135 float xOffset, 149 mXOffset = xOffset; 168 void MotionEvent::offsetLocation(float xOffset, float yOffset) { argument 169 mXOffset += xOffset; 128 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument
|
H A D | InputTransport.cpp | 359 float xOffset, 370 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, xOffset=%f, yOffset=%f, " 374 deviceId, source, action, flags, edgeFlags, metaState, xOffset, yOffset, 393 mSharedMessage->motion.xOffset = xOffset; 679 mSharedMessage->motion.xOffset, 352 publishMotionEvent( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument
|
H A D | InputDispatcher.cpp | 1328 target.xOffset = - window->frameLeft; 1340 target.xOffset = 0; 1456 "xOffset=%f, yOffset=%f, " 1460 inputTarget->xOffset, inputTarget->yOffset, 1577 inputTarget->flags, inputTarget->xOffset, inputTarget->yOffset); 1696 float xOffset, yOffset; local 1698 xOffset = dispatchEntry->xOffset; 1701 xOffset = 0.0f; 1708 xOffset, yOffse 1962 int32_t xOffset, yOffset; local 3079 obtainDispatchEntry( EventEntry* eventEntry, int32_t targetFlags, float xOffset, float yOffset) argument [all...] |
/frameworks/base/core/java/com/android/internal/service/wallpaper/ |
H A D | ImageWallpaper.java | 115 public void onOffsetsChanged(float xOffset, float yOffset, argument 118 mXOffset = xOffset;
|
/frameworks/base/include/ui/ |
H A D | InputTransport.h | 141 float xOffset; member in struct:android::InputMessage::__anon148::__anon150 224 float xOffset,
|
H A D | Input.h | 377 float xOffset, 391 void offsetLocation(float xOffset, float yOffset);
|
H A D | InputDispatcher.h | 110 float xOffset, yOffset; member in struct:android::InputTarget 540 float xOffset; member in struct:android::InputDispatcher::DispatchEntry 668 int32_t targetFlags, float xOffset, float yOffset);
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 191 public void setGravity(int gravity, int xOffset, int yOffset) { argument 193 mX = xOffset;
|
/frameworks/base/libs/ui/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 144 const float xOffset = -10; local 172 metaState, xOffset, yOffset, xPrecision, yPrecision, 243 EXPECT_EQ(samplePointerCoords[offset].x + xOffset, 271 EXPECT_EQ(samplePointerCoords[offset].x + xOffset, motionEvent->getX(i));
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 390 public void onOffsetsChanged(float xOffset, float yOffset, argument 695 float xOffset; 701 xOffset = mPendingXOffset; 712 + ": " + xOffset + "," + yOffset); 714 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; 717 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 605 * @param xOffset The offset along the X dimension, from 0 to 1. 608 public void setWallpaperOffsets(IBinder windowToken, float xOffset, float yOffset) { argument 612 windowToken, xOffset, yOffset, mWallpaperXStep, mWallpaperYStep);
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 162 jfloat xOffset = env->GetFloatField(eventObj, gMotionEventClassInfo.mXOffset); local 204 xOffset, yOffset, xPrecision, yPrecision, downTimeNano, sampleEventTime,
|