/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentFrameLayout.java | 95 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 96 super.onLayout(changed, left, top, right, bottom);
|
H A D | PercentRelativeLayout.java | 95 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 96 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixerDumpState.cpp | 146 // assume same number of tail samples on each side, left and right 148 CentralTendencyStatistics left, right; local 151 right.sample(tail[n - (i + 1)]); 156 " right tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n", 158 right.mean()*1e-6, right.minimum()*1e-6, right.maximum()*1e-6, 159 right.stddev()*1e-6);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 545 public NetworkStats subtract(NetworkStats right) { argument 546 return subtract(this, right, null, null); 557 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 559 return subtract(left, right, observer, cookie, null); 574 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 576 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 579 observer.foundNonMonotonic(left, -1, right, -1, cookie); 601 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, i); 611 entry.rxBytes = left.rxBytes[i] - right.rxBytes[j]; 612 entry.rxPackets = left.rxPackets[i] - right 811 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument 968 tunSubtract(int i, NetworkStats left, Entry right) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 66 jfieldID right; member in struct:android::__anon896 165 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); 196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 294 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
|
H A D | android_view_TextureView.cpp | 46 jfieldID right; member in struct:android::__anon920 149 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); 172 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 176 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 217 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 66 float right, float bottom) { 135 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument 141 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags)); 191 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); 195 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 196 return mState.quickRejectConservative(left, top, right, bottom); 205 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument 207 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 208 return mState.clipRect(left, top, right, bottom, op); 334 float left, float top, float right, floa 65 prepareDirty(float left, float top, float right, float bottom) argument 333 drawPatch(const SkBitmap& bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 354 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 359 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 364 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 396 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 401 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
H A D | Layer.cpp | 166 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument 169 const Rect r(left, top, right, bottom); 232 dirtyRect.right >= width && dirtyRect.bottom >= height)) { 243 dirtyRect.right, dirtyRect.bottom, !isBlend()); 264 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, 283 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
|
H A D | SkiaCanvas.cpp | 63 virtual int saveLayer(float left, float top, float right, float bottom, 65 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 78 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 80 virtual bool clipRect(float left, float top, float right, float bottom, 96 virtual void drawRect(float left, float top, float right, float bottom, 98 virtual void drawRoundRect(float left, float top, float right, float bottom, 101 virtual void drawOval(float left, float top, float right, float bottom, 103 virtual void drawArc(float left, float top, float right, float bottom, 278 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument 280 SkRect bounds = SkRect::MakeLTRB(left, top, right, botto 286 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SkCanvas::SaveFlags flags) argument 411 quickRejectRect(float left, float top, float right, float bottom) const argument 420 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 504 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 510 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 520 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 525 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
H A D | OpenGLRenderer.cpp | 120 float right, float bottom, bool opaque) { 122 mState.initializeSaveStack(left, top, right, bottom, mLightCenter); 124 mTilingClip.set(left, top, right, bottom); 133 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom); 149 mTilingClip.right, mTilingClip.bottom, mOpaque); 153 float right, float bottom, bool opaque) { 155 setupFrameState(left, top, right, bottom, opaque); 169 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) { argument 174 left <= 0.0f && top <= 0.0f && right >= mState.getWidth() && bottom >= mState.getHeight()) { 183 void OpenGLRenderer::clear(float left, float top, float right, floa argument 119 setupFrameState(float left, float top, float right, float bottom, bool opaque) argument 152 prepareDirty(float left, float top, float right, float bottom, bool opaque) argument 522 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument 582 saveLayerDeferred(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument 658 createLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument 1082 dirtyLayer(const float left, const float top, const float right, const float bottom, const Matrix4& transform) argument 1091 dirtyLayer(const float left, const float top, const float right, const float bottom) argument 1421 quickRejectSetupScissor(float left, float top, float right, float bottom, const SkPaint* paint) argument 1582 float right = FLT_MIN; local 1693 drawPatch(const SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, const SkPaint* paint) argument 1863 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* p) argument 1926 drawOval(float left, float top, float right, float bottom, const SkPaint* p) argument 1949 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) argument 1984 drawRect(float left, float top, float right, float bottom, const SkPaint* p) argument 2181 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 2543 float right = FLT_MIN; local 2583 drawColorRect(float left, float top, float right, float bottom, const SkPaint* paint, bool ignoreTransform) argument [all...] |
H A D | LayerRenderer.cpp | 46 void LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument 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); 67 OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 70 void LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 78 OpenGLRenderer::clear(left, top, right, bottom, opaque); 172 const float u2 = r->right * texX; 176 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 178 TextureVertex::set(mesh++, r->right, [all...] |
H A D | DisplayListOp.h | 228 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 229 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {} 241 mLocalBounds.right = std::max(mLocalBounds.right, points[i]); 325 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument 326 : mArea(left, top, right, bottom) 333 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument 334 : mArea(left, top, right, bottom) 348 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom, 353 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mAre 555 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument 791 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 952 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 979 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1029 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 1060 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument 1131 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1148 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 126 outer.left, outer.top, inner.right, inner.top, layerStack); 134 inner.left, inner.bottom, outer.right, outer.bottom, layerStack); 136 if (outer.right > inner.right) { 138 inner.right, outer.top, outer.right, inner.bottom, layerStack);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 77 // left and right sides. 82 sideShadow(canvas, edgePaint, edgeShadowRect, outline.right, inset.bottom, 2); 85 sideShadow(canvas, edgePaint, edgeShadowRect, inset.right, outline.top, 1); 89 edgePaint.setShader(new LinearGradient(edgeShadowRect.right, 0, edgeShadowRect.left, 0, 94 drawCorner(canvas, cornerPaint, path, inset.right, inset.bottom, outerArcRadius, 0); 97 drawCorner(canvas, cornerPaint, path, inset.right, inset.top, outerArcRadius, 3); 169 return (int) rect.left >= (int) rect.right || (int) rect.top >= (int) rect.bottom;
|
/frameworks/rs/scriptc/ |
H A D | rs_matrix.rsh | 34 * multiply the two source matrices, with the first transformation as the right 61 * right: Right plane. 68 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 76 right->x = viewProj->m[3] - viewProj->m[0]; 77 right->y = viewProj->m[7] - viewProj->m[4]; 78 right->z = viewProj->m[11] - viewProj->m[8]; 79 right->w = viewProj->m[15] - viewProj->m[12]; 103 len = length(right->xyz); 104 *right /= len; 123 * right [all...] |
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 37 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 68 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 160 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 161 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom); 247 * direction is RTL (right-to left). See 263 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}. 294 int right, int bottom) { 295 IMPL.setHotspotBounds(drawable, left, top, right, bottom); 293 setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 53 short right; member in struct:__anon1739 154 sine[i].right = sine[i].left; 158 square[i].right = square[i].left; 162 sawtooth[i].right = sawtooth[i].left; 166 half[i].right = sawtooth[i].right / 2;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | RationalTest.java | 439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { argument 440 assertTrue("Expected (LR) left " + left + " to be less than right " + right, 441 left.compareTo(right) < 0); 442 assertTrue("Expected (RL) left " + left + " to be less than right " + right, 443 right.compareTo(left) > 0); 446 private static <T extends Comparable<? super T>> void assertGreaterThan(T left, T right) { argument 447 assertTrue("Expected (LR) left " + left + " to be greater than right " + right, 453 assertCompareEquals(T left, T right) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 145 void setExpandedBounds(int left, int top, int right, int bottom) { 146 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 147 mExpandedBounds.set(left, top, right, bottom); 153 void setCollapsedBounds(int left, int top, int right, int bottom) { 154 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 155 mCollapsedBounds.set(left, top, right, bottom); 309 mCollapsedDrawX = mCollapsedBounds.right - width; 341 mExpandedDrawX = mExpandedBounds.right - width; 358 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBound 575 rectEquals(Rect r, int left, int top, int right, int bottom) argument [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...] |
H A D | Canvas_Delegate.java | 380 float right, float bottom, 388 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 453 bounds.right = rect.x + rect.width; 487 float right, float bottom) { 577 final float left, final float top, final float right, final float bottom, long paint) { 589 (int)(right-left), (int)(bottom-top)); 595 (int)(right-left), (int)(bottom-top)); 603 final float top, final float right, final float bottom, long paint) { 604 if (right > left && bottom > top) { 615 (int)(right 378 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument 485 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 576 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 602 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 637 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument 669 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 1053 clipRect(float left, float top, float right, float bottom, int regionOp) 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 | 855 * if leftFocus is true, or at the right of the bounds if leftFocus 890 * if leftFocus is true, or at the right of the bounds if 894 * @param right the right offset of the bounds in which a focusable must 899 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument 906 * left, and its right is above the bound's right. A partially 919 if (left < viewRight && viewLeft < right) { 926 (viewRight < right); 968 * method will scroll the view by one page left or right an 1045 scrollAndFocus(int direction, int left, int right) argument [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...] |