Searched defs:left (Results 76 - 100 of 135) sorted by relevance

123456

/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c54 * Info 701: Shift left of signed quantity (int)
95 pRef pointer to reference frame Cb top-left corner
2135 i32 left,
2156 (overfilling some pels on left and/or right edge).
2159 left amount of pixels to overfill on left-edge
2170 i32 left,
2179 if (left)
2182 for ( ; left; left
2132 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2167 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2236 i32 left, x, right; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java383 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument
386 final float right = left + mBackgroundWidth;
394 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom);
443 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument
446 left, bottom, 0.0f, 0.0f, 1.0f,
448 left, top, 0.0f, 0.0f, 0.0f,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java320 pathDelegate.addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
325 float left, float top, float right, float bottom, int dir) {
331 pathDelegate.addRect(left, top, right, bottom, dir);
342 oval.left, oval.top, oval.width(), oval.height()), false);
367 oval.left, oval.top, oval.width(), oval.height(),
381 rect.left, rect.top, rect.width(), rect.height(), rx * 2, ry * 2), false);
559 bounds.left = (float)rect.getMinX();
711 Arc2D arc = new Arc2D.Float(oval.left, oval.top, oval.width(), oval.height(), -startAngle,
735 * @param left The left sid
324 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
741 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/media/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp592 int left, top, right, bottom; local
593 if (meta->findRect(kKeyCropRect, &left, &top, &right, &bottom)) {
594 mWidth = right - left + 1;
H A DVideoEditorPlayer.cpp505 void VideoEditorPlayer::VeAudioOutput::setVolume(float left, float right) { argument
507 LOGV("setVolume(%f, %f)", left, right);
508 mLeftVolume = left;
511 mTrack->setVolume(left, right);
543 snprintf(buffer, SIZE-1, " stream type(%d), left - right volume(%f, %f)\n",
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java947 * @param left
956 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
962 invalidate.set(left, top, right, bottom);
980 * @param left
987 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
989 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DAdapterView.java525 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DAdapterViewAnimator.java746 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java290 // the left & right bounds
293 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ?
298 indicatorRect.left = mIndicatorLeft;
302 indicatorRect.left += mPaddingLeft;
308 if (indicatorRect.left != indicatorRect.right) {
1031 * @param left The left position (relative to the left bounds of this View)
1033 * @param right The right position (relative to the left bounds of this
1036 public void setChildIndicatorBounds(int left, in argument
1067 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java750 * (excluding fading edges) pretending that this View's left is located at
751 * the parameter left.
754 * @param leftFocus look for a candidate is the one at the left of the bounds
757 * @param left the left offset of the bounds in which a focusable must be
764 final int left, View preferredFocusable) {
771 final int leftWithoutFadingEdge = left + fadingEdgeLength;
772 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength;
789 * @param leftFocus look for a candidate is the one at the left of the bounds
792 * @param left th
763 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument
799 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument
945 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java337 final int left = child.getLeft() - lp.leftMargin;
338 drawVerticalDivider(canvas, left);
362 void drawVerticalDivider(Canvas canvas, int left) { argument
363 mDivider.setBounds(left, getPaddingTop() + mDividerPadding,
364 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
1627 private void setChildFrame(View child, int left, int top, int width, int height) { argument
1628 child.layout(left, top, left + width, top + height);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java303 * mFeedbackCount items in the order: left, right, top, bottom.
309 {mWaveCenterX - r, mWaveCenterY}, // left
314 {mWaveCenterX - chevronAnimationDistance, mWaveCenterY}, // left
372 view.invalidate((int) Math.floor(childBounds.left),
827 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
828 super.onLayout(changed, left, top, right, bottom);
829 final int width = right - left;
/frameworks/base/graphics/java/android/graphics/
H A DPath.java384 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
393 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
408 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir);
415 * @param left The left side of a rectangle to add to the path
421 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument
422 detectSimplePath(left, top, right, bottom, dir);
423 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
486 * two radius values [X, Y]. The corners are ordered top-left, top-right,
487 * bottom-right, bottom-left
636 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp385 float left = getFloat(); local
391 left, top, right, bottom);
734 float left = getFloat(); local
742 numColors, left, top, right, bottom, paint);
956 void DisplayListRenderer::prepareDirty(float left, float top, argument
1003 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument
1006 addBounds(left, top, right, bottom);
1012 int DisplayListRenderer::saveLayerAlpha(float left, float top, float right, float bottom, argument
1015 addBounds(left, top, right, bottom);
1057 bool DisplayListRenderer::clipRect(float left, floa argument
1082 drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument
1124 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
1142 drawRect(float left, float top, float right, float bottom, SkPaint* paint) argument
1149 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* paint) argument
1164 drawOval(float left, float top, float right, float bottom, SkPaint* paint) argument
1171 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) argument
[all...]
H A DDisplayListRenderer.h241 virtual void prepareDirty(float left, float top, float right, float bottom, bool opaque);
253 virtual int saveLayer(float left, float top, float right, float bottom,
255 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
266 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
271 virtual void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
280 float left, float top, float right, float bottom, SkPaint* paint);
282 virtual void drawRect(float left, float top, float right, float bottom, SkPaint* paint);
283 virtual void drawRoundRect(float left, float top, float right, float bottom,
286 virtual void drawOval(float left, float top, float right, float bottom, SkPaint* paint);
287 virtual void drawArc(float left, floa
388 addBounds(float left, float top, float right, float bottom) argument
[all...]
/frameworks/base/media/libeffects/testlibs/
H A DEffectReverb.c390 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24); local
392 LOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1660 // left input = (left dry * m_nLateGain) + right feedback from previous period
1696 // right input = (right dry * m_nLateGain) + left feedback from previous period
1769 // difference is feedback to left input (R - L)
1793 // ********** start early reflection generator, left
1828 // ********** end early reflection generator, left
/frameworks/base/media/libmedia/
H A DAudioTrack.cpp471 status_t AudioTrack::setVolume(float left, float right) argument
473 if (left > 1.0f || right > 1.0f) {
478 mVolume[LEFT] = left;
482 mCblk->volumeLR = (uint32_t(uint16_t(right * 0x1000)) << 16) | uint16_t(left * 0x1000);
487 void AudioTrack::getVolume(float* left, float* right) argument
489 if (left != NULL) {
490 *left = mVolume[LEFT];
1272 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType, mVolume[0], mVolume[1]);
/frameworks/base/media/libstagefright/
H A DOggExtractor.cpp322 size_t left = 0; local
324 while (left < right) {
325 size_t center = left / 2 + right / 2 + (left & right & 1);
332 left = center + 1;
334 left = right = center;
339 const TOCEntry &entry = mTableOfContents.itemAt(left);
342 left, mTableOfContents.size(), entry.mPageOffset);
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp811 GLfloat left, GLfloat right,
816 if (cmpf(left,right) ||
825 const GLfloat r_width = reciprocalf(right - left);
830 const GLfloat A = mul2f((right + left) * r_width);
853 GLfloat left, GLfloat right,
858 if (cmpf(left,right) ||
865 const GLfloat r_width = reciprocalf(right - left);
871 const GLfloat tx = -(right + left) * r_width;
995 GLfloat left, GLfloat right,
1000 frustumf(left, righ
810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
[all...]
/frameworks/base/services/audioflinger/
H A DAudioMixer.cpp513 int32_t mulAddRL(int left, uint32_t inRL, uint32_t vRL, int32_t a) argument
517 if (left) {
530 if (left) {
539 int32_t mulRL(int left, uint32_t inRL, uint32_t vRL) argument
543 if (left) {
556 if (left) {
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareInterface.h627 int left, int top, int right, int bottom)
631 crop.left = left;
626 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccCard.java779 private State getConsolidatedState(State left, State right, State preferredState) { argument
781 if (right == IccCard.State.ABSENT) return left;
782 if (left == IccCard.State.ABSENT) return right;
785 if ((left == IccCard.State.READY) && (right == IccCard.State.READY)) {
790 if (((right == IccCard.State.NOT_READY) && (left == IccCard.State.READY)) ||
791 ((left == IccCard.State.NOT_READY) && (right == IccCard.State.READY))) {
796 if (right == IccCard.State.NOT_READY) return left;
797 if (left == IccCard.State.NOT_READY) return right;
/frameworks/base/tools/aapt/
H A DImages.cpp266 png_bytepp rows, int left, int top, int right, int bottom)
268 png_bytep color = rows[top] + left*4;
270 if (left > right || top > bottom) {
275 for (int i = left; i <= right; i++) {
316 int left, right, top, bottom; local
319 image->width, &left, &right);
324 // hpatch, vpatch, left, top, right, bottom);
325 const uint32_t c = get_color(image->rows, left, top, right, bottom);
326 NOISY(printf("Color in (%d,%d)-(%d,%d): #%08x\n", left, top, right, bottom, c));
348 int left; local
265 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java107 * @param align whether to left, right, or center the text. Styles can
127 * @param align whether to left, right, or center the text. Styles can
314 int left = 0;
348 // Draw all leading margin spans. Adjust left or right according
367 margin.drawLeadingMargin(c, paint, left, dir, ltop,
370 left += margin.getLeadingMargin(useFirstLineMargin);
400 x = left;
410 x = left - max;
414 x = (right + left - max) >> 1;
433 * Return the start position of the line, given the left an
441 getLineStartPos(int line, int left, int right) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1281 public void updateCursor(View view, int left, int top, int right, int bottom) { argument
1290 mTmpCursorRect.set(left, top, right, bottom);

Completed in 489 milliseconds

123456