Searched defs:right (Results 51 - 75 of 75) sorted by relevance

123

/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/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, right, botto
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...]
H A Degl.cpp246 : left(0), top(0), right(w), bottom(h) { }
248 : left(l), top(t), right(r), bottom(b) { }
252 right = min(right, r.right);
257 return (left>=right || top>=bottom);
261 what, left, top, right-left, bottom-top);
266 int32_t right; member in struct:android::egl_window_surface_v2_t::Rect
282 storage->right = lhs.right;
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp266 png_bytepp rows, int left, int top, int right, int bottom)
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));
349 int right; local
379 // Find left and right o
265 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DEditStyledText.java1548 private boolean right(TextView widget, Spannable buffer) { method in class:EditStyledText.StyledTextArrowKeyMethod
1550 Log.d(LOG_TAG, "--- right:");
1577 handled |= right(widget, buffer);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp235 jfloat top, jfloat right, jfloat bottom) {
239 SkFloatToScalar(right), SkFloatToScalar(bottom));
245 jint top, jint right, jint bottom) {
249 SkIntToScalar(right), SkIntToScalar(bottom));
270 float left, float top, float right, float bottom,
274 SkFloatToScalar(right), SkFloatToScalar(bottom));
306 jfloat left, jfloat top, jfloat right,
310 SkFloatToScalar(right), SkFloatToScalar(bottom));
407 jfloat left, jfloat top, jfloat right,
411 SkScalar right_ = SkFloatToScalar(right);
234 clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
244 clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, jint top, jint right, jint bottom) argument
269 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument
305 quickReject__FFFFI(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, int edgetype) argument
406 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp862 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
865 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
868 (GLfloat)right,
876 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
879 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
882 (GLfixed)right,
2807 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2810 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2813 (GLfloat)right,
2821 /* void glOrthox ( GLfixed left, GLfixed right, GLfixe
864 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
878 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2809 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2823 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp670 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
673 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
676 (GLfixed)right,
1354 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1357 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1360 (GLfixed)right,
1863 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1866 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1869 (GLfloat)right,
1877 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloa
672 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1356 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1865 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1879 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp988 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
991 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
994 (GLfloat)right,
1002 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1005 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1008 (GLfixed)right,
2933 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2936 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2939 (GLfloat)right,
2947 /* void glOrthox ( GLfixed left, GLfixed right, GLfixe
990 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1004 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2935 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2949 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
/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...]
/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...]
/frameworks/base/opengl/java/android/opengl/
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 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 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...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java196 return clipRect(thisCanvas, rect.left, rect.top, rect.right, rect.bottom);
202 (float) rect.right, (float) rect.bottom);
206 /*package*/ static boolean clipRect(Canvas thisCanvas, float left, float top, float right, argument
214 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
218 /*package*/ static boolean clipRect(Canvas thisCanvas, int left, int top, int right, argument
221 return clipRect(thisCanvas, (float) left, (float) top, (float) right, (float) bottom);
485 float right, float bottom,
494 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
560 bounds.right = rect.x + rect.width;
604 float right, floa
483 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
602 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument
685 native_drawRect(int nativeCanvas, final float left, final float top, final float right, final float bottom, int paint) argument
1254 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java1171 public void setPadding(int left, int top, int right, int bottom) { argument
1172 super.setPadding(left, top, right, bottom);
1465 * the canvas in the right state. This includes clipping, translating so
3143 * pass to a particular child. This method figures out the right MeasureSpec
3655 * The right margin in pixels of the child.
3737 * @param right the right margin size
3745 public void setMargins(int left, int top, int right, int bottom) { argument
3748 rightMargin = right;
H A DView.java295 * right of the left edge of its direct parent.
301 * These methods return the coordinates of the right and bottom edges of the
333 * is expressed in pixels for the left, top, right and bottom parts of the view.
336 * 2 pixels to the right of the left edge. Padding can be set using the
954 * Use with {@link #focusSearch}. Move focus to the right.
1646 * to the right edge of this view.
1689 * The right padding in pixels, that is the distance in pixels between the
1690 * right edge of this view and the right edge of its content.
3075 mPaddingRight = insets.right;
5437 postInvalidate(int left, int top, int right, int bottom) argument
5470 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
7194 onLayout(boolean changed, int left, int top, int right, int bottom) argument
7210 setFrame(int left, int top, int right, int bottom) argument
7654 setPadding(int left, int top, int right, int bottom) argument
9261 int right; field in class:View.AttachInfo.InvalidateInfo
[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
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java1972 private void sendViewInvalidate(int left, int top, int right, int bottom) { argument
1976 new Rect(left, top, right, bottom)).sendToTarget();
H A DWebView.java2208 contentToViewX(x.right), contentToViewY(x.bottom));
2221 the bottom/right coordinates. This catches the possible extra pixels of
2249 viewInvalidate(r.left, r.top, r.right, r.bottom);
2381 + globalRect.top + ",r=" + globalRect.right + ",b="
2413 r.right = Math.min(viewToContentX(r.right), mContentWidth);
2431 r.right = Math.min(viewToContentXf(ri.right), (float)mContentWidth);
2596 // Don't show left/right glows if we fit the whole content.
3491 int right
4641 setFrame(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java227 * The selection's right padding
1240 listPadding.right = mSelectionRightPadding + mPaddingRight;
1270 protected boolean setFrame(int left, int top, int right, int bottom) { argument
1271 final boolean changed = super.setFrame(left, top, right, bottom);
1378 * @return The right list padding.
1381 return mListPadding.right;
1446 positionSelector(selectorRect.left, selectorRect.top, selectorRect.right,
1572 mSelectionRightPadding = padding.right;
1943 // get the selector in the right state, but we don't want to press each child.
3806 sX = source.right;
[all...]
H A DTextView.java1259 * Returns the right padding of the view, plus space for the right
1346 * Returns the total right padding of the view, including the right
1373 * to the right of, and below the text. Use null if you do not
1383 Drawable right, Drawable bottom) {
1387 || right != null || bottom != null;
1426 if (dr.mDrawableRight != right && dr.mDrawableRight != null) {
1429 dr.mDrawableRight = right;
1451 if (right !
1382 setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
1502 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument
1521 setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
1585 setPadding(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java498 float right,
507 int right,
747 float right,
756 int right,
496 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
505 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
745 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
754 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/services/audioflinger/
H A DAudioFlinger.cpp1798 int16_t left, right, aux; local
1804 right = int16_t(v_clamped);
1822 mAudioMixer->setParameter(param, AudioMixer::VOLUME1, (void *)right);
2253 float left, right; local
2256 left = right = 0;
2268 right = v_clamped/MAX_GAIN;
2271 if (left != mLeftVolFloat || right != mRightVolFloat) {
2273 mRightVolFloat = right;
2277 if (mOutput->setVolume(left, right) == NO_ERROR) {
2279 right
3181 setVolume(float left, float right) argument
3634 setVolume(float left, float right) argument
5696 setVolume(uint32_t *left, uint32_t *right, bool controller) argument
6362 setVolume_l(uint32_t *left, uint32_t *right) argument
[all...]

Completed in 443 milliseconds

123