Searched refs:left (Results 26 - 50 of 362) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java38 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 DLargeBitmap.java64 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/base/libs/hwui/
H A DPathCache.cpp30 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
32 computeBounds(bounds, paint, left, top, offset, width, height);
36 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
40 left = bounds.fLeft;
99 float left, top, offset; local
29 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
35 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
H A DOpenGLRenderer.h105 * @param left The left coordinate of the dirty rectangle
113 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
149 virtual int saveLayer(float left, float top, float right, float bottom,
151 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
164 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
165 bool quickRejectNoScissor(float left, float top, float right, float bottom);
166 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
173 virtual status_t drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
178 virtual status_t drawBitmapData(SkBitmap* bitmap, float left, floa
[all...]
H A DOpenGLRenderer.cpp172 status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float bottom, argument
181 mSnapshot->setClip(left, top, right, bottom);
190 left <= 0.0f && top <= 0.0f && right >= mWidth && bottom >= mHeight) {
207 return clear(left, top, right, bottom, opaque);
210 status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
213 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top);
239 mCaches.startTiling(clip->left, s->height - clip->bottom,
240 clip->right - clip->left, clip->bottom - clip->top, opaque);
396 info.clipLeft = clip.left;
601 saveLayer(float left, float top, float right, float bottom, SkPaint* p, int flags) argument
623 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int flags) argument
685 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument
1088 dirtyLayer(const float left, const float top, const float right, const float bottom, const mat4 transform) argument
1097 dirtyLayer(const float left, const float top, const float right, const float bottom) argument
1222 quickRejectNoScissor(float left, float top, float right, float bottom) argument
1237 quickRejectNoScissor(float left, float top, float right, float bottom, Rect& transformed, Rect& clip) argument
1253 quickRejectPreStroke(float left, float top, float right, float bottom, SkPaint* paint) argument
1262 quickReject(float left, float top, float right, float bottom) argument
1282 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
1424 setupDrawModelViewTranslate(float left, float top, float right, float bottom, bool ignoreTransform) argument
1440 setupDrawModelView(float left, float top, float right, float bottom, bool ignoreTransform, bool ignoreModelView) argument
1619 drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint) argument
1663 drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument
1709 drawBitmapData(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument
1733 float left = FLT_MAX; local
1862 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
1873 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument
2188 const float left = fmin(p1.x, fmin(p2.x, fmin(p3.x, p4.x))); local
2315 float left = points[i] - halfWidth; local
2340 drawShape(float left, float top, const PathTexture* texture, SkPaint* paint) argument
2353 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* p) argument
2402 drawOval(float left, float top, float right, float bottom, SkPaint* p) argument
2425 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* p) argument
2464 drawRect(float left, float top, float right, float bottom, SkPaint* p) argument
2997 const float left = x; local
3031 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument
3054 drawTextureRect(float left, float top, float right, float bottom, Texture* texture, SkPaint* paint) argument
3078 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument
3084 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
[all...]
/frameworks/rs/scriptc/
H A Drs_math.rsh94 * @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/support/renderscript/v8/rs_support/scriptc/
H A Drs_math.rsh94 * @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/base/services/java/com/android/server/wm/
H A DBlackFrame.java33 final int left; field in class:BlackFrame.BlackSurface
40 left = l;
63 mTmpMatrix.setTranslate(left, top);
72 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): ("
101 pw.print(" left="); pw.print(bs.left);
115 outer.left, outer.top, inner.right, inner.top, layerStack);
117 if (outer.left < inner.left) {
119 outer.left, inne
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c71 * Info 701: Shift left of signed quantity (int)
134 u32 left; member in struct:__anon809
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 DSampleTable.cpp526 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 DTouch.java45 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);
69 // direction to resolve it to left or right
70 x = left - (availableWidth - actualWidth);
72 x = left;
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditor.java246 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/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsScrollViewPerformanceHelper.java82 int left, int right, int top, int bottom, int scrollX, int scrollY,
118 if (!mIsVertical && (left + length > right - length)) {
119 length = (right - left) / 2;
138 matrix.postTranslate(left, top);
140 canvas.drawRect(left, top, right, top + length, p);
146 matrix.postTranslate(left, bottom);
148 canvas.drawRect(left, bottom - length, right, bottom, p);
154 matrix.postTranslate(left, top);
156 canvas.drawRect(left, top, left
81 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength) argument
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h81 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 DFocusFinder.java125 // make up a rect at top left or bottom right of root
286 * @param direction the direction (up, down, left, right)
343 // for example, for direction left, if rect1 is to the left of the source
375 * checks whether the dest is at least partially to the direction of (e.g left of)
384 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
385 && srcRect.left > destRect.left;
387 return (srcRect.left < destRect.left || srcRec
[all...]
H A DGLES20Canvas.java174 int left, int top, int right, int bottom);
236 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom,
244 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, argument
438 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top,
446 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top,
451 public boolean clipRect(float left, float top, float right, float bottom) { argument
452 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
455 private static native boolean nClipRect(int renderer, float left, float top, argument
459 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
460 return nClipRect(mRenderer, left, to
173 nUpdateRenderLayer(int layerId, int renderer, int displayList, int left, int top, int right, int bottom) argument
464 clipRect(int left, int top, int right, int bottom) argument
468 nClipRect(int renderer, int left, int top, int right, int bottom, int op) argument
517 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
521 nQuickReject(int renderer, float left, float top, float right, float bottom, int edge) argument
626 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument
642 nSaveLayer(int renderer, float left, float top, float right, float bottom, int paint, int saveFlags) argument
657 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument
665 nSaveLayerAlpha(int renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
728 nDrawArc(int renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, int paint) argument
751 nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, float left, float top, float right, float bottom, int paint) argument
755 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument
767 nDrawBitmap( int renderer, int bitmap, byte[] buffer, float left, float top, int paint) argument
841 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
987 nDrawOval(int renderer, float left, float top, float right, float bottom, int paint) argument
1118 drawRect(float left, float top, float right, float bottom, Paint paint) argument
1128 nDrawRect(int renderer, float left, float top, float right, float bottom, int paint) argument
1157 nDrawRoundRect(int renderer, float left, float top, float right, float bottom, float rx, float y, int paint) argument
[all...]
H A DGLES20DisplayList.java249 public void setLeft(int left) { argument
251 nSetLeft(mFinalizer.mNativeDisplayList, left);
277 public void setLeftTop(int left, int top) { argument
279 nSetLeftTop(mFinalizer.mNativeDisplayList, left, top);
284 public void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
286 nSetLeftTopRightBottom(mFinalizer.mNativeDisplayList, left, top, right, bottom);
307 private static native void nSetLeftTopRightBottom(int displayList, int left, int top, argument
309 private static native void nSetLeftTop(int displayList, int left, int top); argument
313 private static native void nSetLeft(int displayList, int left); argument
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h42 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/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientsActivity.java223 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/av/libvideoeditor/vss/common/inc/
H A DVideoEditorResampler.h28 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) ;
/frameworks/av/media/libmedia/
H A DMetadata.cpp146 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 Dms_stereo.c107 Word32 left, right; local
108 left = (mdctSpectrumLeft[j] >> 1);
110 mdctSpectrumLeft[j] = left + right;
111 mdctSpectrumRight[j] = left - right;
/frameworks/base/core/tests/coretests/src/android/view/
H A DGlobalFocusChange.java35 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this);
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c52 short left; member in struct:__anon1696
153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0;
154 sine[i].right = sine[i].left;
157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768;
158 square[i].right = square[i].left;
161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;
162 sawtooth[i].right = sawtooth[i].left;
165 half[i].left = sine[i].left;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 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;
297 int left, int top, int right, int bottom) {
303 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
338 rect.left
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
296 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
371 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]

Completed in 355 milliseconds

1234567891011>>