Searched defs:right (Results 1 - 25 of 75) sorted by last modified time

123

/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java294 public int saveLayer(float left, float top, float right, float bottom, argument
296 return native_saveLayer(mNativeCanvas, left, top, right, bottom,
325 public int saveLayerAlpha(float left, float top, float right, float bottom, argument
327 return native_saveLayerAlpha(mNativeCanvas, left, top, right, bottom,
465 rect.left, rect.top, rect.right, rect.bottom,
479 rect.left, rect.top, rect.right, rect.bottom,
509 * @param right The right side of the rectangle to intersect with the
516 public boolean clipRect(float left, float top, float right, float bottom, argument
518 return native_clipRect(mNativeCanvas, left, top, right, botto
535 clipRect(float left, float top, float right, float bottom) argument
551 clipRect(int left, int top, int right, int bottom) argument
682 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
868 drawRect(float left, float top, float right, float bottom, Paint paint) argument
1470 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
1491 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument
1508 native_drawRect(int nativeCanvas, float left, float top, float right, float bottom, int paint) argument
[all...]
H A DPath.java362 * @param right The right side of a rectangle to add to the path
366 public void addRect(float left, float top, float right, float bottom, argument
368 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
427 * two radius values [X, Y]. The corners are ordered top-left, top-right,
428 * bottom-right, bottom-left
573 float right, float bottom, int dir);
572 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
H A DRect.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public int right; field in class:Rect
49 * checking is performed, so the caller must ensure that left <= right and
54 * @param right The X coordinate of the right side of the rectagle
57 public Rect(int left, int top, int right, int bottom) { argument
60 this.right = right;
74 right
235 set(int left, int top, int right, int bottom) argument
327 contains(int left, int top, int right, int bottom) argument
369 intersect(int left, int top, int right, int bottom) argument
442 intersects(int left, int top, int right, int bottom) argument
472 union(int left, int top, int right, int bottom) argument
[all...]
H A DRectF.java26 * represented by the coordinates of its 4 edges (left, top, right bottom).
29 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
34 public float right; field in class:RectF
44 * checking is performed, so the caller must ensure that left <= right and
49 * @param right The X coordinate of the right side of the rectagle
52 public RectF(float left, float top, float right, float bottom) { argument
55 this.right = right;
69 right
141 set(float left, float top, float right, float bottom) argument
246 contains(float left, float top, float right, float bottom) argument
288 intersect(float left, float top, float right, float bottom) argument
361 intersects(float left, float top, float right, float bottom) argument
410 union(float left, float top, float right, float bottom) argument
[all...]
H A DRegion.java56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
61 public Region(int left, int top, int right, int bottom) { argument
63 nativeSetRect(mNativeRegion, left, top, right, bottom);
81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
86 public boolean set(int left, int top, int right, int bottom) { argument
87 return nativeSetRect(mNativeRegion, left, top, right, bottom);
166 return quickContains(r.left, r.top, r.right, r.bottom);
175 public native boolean quickContains(int left, int top, int right, argument
184 return quickReject(r.left, r.top, r.right, r.bottom);
192 public native boolean quickReject(int left, int top, int right, in argument
251 op(int left, int top, int right, int bottom, Op op) argument
353 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
361 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java121 public void setBounds(int left, int top, int right, int bottom) { argument
129 oldBounds.right != right || oldBounds.bottom != bottom) {
130 mBounds.set(left, top, right, bottom);
140 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
H A DLayerDrawable.java132 int right = a.getDimensionPixelOffset(
157 addLayer(dr, id, left, top, right, bottom);
171 * @param right The right padding of the new layer.
174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { argument
194 childDrawable.mInsetR = right;
283 right -= r;
339 padding.right = 0;
347 padding.right += mPaddingR[i];
452 bounds.right
[all...]
H A DShapeDrawable.java120 * @param right padding for the right side (in pixels)
123 public void setPadding(int left, int top, int right, int bottom) { argument
124 if ((left | top | right | bottom) == 0) {
130 mShapeState.mPadding.set(left, top, right, bottom);
136 * Define the padding in the Rect object as: left, top, right, bottom.
/frameworks/base/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 &&
225 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
232 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
237 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
246 inline int next(TYPE& left, TYPE& right) argument
250 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
262 void advance(region& reg, TYPE& left, TYPE& right) { argument
[all...]
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h50 int32_t right; member in struct:android_native_rect_t
/frameworks/base/include/utils/
H A DList.h116 inline bool operator==(const _Iter& right) const {
117 return mpNode == right.mpNode; }
119 inline bool operator!=(const _Iter& right) const {
120 return mpNode != right.mpNode; }
126 inline bool operator==(const OTHER& right) const {
127 return mpNode == right.mpNode; }
130 inline bool operator!=(const OTHER& right) const {
131 return mpNode != right.mpNode; }
178 List<T>& operator=(const List<T>& right);
313 List<T>& List<T>::operator=(const List<T>& right) argument
[all...]
/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; local
40 right = (LVM_INT32)*src;
44 temp1 = (left+right)>>1;
49 temp1 = (left-right)>>1;
/frameworks/base/media/libeffects/testlibs/
H A DEffectReverb.c368 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local
369 LOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1605 // left input = (left dry * m_nLateGain) + right feedback from previous period
1641 // right input = (right dry * m_nLateGain) + left feedback from previous period
1711 // sum is fedback to right input (R + L)
1775 // ********** start early reflection generator, right
1804 // ********** end early reflection generator, right
/frameworks/base/media/libmedia/
H A DAudioTrack.cpp438 status_t AudioTrack::setVolume(float left, float right) argument
440 if (left > 1.0f || right > 1.0f) {
445 mVolume[RIGHT] = right;
448 mCblk->volumeLR = (uint32_t(uint16_t(right * 0x1000)) << 16) | uint16_t(left * 0x1000);
453 void AudioTrack::getVolume(float* left, float* right) argument
458 if (right != NULL) {
459 *right = mVolume[RIGHT];
1075 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType, mVolume[0], mVolume[1]);
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp173 // Deal with empty and ANY right away
326 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n",
792 // determine if we have the right player type
829 // create the right type of player
879 // create the right type of player
1217 // create the right type of player
1260 // create the right type of player
1501 void MediaPlayerService::AudioOutput::setVolume(float left, float right) argument
1503 LOGV("setVolume(%f, %f)", left, right);
1505 mRightVolume = right;
[all...]
H A DMediaPlayerService.h94 void setVolume(float left, float right);
151 void setVolume(float left, float right) {} argument
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c107 Word32 left, right; local
109 right = (mdctSpectrumRight[j] >> 1);
110 mdctSpectrumLeft[j] = left + right;
111 mdctSpectrumRight[j] = left - right;
/frameworks/base/native/include/android/
H A Drect.h28 int32_t right; member in struct:ARect
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java615 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
619 float right,
626 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
630 int right,
990 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
994 float right,
1001 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
1005 int right,
617 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
628 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
992 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
1003 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
H A DGLES11Ext.java343 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
347 int right,
574 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
578 int right,
942 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
946 float right,
953 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
957 float right,
345 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
576 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
944 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
955 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
H A DGLErrorWrapper.java333 public void glFrustumf(float left, float right, float bottom, float top, argument
336 mgl.glFrustumf(left, right, bottom, top, near, far);
340 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
343 mgl.glFrustumx(left, right, bottom, top, near, far);
607 public void glOrthof(float left, float right, float bottom, float top, argument
610 mgl.glOrthof(left, right, bottom, top, near, far);
614 public void glOrthox(int left, int right, int bottom, int top, int near, argument
617 mgl.glOrthox(left, right, bottom, top, near, far);
H A DGLLogWrapper.java1666 public void glFrustumf(float left, float right, float bottom, float top, argument
1670 arg("right", right);
1677 mgl.glFrustumf(left, right, bottom, top, near, far);
1681 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
1685 arg("right", right);
1692 mgl.glFrustumx(left, right, bottom, top, near, far);
2158 public void glOrthof(float left, float right, float bottom, float top, argument
2162 arg("right", righ
2173 glOrthox(int left, int right, int bottom, int top, int near, int far) argument
[all...]
H A DGLU.java88 * @param right
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
116 float right = top * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
H A DMatrix.java60 * @param rhs The float array that holds the right-hand-side matrix.
83 * @param rhsVec The float array that holds the right-hand-side vector.
229 * @param right
236 float left, float right, float bottom, float top,
238 if (left == right) {
239 throw new IllegalArgumentException("left == right");
248 final float r_width = 1.0f / (right - left);
254 final float tx = -(right + left) * r_width;
282 * @param right
290 float left, float right, floa
235 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
289 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java428 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
432 float right,
439 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
443 int right,
798 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
802 float right,
809 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
813 int right,
430 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
441 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
800 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
811 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument

Completed in 236 milliseconds

123