/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 102 float yOffset = 0; 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); 123 yOffset += 30;
|
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, yOffset, 11 [all...] |
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.h | 66 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { argument 73 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset);
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 141 const float yOffset = -20; local 167 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 211 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset,
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 201 public void setGravity(int gravity, int xOffset, int yOffset) { argument 204 mTN.mY = yOffset;
|
H A D | PopupWindow.java | 1244 * @param yOffset y offset from the view's bottom edge 1248 public int getMaxAvailableHeight(View anchor, int yOffset) { argument 1249 return getMaxAvailableHeight(anchor, yOffset, false); 1260 * @param yOffset y offset from the view's bottom edge 1269 public int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) { argument 1281 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; 1282 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 174 * @param yOffset Specifies a texel offset in the y direction within the 179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, argument
|
H A D | GLES20Canvas.java | 933 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, argument 938 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type);
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 86 float yOffset; member in struct:android::InputMessage::Body::Motion 232 float yOffset,
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 88 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const { 89 *yOffset = y*mWidth + x; 146 int32_t yOffset; local 149 if (!getOffsets(x, y, &yOffset, &uOffset, &vOffset)) return false; 151 *yAddr = getYAddress(yOffset); 87 getOffsets(int32_t x, int32_t y, int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 944 * @param yOffset The offset along the Y dimension, from 0 to 1. 946 public void setWallpaperOffsets(IBinder windowToken, float xOffset, float yOffset) { argument 950 windowToken, xOffset, yOffset, mWallpaperXStep, mWallpaperYStep);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 276 public void onOffsetsChanged(float xOffset, float yOffset, argument 280 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset 285 if (mXOffset != xOffset || mYOffset != yOffset) { 287 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); 290 mYOffset = yOffset; 399 // Adjust the image for xOffset/yOffset values. If window manager is handling offsets,
|
/frameworks/native/libs/input/ |
H A D | Input.cpp | 293 float yOffset, 308 mYOffset = yOffset; 405 void MotionEvent::offsetLocation(float xOffset, float yOffset) { argument 407 mYOffset += yOffset; 284 initialize( int32_t deviceId, int32_t source, int32_t action, 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 | 290 float yOffset, 301 "xOffset=%f, yOffset=%f, " 306 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); 331 msg.body.motion.yOffset = yOffset; 914 msg->body.motion.yOffset, 280 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, 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
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 441 public void onOffsetsChanged(float xOffset, float yOffset, argument 831 float yOffset; 837 yOffset = mPendingYOffset; 848 + ": " + xOffset + "," + yOffset); 852 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; 853 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels);
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 192 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 197 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y) - yOffset); 257 float xOffset, float yOffset, jobject outPointerCoordsObj) { 261 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); 341 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, 372 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); 377 xOffset, yOffset, xPrecision, yPrecision, 191 pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj, float xOffset, float yOffset, PointerCoords* outRawPointerCoords) argument 256 pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, float xOffset, float yOffset, jobject outPointerCoordsObj) argument 337 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jint 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/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListPopupWindow.java | 1082 * @param yOffset y offset from the view's bottom edge 1088 public int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) { argument 1101 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; 1102 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset;
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.h | 152 float xOffset, yOffset; member in struct:android::InputTarget 542 float yOffset; member in struct:android::InputDispatcher::DispatchEntry 551 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
|
H A D | InputDispatcher.cpp | 1603 target.yOffset = - windowInfo->frameTop; 1616 target.yOffset = 0; 1773 "xOffset=%f, yOffset=%f, scaleFactor=%f, " 1776 inputTarget->xOffset, inputTarget->yOffset, 1853 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset, 1964 float xOffset, yOffset, scaleFactor; local 1969 yOffset = dispatchEntry->yOffset * scaleFactor; 1979 yOffset = 0.0f; 1996 xOffset, yOffset, 3938 DispatchEntry(EventEntry* eventEntry, int32_t targetFlags, float xOffset, float yOffset, float scaleFactor) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 1321 float xOffset, float yOffset, float xPrecision, float yPrecision, 1318 nativeInitialize(int nativePtr, int deviceId, int source, int action, int flags, int edgeFlags, int metaState, int buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, long downTimeNanos, long eventTimeNanos, int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) argument
|