/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/av/include/media/ |
H A D | VolumeShaper.h | 362 : Operation(flags, replaceId, std::numeric_limits<S>::quiet_NaN() /* xOffset */) { 373 Operation(Flag flags, int replaceId, S xOffset) argument 376 , mXOffset(xOffset) { 391 void setXOffset(S xOffset) { argument 392 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); 399 /* xOffset is the position on the volume curve and may go backwards 406 * If you are reversing, this means the position on the curve, or xOffset, 463 State(T volume, S xOffset) argument 465 , mXOffset(xOffset) { 483 void setXOffset(S xOffset) { argument 616 setDelayXOffset(S xOffset) argument 685 updatePosition(int64_t startFrame, double sampleRate, S xOffset) argument 729 const S xOffset = x; local 872 const S xOffset = operation->getXOffset(); local [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 | 260 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { argument 271 xOffset += mAnchorView.getWidth(); 274 popup.setHorizontalOffset(xOffset); 283 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, 284 xOffset + halfSize, yOffset + halfSize);
|
/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 | 140 int xOffset = base + X_OFFSET; 142 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/media/jni/ |
H A D | android_media_VolumeShaper.h | 184 float xOffset = env->GetFloatField(joperation, fields.opXOffsetId); local 187 new VolumeShaper::Operation(flags, replaceId, xOffset); 206 float xOffset = env->GetFloatField(jstate, fields.stXOffsetId); local 208 sp<VolumeShaper::State> state = new VolumeShaper::State(volume, xOffset);
|
/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/base/media/java/android/media/ |
H A D | VolumeShaper.java | 1174 final float xOffset = p.readFloat(); 1179 , xOffset); 1188 private Operation(@Flag int flags, int replaceId, float xOffset) { argument 1191 mXOffset = xOffset; 1291 * Sets the {@code xOffset} to use for the {@code VolumeShaper}. 1293 * The {@code xOffset} is the position on the volume curve, 1296 * @param xOffset a value between (or equal to) 0.f and 1.f, or Float.NaN to ignore. 1298 * @throws IllegalArgumentException if {@code xOffset} is not between 0.f and 1.f, 1301 public @NonNull Builder setXOffset(float xOffset) { argument 1302 if (xOffset < 1398 State(float volume, float xOffset) argument [all...] |
/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 | 294 float xOffset, 306 "metaState=0x%x, buttonState=0x%x, xOffset=%f, yOffset=%f, " 311 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); 336 msg.body.motion.xOffset = xOffset; 931 msg->body.motion.xOffset, 284 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/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 265 * @param xOffset The x offset where the content is drawn to. 271 public boolean onContentDrawn(int xOffset, int yOffset, int xSize, int ySize) { argument 277 mLastXOffset = xOffset;
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 1572 * @param xOffset absolute horizontal offset from the left of the anchor 1582 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { 1600 outParams.x = drawingLocation[0] + xOffset; 1631 final boolean fitsHorizontal = tryFitHorizontal(outParams, xOffset, width, 1639 final Rect r = new Rect(scrollX, scrollY, scrollX + width + xOffset, 1646 outParams.x = drawingLocation[0] + xOffset; 1658 tryFitHorizontal(outParams, xOffset, width, anchorWidth, drawingLocation[0], 1728 private boolean tryFitHorizontal(@NonNull LayoutParams outParams, int xOffset, int width, argument 1581 findDropDownPosition(View anchor, WindowManager.LayoutParams outParams, int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 244 public void onOffsetsChanged(float xOffset, float yOffset, argument 248 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset 253 if (mXOffset != xOffset || mYOffset != yOffset) { 255 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); 257 mXOffset = xOffset; 373 // 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 | 484 public void onOffsetsChanged(float xOffset, float yOffset, argument 954 float xOffset; 960 xOffset = mPendingXOffset; 972 + ": " + xOffset + "," + yOffset); 974 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; 977 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels);
|