/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | sobeloperator.cpp | 45 const int left = (j > 0)? -4 : 0; local 53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + 54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + 55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); 58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) +
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 59 float left, top, right, bottom; 60 left = MathUtils.random(getWidth() - MIN_SIZE); 62 right = left + MathUtils.random(getWidth() - left); 65 path.moveTo(left, top); 68 path.lineTo(left, bottom);
|
H A D | GradientsActivity.java | 223 float left = 40.0f; 238 mMatrix.postTranslate(left, top); 240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); 242 left += 40.0f + mDrawWidth; 249 mMatrix.postTranslate(left, bottom); 251 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 258 mMatrix.postTranslate(left, top); 260 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); 262 right = left [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TreeBase.h | 22 NodeBase *left; member in class:mcld::NodeBase 27 : left(0), right(0) 81 { return ((m_pNode->left) != (m_pNode->left->right)); } 94 { X = X->left; } 102 { X->left = const_cast<NodeBase*>(Y); }
|
H A D | BinTree.h | 42 m_Stack.push(m_pNode->left); 58 m_Stack.push(m_pNode->left); 77 m_Queue.push(m_pNode->left); 93 m_Queue.push(m_pNode->left); 274 // | |left | 291 node.left = node.right = &node; 305 if ((*data).left == &pClient.node) 306 (*data).left = &node; 322 result->left = result->right = &m_Root.node; 327 pNode->left [all...] |
/frameworks/base/libs/hwui/ |
H A D | Snapshot.cpp | 81 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 98 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 100 tmp.set(left, top, right, bottom); 114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 115 Rect r(left, top, right, bottom); 127 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 138 setClip(r.left, r.top, r.right, r.bottom); 144 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 156 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 157 clipRect->set(left, to 178 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom, 105 void setClip(float left, float top, float right, float bottom); 116 void resetClip(float left, float top, float right, float bottom); 237 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
|
H A D | OpenGLRenderer.cpp | 192 void OpenGLRenderer::setupFrameState(float left, float top, argument 202 mSnapshot->setClip(left, top, right, bottom); 203 mTilingClip.set(left, top, right, bottom); 212 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom); 225 return clear(mTilingClip.left, mTilingClip.top, 233 status_t OpenGLRenderer::prepareDirty(float left, float top, argument 236 setupFrameState(left, top, right, bottom, opaque); 252 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) { argument 257 left <= 0.0f && top <= 0.0f && right >= mWidth && bottom >= mHeight) { 266 status_t OpenGLRenderer::clear(float left, floa argument 780 saveLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags) argument 836 saveLayerDeferred(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags) argument 913 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument 1321 dirtyLayer(const float left, const float top, const float right, const float bottom, const mat4 transform) argument 1330 dirtyLayer(const float left, const float top, const float right, const float bottom) argument 1623 quickRejectNoScissor(float left, float top, float right, float bottom, bool snapOut, bool* clipRequired) argument 1642 quickRejectPreStroke(float left, float top, float right, float bottom, SkPaint* paint) argument 1656 quickReject(float left, float top, float right, float bottom, bool snapOut) argument 1676 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 1867 setupDrawModelViewTranslate(float left, float top, float right, float bottom, bool ignoreTransform) argument 1883 setupDrawModelView(float left, float top, float right, float bottom, bool ignoreTransform, bool ignoreModelView) argument 2063 drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint) argument 2131 drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument 2181 drawBitmapData(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument 2211 float left = FLT_MAX; local 2412 drawPatch(SkBitmap* bitmap, Res_png_9patch* patch, float left, float top, float right, float bottom, SkPaint* paint) argument 2425 drawPatch(SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, SkPaint* paint) argument 2643 drawShape(float left, float top, const PathTexture* texture, SkPaint* paint) argument 2656 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* p) argument 2703 drawOval(float left, float top, float right, float bottom, SkPaint* p) argument 2725 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* p) argument 2763 drawRect(float left, float top, float right, float bottom, SkPaint* p) argument 3286 const float left = x; local 3341 float left = FLT_MAX; local 3392 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument 3415 drawTextureRect(float left, float top, float right, float bottom, Texture* texture, SkPaint* paint) argument 3455 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument 3461 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument 3486 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument 3511 drawAlpha8TextureMesh(float left, float top, float right, float bottom, GLuint texture, bool hasColor, int color, int alpha, SkXfermode::Mode mode, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool ignoreTransform, bool ignoreScale, bool dirty) argument [all...] |
H A D | OpenGLRenderer.h | 171 * @param left The left coordinate of the dirty rectangle 179 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 225 ANDROID_API int saveLayer(float left, float top, float right, float bottom, argument 229 return saveLayer(left, top, right, bottom, paint ? paint->getAlpha() : 255, mode, flags); 231 ANDROID_API int saveLayerAlpha(float left, float top, float right, float bottom, argument 233 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags); 235 virtual int saveLayer(float left, float top, float right, float bottom, 238 int saveLayerDeferred(float left, float top, float right, float bottom, 257 bool quickRejectPreStroke(float left, floa 425 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | FocusAfterRemoval.java | 38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout); 40 // top left makes parent layout GONE 45 left.setVisibility(View.GONE); 49 // bottom left makes parent layout INVISIBLE 50 // top left makes parent layout GONE 55 left.setVisibility(View.INVISIBLE);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | LargeBitmap.java | 64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 66 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top, 67 rect.right - rect.left, rect.bottom - rect.top, options);
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 125 int left = current->left; local 131 // iterating over previous span RTL, quit if it's too far left 132 if (prev->right <= left) break; 134 if (prev->right > left && prev->right < right) { 139 if (prev->left > left && prev->left < right) { 140 dst.add(Rect(prev->left, top, right, bottom)); 141 right = prev->left; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 123 if (!mIsVertical && (left + length > right - length)) { 124 length = (right - left) / 2; 143 mFadeMatrix.postTranslate(left, top); 145 canvas.drawRect(left, top, right, top + length, mFadePaint); 152 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); 158 mFadeMatrix.postTranslate(left, bottom); 160 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); 166 mFadeMatrix.postTranslate(left, top); 168 canvas.drawRect(left, to 85 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength, int mPaddingTop) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | BlackFrame.java | 34 final int left; field in class:BlackFrame.BlackSurface 41 left = l; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 110 pw.print(" left="); pw.print(bs.left); 126 outer.left, outer.top, inner.right, inner.top, layerStack); 128 if (outer.left < inner.left) { 130 outer.left, inne [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 71 * Info 701: Shift left of signed quantity (int) 134 u32 left; member in struct:__anon833 232 Function to determine if there is a slice boundary on the left side 304 /* filterLeftMbEdgeFlag, left mb is MB_A */ 389 Function to calculate boundary strength value bs for left- or 486 Function to calculate boundary strength value bs for left- 558 filtered macroblock, macroblock above and macroblock on the left of 563 mb pointer to macroblock data structure of the top-left 1172 /* left edges */ 1177 bS[0].left [all...] |
/frameworks/av/media/libstagefright/ |
H A D | SampleTable.cpp | 526 uint32_t left = 0; local 528 while (left < right) { 529 uint32_t center = (left + right) / 2; 535 left = center + 1; 537 left = center; 542 if (left == mNumSampleSizes) { 547 --left; 550 uint32_t closestIndex = left; 578 // Check left neighbour and pick closest. 620 uint32_t left local [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 45 int left, right; 50 left = Integer.MAX_VALUE; 54 left = (int) Math.min(left, layout.getLineLeft(i)); 58 left = 0; 62 final int actualWidth = right - left; 66 x = left - ((availableWidth - actualWidth) / 2); 71 // direction to resolve it to left or right 72 x = left - (availableWidth - actualWidth); 74 x = left; [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditor.java | 246 int left, right, top, bottom; 257 left = 0; 264 left = (overlayCanvas.getWidth() - newWidth) / 2; 266 right = left + newWidth; 270 destRect = new Rect(left, top, right, bottom); 277 int left, right, top, bottom; 287 left = 0; 294 left = (mOverlayBitmap.getWidth() - newWidth) / 2; 296 right = left + newWidth; 300 srcRect = new Rect(left, to [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 81 TYPE left, right; local 82 int inside = spannerInner.next(current.left, current.right); 84 if (current.left < current.right && 234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 263 inline int next(TYPE& left, TYPE& right) argument 267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 279 void advance(region& reg, TYPE& left, TYP argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 125 // make up a rect at top left or bottom right of root 273 * @param direction the direction (up, down, left, right) 330 // for example, for direction left, if rect1 is to the left of the source 362 * checks whether the dest is at least partially to the direction of (e.g left of) 371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 372 && srcRect.left > destRect.left; 374 return (srcRect.left < destRect.left || srcRec [all...] |
H A D | GLES20Canvas.java | 193 int left, int top, int right, int bottom); 257 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, 265 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, argument 493 public boolean clipRect(float left, float top, float right, float bottom) { argument 494 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); 497 private static native boolean nClipRect(int renderer, float left, float top, argument 501 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument 502 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); 506 public boolean clipRect(int left, int top, int right, int bottom) { argument 507 return nClipRect(mRenderer, left, to 192 nUpdateRenderLayer(int layerId, int renderer, int displayList, int left, int top, int right, int bottom) argument 510 nClipRect(int renderer, int left, int top, int right, int bottom, int op) argument 555 quickReject(float left, float top, float right, float bottom, EdgeType type) argument 559 nQuickReject(int renderer, float left, float top, float right, float bottom) argument 665 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument 681 nSaveLayer(int renderer, float left, float top, float right, float bottom, int paint, int saveFlags) argument 696 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument 704 nSaveLayerAlpha(int renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument 767 nDrawArc(int renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, int paint) argument 806 nDrawPatch(int renderer, int bitmap, byte[] buffer, int chunk, float left, float top, float right, float bottom, int paint) argument 810 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument 822 nDrawBitmap(int renderer, int bitmap, byte[] buffer, float left, float top, int paint) argument 896 nDrawBitmap(int renderer, int bitmap, byte[] buffer, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, int paint) argument 1045 nDrawOval(int renderer, float left, float top, float right, float bottom, int paint) argument 1190 drawRect(float left, float top, float right, float bottom, Paint paint) argument 1200 nDrawRect(int renderer, float left, float top, float right, float bottom, int paint) argument 1229 nDrawRoundRect(int renderer, float left, float top, float right, float bottom, float rx, float y, int paint) argument [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | VideoEditorResampler.h | 28 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) ;
|
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 146 size_t left = curr - mBegin; local 147 while (left > 0) { 150 if (size < kRecordHeaderSize || size > left) { 160 left -= size;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 107 Word32 left, right; local 108 left = (mdctSpectrumLeft[j] >> 1); 110 mdctSpectrumLeft[j] = left + right; 111 mdctSpectrumRight[j] = left - right;
|