/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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...] |
H A D | ColoredRectsActivity.java | 76 float yOffset = 10; 80 canvas.translate(mOffset, yOffset); 83 canvas.translate(0, -yOffset); 85 canvas.translate(60, yOffset/2); 91 yOffset += 100; 95 canvas.translate(mOffset + 10, yOffset); 100 canvas.translate(mOffset + 70, yOffset); 105 canvas.translate(mOffset + 140, yOffset); 111 canvas.translate(mOffset + 210, yOffset); 118 yOffset [all...] |
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;
|
/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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | UiTest.java | 161 float yOffset = height/2; 163 tmb.addVertex(-1.0f * xOffset, -1.0f * yOffset); 165 tmb.addVertex(xOffset, -1.0f * yOffset); 167 tmb.addVertex(xOffset, yOffset); 169 tmb.addVertex(-1.0f * xOffset, yOffset);
|
H A D | MeshTest.java | 112 final float yOffset = (normalizedY - 0.5f) * height; 117 tmb.addVertex(xOffset, yOffset);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 140 const float yOffset = -20; local 166 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 210 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset,
|
/frameworks/av/include/media/stagefright/ |
H A D | YUVImage.h | 150 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const;
|
/frameworks/base/core/java/android/widget/ |
H A D | Toast.java | 198 public void setGravity(int gravity, int xOffset, int yOffset) { argument 201 mTN.mY = yOffset;
|
H A D | PopupWindow.java | 1192 * @param yOffset y offset from the view's bottom edge 1196 public int getMaxAvailableHeight(View anchor, int yOffset) { argument 1197 return getMaxAvailableHeight(anchor, yOffset, false); 1208 * @param yOffset y offset from the view's bottom edge 1217 public int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) { argument 1229 final int distanceToBottom = bottomEdge - (anchorPos[1] + anchor.getHeight()) - yOffset; 1230 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset;
|
/frameworks/base/include/androidfw/ |
H A D | InputTransport.h | 86 float yOffset; member in struct:android::InputMessage::Body::Motion 229 float yOffset,
|
H A D | Input.h | 501 float yOffset, 516 void offsetLocation(float xOffset, float yOffset);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 233 public void onOffsetsChanged(float xOffset, float yOffset, argument 237 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset 243 if (mXOffset != xOffset || mYOffset != yOffset) { 245 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); 248 mYOffset = yOffset;
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 193 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 198 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.y) - yOffset); 258 float xOffset, float yOffset, jobject outPointerCoordsObj) { 262 rawPointerCoords->getAxisValue(AMOTION_EVENT_AXIS_Y) + yOffset); 342 jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, 373 pointerCoordsToNative(env, pointerCoordsObj, xOffset, yOffset, &rawPointerCoords[i]); 378 xOffset, yOffset, xPrecision, yPrecision, 192 pointerCoordsToNative(JNIEnv* env, jobject pointerCoordsObj, float xOffset, float yOffset, PointerCoords* outRawPointerCoords) argument 257 pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, float xOffset, float yOffset, jobject outPointerCoordsObj) argument 338 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/base/libs/androidfw/ |
H A D | Input.cpp | 291 float yOffset, 306 mYOffset = yOffset; 403 void MotionEvent::offsetLocation(float xOffset, float yOffset) { argument 405 mYOffset += yOffset; 282 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 | 284 float yOffset, 295 "xOffset=%f, yOffset=%f, " 300 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); 325 msg.body.motion.yOffset = yOffset; 905 msg->body.motion.yOffset, 274 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 | 434 public void onOffsetsChanged(float xOffset, float yOffset, argument 822 float yOffset; 828 yOffset = mPendingYOffset; 839 + ": " + xOffset + "," + yOffset); 843 final int yPixels = availh > 0 ? -(int)(availh*yOffset+.5f) : 0; 844 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 686 * @param yOffset The offset along the Y dimension, from 0 to 1. 688 public void setWallpaperOffsets(IBinder windowToken, float xOffset, float yOffset) { argument 692 windowToken, xOffset, yOffset, mWallpaperXStep, mWallpaperYStep);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.cpp | 162 metrics->yOffset = 0;
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 1571 target.yOffset = - windowInfo->frameTop; 1584 target.yOffset = 0; 1729 "xOffset=%f, yOffset=%f, scaleFactor=%f, " 1732 inputTarget->xOffset, inputTarget->yOffset, 1809 inputTargetFlags, inputTarget->xOffset, inputTarget->yOffset, 1920 float xOffset, yOffset, scaleFactor; local 1925 yOffset = dispatchEntry->yOffset * scaleFactor; 1935 yOffset = 0.0f; 1952 xOffset, yOffset, 3832 DispatchEntry(EventEntry* eventEntry, int32_t targetFlags, float xOffset, float yOffset, float scaleFactor) argument [all...] |
H A D | InputDispatcher.h | 152 float xOffset, yOffset; member in struct:android::InputTarget 537 float yOffset; member in struct:android::InputDispatcher::DispatchEntry 546 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsRenderStatesRS.java | 147 final float yOffset = (normalizedY - 0.5f) * height; 152 tmb.addVertex(xOffset, yOffset);
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 813 uint32_t yOffset = cl->mCurrentRow; local 816 void* textureData = cacheTexture->mTexture + (yOffset * width); 823 glTexSubImage2D(GL_TEXTURE_2D, 0, xOffset, yOffset, width, height,
|
/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
|