/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 678 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 682 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 691 if (right - left > magnifFrameInScreenCoords.width()) { 697 scrollX = right - magnifFrameInScreenCoords.right; 701 } else if (right > magnifFrameInScreenCoords.right) { 702 scrollX = right - magnifFrameInScreenCoords.right; 975 public void onRectangleOnScreenRequested(int left, int top, int right, in argument 984 handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 153 void setExpandedBounds(int left, int top, int right, int bottom) { 154 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 155 mExpandedBounds.set(left, top, right, bottom); 161 void setCollapsedBounds(int left, int top, int right, int bottom) { 162 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 163 mCollapsedBounds.set(left, top, right, bottom); 384 mCollapsedDrawX = mCollapsedBounds.right - width; 416 mExpandedDrawX = mExpandedBounds.right - width; 435 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBound 662 rectEquals(Rect r, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.h | 85 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, 133 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 135 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 139 return saveLayer(left, top, right, bottom, &paint, flags); 154 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 157 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override; 183 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 185 virtual void drawRoundRect(float left, float top, float right, float bottom, 188 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override; 189 virtual void drawArc(float left, float top, float right, floa [all...] |
H A D | LayerRenderer.cpp | 47 float left, float top, float right, float bottom, bool opaque) { 55 Rect dirty(left, top, right, bottom); 57 dirty.right >= width && dirty.bottom >= height)) { 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); 68 dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 71 void LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 79 OpenGLRenderer::clear(left, top, right, bottom, opaque); 173 const float u2 = r->right * texX; 177 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 179 TextureVertex::set(mesh++, r->right, 46 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument [all...] |
H A D | RecordingCanvas.h | 77 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, 110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 112 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 116 return saveLayer(left, top, right, bottom, &paint, flags); 131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 134 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override; 162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 164 virtual void drawRoundRect(float left, float top, float right, float bottom, 167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override; 168 virtual void drawArc(float left, float top, float right, floa [all...] |
H A D | DisplayListOp.h | 227 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 228 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {} 240 mLocalBounds.right = std::max(mLocalBounds.right, points[i]); 324 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument 325 : mArea(left, top, right, bottom) 332 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument 333 : mArea(left, top, right, bottom) 347 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom, 352 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mAre 537 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument 773 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 934 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 961 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1011 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 1042 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument 1137 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1154 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
H A D | DisplayListCanvas.cpp | 130 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument 136 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags)); 181 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); 185 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 186 return mState.quickRejectConservative(left, top, right, bottom); 195 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument 197 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 198 return mState.clipRect(left, top, right, bottom, op); 345 void DisplayListCanvas::drawRect(float left, float top, float right, float bottom, argument 347 addDrawOp(new (alloc()) DrawRectOp(left, top, right, botto 350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 387 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 392 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 399 data[kScaleX] = 2.0f / (right - left); 402 data[kTranslateX] = -(right + left) / (right - left); 453 MUL_ADD_STORE(r.right, data[kScaleX], data[kTranslateX]); 457 if (r.left > r.right) { 459 r.left = r.right; 460 r.right = x; 474 r.right, r.top, 475 r.right, [all...] |
H A D | FrameInfoVisualizer.cpp | 138 float right = width * .95; local 139 float baseLineWidth = right / mFrameSource.capacity(); 165 rect[ri + 0] = right - lineWidth; 167 rect[ri + 2] = right; 169 right -= lineWidth;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskPositioner.java | 366 if (startX > mTmpRect.right) { 398 int right = mWindowOriginalBounds.right; 401 left = Math.min(left + deltaX, right - mMinVisibleWidth); 407 right = Math.max(left + mMinVisibleWidth, right + deltaX); 412 mWindowDragBounds.set(left, top, right, bottom); 433 x = Math.min(Math.max(x, mTmpRect.left), mTmpRect.right); 483 * screen, {@link #CTRL_RIGHT} if on the right side, or {@link #CTRL_NONE} if the dim layer 497 if (x + mSideMargin >= mTmpRect.right) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 296 int left, int top, int right, int bottom) { 302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 337 rect.left = rect.top = rect.right = rect.bottom = 0; 343 rect.right = bounds.x + bounds.width; 371 int left, int top, int right, int bottom, int op) { 378 new Rectangle2D.Float(left, top, right 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 254 // is also the destination, e.g. left.loadMultiply(left, right); 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 278 m[0] = 2.f / (right - left); 281 m[12]= -(right + left) / (right - left); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 288 m[0] = 2.f * near / (right - left); 290 m[8] = (right + left) / (right - left); 302 float right local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 867 * if leftFocus is true, or at the right of the bounds if leftFocus 902 * if leftFocus is true, or at the right of the bounds if 906 * @param right the right offset of the bounds in which a focusable must 911 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument 918 * left, and its right is above the bound's right. A partially 931 if (left < viewRight && viewLeft < right) { 938 (viewRight < right); 980 * method will scroll the view by one page left or right an 1057 scrollAndFocus(int direction, int left, int right) argument [all...] |
H A D | FastScroller.java | 110 * Preview image resource IDs for left- and right-aligned layouts. See 195 /** Whether decorations should be laid out from right to left. */ 585 bounds.right += mPreviewImage.getPaddingRight(); 601 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom); 602 view.setPivotX(mLayoutFromRight ? bounds.right - bounds.left : 0); 618 margins.right = mPreviewImage.getPaddingRight(); 650 marginRight = margins.right; 671 // Align to the left or right. 674 final int right; 676 right [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterDrawable.java | 260 public void setBounds(int left, int top, int right, int bottom) { argument 261 super.setBounds(left, top, right, bottom); 263 mWidth = right - left; 344 mFrame.right - Math.round(width * 0.25f), 349 mButtonFrame.right -= mSubpixelSmoothingRight; 355 mFrame.right -= mSubpixelSmoothingRight; 373 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); 374 mShapePath.lineTo(mButtonFrame.right, mFrame.top); 375 mShapePath.lineTo(mFrame.right, mFrame.top); 376 mShapePath.lineTo(mFrame.right, mFram [all...] |
/frameworks/compile/mclinker/include/mcld/ |
H A D | InputTree.h | 107 return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); 119 return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); 130 return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); 142 return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); 159 iterator end() { return iterator(BinaryTreeBase<Input>::m_Root.node.right); } 166 return const_iterator(BinaryTreeBase<Input>::m_Root.node.right); 202 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 41 margin-right: 15px; 107 margin-right: 15px; 216 padding-right: 4px; 217 text-align: right; 218 border-right: 2px solid #0F0; 268 margin-right: 8px; 316 text-align: right; 317 padding-right: 12px; 502 margin-right: 15px; 513 margin-right [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
H A D | h264bsdFillRow7.s | 31 right RN 4 label 61 LDR right, [sp,#0x10] 169 CMP right,#0 175 SUBS right, right, #1
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | h264bsdFillRow7.S | 31 #define right r4 define 45 i32 right); 52 LDR right, [sp,#0x10] 130 CMP right,#0 136 SUBS right, right, #1
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 105 left(left), top(top), right(right), bottom(bottom), 108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
|
/frameworks/base/core/java/android/text/ |
H A D | AutoText.java | 56 private static final int RIGHT = 9300; // Size of 'right' 13 Aug 2007 164 StringBuilder right = new StringBuilder(RIGHT); 190 off = (char) right.length(); 191 right.append((char) dest.length()); 192 right.append(dest); 209 mText = right.toString(); 226 // end, so fill in the right hand side fields.
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); 233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); 270 void setBounds(int left, int top, int right, int bottom) { argument 273 mBounds.right = right;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 super.onLayout(changed, left, top, right, bottom); 84 mBehavior.onLayout(changed, left, top, right, bottom); 169 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 171 layouts.add(new Pair<>(right - left, bottom - top));
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 359 boolean mNavigationBarOnBottom = true; // is the navigation bar on the bottom *right now*? 1902 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom) { argument 1906 mOverscanRight = right; 2071 // XXX right now the app process has complete control over 2614 // focus, so we want to get the IME window up on top of us right away. 2785 // This can be on either the bottom or the right. 2835 final boolean offscreenLandscape = landscape && (frame.right - insets <= 0 2836 || frame.left + insets >= win.getDisplayFrameLw().right); 3057 // right now to interact with applications. 3832 outOutsets.right [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.cpp | 32 memset(&right, 0, sizeof(state)); 83 out[outputIndex++] += vr * interp(&right, x); 109 advance(&right, in[inputIndex*2+1]);
|