/frameworks/base/core/java/android/view/ |
H A D | MagnificationSpec.java | 46 public float offsetY; field in class:MagnificationSpec 52 public void initialize(float scale, float offsetX, float offsetY) { argument 58 this.offsetY = offsetY; 62 return scale == 1.0f && offsetX == 0 && offsetY == 0; 69 info.offsetY = other.offsetY; 86 offsetY = 0.0f; 92 offsetY = other.offsetY; [all...] |
H A D | WindowCallbacks.java | 70 boolean onContentDrawn(int offsetX, int offsetY, int sizeX, int sizeY); argument
|
H A D | ViewGroup.java | 1947 final float offsetY = mScrollY - child.mTop; 1948 event.offsetLocation(offsetX, offsetY); 1950 event.offsetLocation(-offsetX, -offsetY); 2277 final float offsetY = mScrollY - child.mTop; 2278 event.offsetLocation(offsetX, offsetY); 2280 event.offsetLocation(-offsetX, -offsetY); 2444 final float offsetY = mScrollY - child.mTop; 2445 event.offsetLocation(offsetX, offsetY); 2447 event.offsetLocation(-offsetX, -offsetY); 2463 final float offsetY [all...] |
H A D | AccessibilityInteractionController.java | 634 boundsInScreen.offset((int) spec.offsetX, (int) spec.offsetY); 652 textLocation.offset(spec.offsetX, spec.offsetY); 668 visibleWinFrame.top = (int) (attachInfo.mWindowTop * scale + spec.offsetY);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 246 mCurrentMagnificationSpec.offsetX, mCurrentMagnificationSpec.offsetY)) { 337 return mCurrentMagnificationSpec.offsetY; 383 return mSpecAnimationBridge.mSentMagnificationSpec.offsetY; 443 final float oldCenterY = (viewport.height() / 2.0f - spec.offsetY) / oldScale; 445 final float normPivotY = (pivotY - spec.offsetY) / oldScale; 447 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale); 449 final float centerY = normPivotY + offsetY; 515 * Offsets the magnified region. Note that the offsetX and offsetY values actually move in the 520 * @param offsetY the amount in pixels to offset the region in the Y direction, in current 524 public void offsetMagnifiedRegion(float offsetX, float offsetY, in argument [all...] |
H A D | TouchExplorer.java | 992 * @param offsetY The Y offset. 996 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { argument 997 if (offsetX == 0 && offsetY == 0) { 1009 coords[i].y += offsetY;
|
/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 547 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; 551 mOutGlop->transform.modelView.loadTranslate(offsetX, offsetY, 0.0f);
|
/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) { 126 coords[0].y = xy[1] + offsetY; 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 | 72 int offsetY = 0; 77 ancestorOffsets.add(Pair.create(offsetX, offsetY)); 88 offsetY += view.getTop(); 294 * @param offsetY extra Y offset for the tap 297 int offsetX, int offsetY) { 303 int yOnScreen = viewOnScreenXY[1] + offsetY; 296 emulateTapOnView(Instrumentation instrumentation, View anchorView, int offsetX, int offsetY) argument
|
/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/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MagnificationControllerTest.java | 652 MagnificationSpec expectedEndSpec = getMagnificationSpec(2.0f, 0, startSpec.offsetY); 662 expectedEndSpec = getMagnificationSpec(2.0f, -100, startSpec.offsetY); 775 interpolatedSpec.offsetY = start.offsetY + fraction * (end.offsetY - start.offsetY); 783 private MagnificationSpec getMagnificationSpec(float scale, float offsetX, float offsetY) { argument 787 spec.offsetY = offsetY; 819 if (Math.abs(mMagSpec.offsetY [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ExploreByTouchHelper.java | 490 final int offsetY = tempGlobalRect[1]; 492 tempScreenRect.offset(offsetX, offsetY);
|
/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/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 655 final int offsetY = mPaddingTop; 656 background.setHotspotBounds(left + offsetX, top + offsetY, 657 right + offsetX, bottom + offsetY);
|
H A D | TimePickerClockDelegate.java | 995 final float offsetY = view.getScrollY() - child.getTop(); 996 motionEvent.offsetLocation(offsetX, offsetY); 998 motionEvent.offsetLocation(-offsetX, -offsetY);
|
H A D | ActionMenuPresenter.java | 920 final int offsetY = getPaddingTop() - getPaddingBottom(); 922 final int centerY = (height + offsetY) / 2;
|
H A D | PopupWindow.java | 1965 final int offsetY = bounds.top; 1967 bounds.offset(offsetX, offsetY);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | FastScroller.java | 340 * @param offsetY The new scroll Y offset. 342 void updateScrollPosition(int offsetX, int offsetY) { argument 361 float middleScreenPos = offsetY + verticalVisibleLength / 2.0f;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Task.java | 410 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom; 411 mTmpRect2.offset(0, offsetY);
|
H A D | TaskPositioner.java | 606 final int offsetY = Math.round(y - mStartDragY); 619 Math.min(Math.max(mWindowOriginalBounds.top + offsetY, minTop), maxTop));
|
H A D | AccessibilityController.java | 507 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY); 655 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | MonthView.java | 776 final int offsetY = getMonthHeaderSize(); 783 final int y = (offsetY + (row * cellHeight));
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 1393 boolean offsetY = false; 1398 offsetY = true; 1405 offsetY = true; 1408 if (!offsetY) { 1443 private void setInsetOffsetY(View child, int offsetY) { argument 1445 if (lp.mInsetOffsetY != offsetY) { 1446 final int dy = offsetY - lp.mInsetOffsetY; 1448 lp.mInsetOffsetY = offsetY;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuPresenter.java | 715 final int offsetY = getPaddingTop() - getPaddingBottom(); 717 final int centerY = (height + offsetY) / 2;
|