/frameworks/base/core/java/android/view/ |
H A D | MagnificationSpec.java | 40 public float offsetX; field in class:MagnificationSpec 52 public void initialize(float scale, float offsetX, float offsetY) { argument 57 this.offsetX = offsetX; 62 return scale == 1.0f && offsetX == 0 && offsetY == 0; 68 info.offsetX = other.offsetX; 85 offsetX = 0.0f; 91 offsetX = other.offsetX; [all...] |
H A D | WindowCallbacks.java | 70 boolean onContentDrawn(int offsetX, int offsetY, int sizeX, int sizeY); argument
|
/frameworks/base/libs/hwui/ |
H A D | GlopBuilder.h | 92 GlopBuilder& setModelViewOffsetRect(float offsetX, float offsetY, const Rect source); 93 GlopBuilder& setModelViewOffsetRectSnap(float offsetX, float offsetY, const Rect source); 95 float offsetX, float offsetY, const Rect& source) { 97 return setModelViewOffsetRectSnap(offsetX, offsetY, source); 99 return setModelViewOffsetRect(offsetX, offsetY, source); 94 setModelViewOffsetRectOptionalSnap(bool snap, float offsetX, float offsetY, const Rect& source) argument
|
H A D | GlopBuilder.cpp | 529 GlopBuilder& GlopBuilder::setModelViewOffsetRect(float offsetX, float offsetY, const Rect source) { argument 532 mOutGlop->transform.modelView.loadTranslate(offsetX, offsetY, 0.0f); 536 GlopBuilder& GlopBuilder::setModelViewOffsetRectSnap(float offsetX, float offsetY, const Rect source) { argument 546 offsetX = (int) floorf(offsetX + translateX + source.left + 0.5f) - translateX - source.left; 551 mOutGlop->transform.modelView.loadTranslate(offsetX, offsetY, 0.0f);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | TwoWayBindingAdapterTest.java | 83 private void clickView(final View view, float offsetX) throws Throwable { argument 97 final float x = xy[0] + offsetX; 123 private void clickChild(View view, float offsetX) throws Throwable { argument 135 clickView(childView, offsetX); 151 float offsetX = 0; 155 clickChild(mBinder.calendarView, offsetX); 156 offsetX += 48;
|
/frameworks/base/core/java/android/view/autofill/ |
H A D | AutofillPopupWindow.java | 90 public void update(View anchor, int offsetX, int offsetY, int width, int height, argument 175 showAsDropDown(actualAnchor, offsetX, offsetY); 177 update(actualAnchor, offsetX, offsetY, width, height);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 264 private static RectF awtRectToAndroidRect(Rectangle2D awtRec, float offsetX, float offsetY) { argument 270 androidRect.offset(offsetX, offsetY);
|
/frameworks/support/v13/tests/java/android/support/v13/view/ |
H A D | DragStartHelperTest.java | 99 int action, View anchor, int offsetX, int offsetY) { 103 eventTime, eventTime, action, xy[0] + offsetX, xy[1] + offsetY, 0); 106 private void sendTouchEvent(int action, View anchor, int offsetX, int offsetY) { argument 107 mInstrumentation.sendPointerSync(obtainTouchEvent(action, anchor, offsetX, offsetY)); 111 int action, int buttonState, View anchor, int offsetX, int offsetY) { 125 coords[0].x = xy[0] + offsetX; 133 int action, int buttonState, View anchor, int offsetX, int offsetY) { 135 action, buttonState, anchor, offsetX, offsetY)); 98 obtainTouchEvent( int action, View anchor, int offsetX, int offsetY) argument 110 obtainMouseEvent( int action, int buttonState, View anchor, int offsetX, int offsetY) argument 132 sendMouseEvent( int action, int buttonState, View anchor, int offsetX, int offsetY) argument
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtils.java | 71 int offsetX = 0; 77 ancestorOffsets.add(Pair.create(offsetX, offsetY)); 87 offsetX += view.getLeft(); 293 * @param offsetX extra X offset for the tap 297 int offsetX, int offsetY) { 302 int xOnScreen = viewOnScreenXY[0] + offsetX; 296 emulateTapOnView(Instrumentation instrumentation, View anchorView, int offsetX, int offsetY) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MagnificationControllerTest.java | 678 MagnificationSpec expectedEndSpec = getMagnificationSpec(2.0f, startSpec.offsetX, 0); 774 interpolatedSpec.offsetX = start.offsetX + fraction * (end.offsetX - start.offsetX); 783 private MagnificationSpec getMagnificationSpec(float scale, float offsetX, float offsetY) { argument 786 spec.offsetX = offsetX; 816 if (Math.abs(mMagSpec.offsetX - magnificationSpec.offsetX) > mOffsetToleranc [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 246 mCurrentMagnificationSpec.offsetX, mCurrentMagnificationSpec.offsetY)) { 313 return mCurrentMagnificationSpec.offsetX; 372 return mSpecAnimationBridge.mSentMagnificationSpec.offsetX; 442 final float oldCenterX = (viewport.width() / 2.0f - spec.offsetX) / oldScale; 444 final float normPivotX = (pivotX - spec.offsetX) / oldScale; 446 final float offsetX = (oldCenterX - normPivotX) * (oldScale / scale); 448 final float centerX = normPivotX + offsetX; 515 * Offsets the magnified region. Note that the offsetX and offsetY values actually move in the 518 * @param offsetX the amount in pixels to offset the region in the X direction, in current 524 public void offsetMagnifiedRegion(float offsetX, floa argument [all...] |
H A D | TouchExplorer.java | 991 * @param offsetX The X offset. 996 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { argument 997 if (offsetX == 0 && offsetY == 0) { 1008 coords[i].x += offsetX;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | FastScroller.java | 339 * @param offsetX The new scroll X offset. 342 void updateScrollPosition(int offsetX, int offsetY) { argument 369 float middleScreenPos = offsetX + horizontalVisibleLength / 2.0f;
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 439 static uint8_t max_alpha_over_col(png_byte** rows, int offsetX, int startY, int endY) argument 443 uint8_t alpha = (rows[y] + offsetX * 4)[3];
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 876 static uint8_t maxAlphaOverCol(png_bytepp rows, int offsetX, int startY, argument 880 uint8_t alpha = (rows[y] + offsetX * 4)[3];
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 2153 public boolean onContentDrawn(int offsetX, int offsetY, int sizeX, int sizeY) { argument 2157 return mBackdropFrameRenderer.onContentDrawn(offsetX, offsetY, sizeX, sizeY);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 1412 boolean offsetX = false; 1417 offsetX = true; 1424 offsetX = true; 1427 if (!offsetX) { 1434 private void setInsetOffsetX(View child, int offsetX) { argument 1436 if (lp.mInsetOffsetX != offsetX) { 1437 final int dx = offsetX - lp.mInsetOffsetX; 1439 lp.mInsetOffsetX = offsetX;
|