/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 783 status_t AudioTrack::setVolume(float left, float right) argument 787 isnanf(right) || right < GAIN_FLOAT_ZERO || right > GAIN_FLOAT_UNITY) { 793 mVolume[AUDIO_INTERLEAVE_RIGHT] = right; 795 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); 2525 // right after AudioTrack is started, one may not find a timestamp 2723 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 1806 int32_t left, top, right, bottom, width, height; local 1807 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1808 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 2171 ALOGW("Can't reclaim codec right now due to pending buffers."); 2931 int32_t left, top, right, bottom; local 2932 if (info->mData->format()->findRect("crop", &left, &top, &right, &bottom)) { 2933 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 793 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument 809 volume[1] = *right; 820 *right = volume[1]; 1864 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right, bool force) argument 1867 uint32_t newRight = *right; 1883 *left == mLeftVolume && *right == mRightVolume) { 1886 *right = mNewRightVolume; 1914 rVol = *right; 1919 *right = newRight; 1929 uint32_t right local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 105 left(left), top(top), right(right), bottom(bottom), 108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 104 * questionable whether this is the right way to expose the functionality. 1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom); 1758 public void setAppBounds(int left, int top, int right, int bottom) { argument 1763 appBounds.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 182 * @param align whether to left, right, or center the text. Styles can 202 * @param align whether to left, right, or center the text. Styles can 301 int right = mWidth; 341 right -= margin.getLeadingMargin(useFirstLineMargin); 379 return right - left - indentWidth; 414 int right = mWidth; 447 // Draw all leading margin spans. Adjust left or right according 467 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, 470 right -= margin.getLeadingMargin(useFirstLineMargin); 510 x = right 659 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 121 * // by x pixels to the right and redraw this view. All the commands 293 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 343 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); 716 * Sets the right position for the display list. 718 * @param right The right position, in pixels, of the display list 722 public boolean setRight(int right) { argument 723 return nSetRight(mNativeRenderNode, right); 742 * @param right The right positio 750 setLeftTopRightBottom(int left, int top, int right, int bottom) argument 869 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 874 nSetRight(long renderNode, int right) argument 892 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument 901 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument [all...] |
H A D | ThreadedRenderer.java | 532 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 537 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; 706 * @param right The right side of the protected bounds. 709 public void setContentDrawBounds(int left, int top, int right, int bottom) { argument 710 nSetContentDrawBounds(mNativeProxy, left, top, right, bottom); 878 srcRect.right, srcRect.bottom, bitmap); 1030 int top, int right, int bottom); 1029 nSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1690 public void updateCursor(View view, int left, int top, int right, int bottom) { argument 1699 mTmpCursorRect.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 645 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1044 // First right-of-refusal goes the touch exploration helper.
|
H A D | SearchView.java | 366 public void onLayoutChange(View v, int left, int top, int right, int bottom, 556 * @param submit whether to submit the query right now or only update the contents of 819 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 820 super.onLayout(changed, left, top, right, bottom); 827 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top); 1081 // Next, check for left/right moves, which we use to "return" the 1085 // left key, at end if right key 1086 // TODO: Reverse left/right for right-to-left languages, e.g. 1445 + dropDownPadding.right [all...] |
H A D | StackView.java | 1056 // if we get onLayout() right before this method is called. 1103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1323 globalInvalidateRect.right, globalInvalidateRect.bottom); 1327 globalInvalidateRect.right, globalInvalidateRect.bottom); 1356 int right = Math.max(mView.getRight() + horizontalOffsetDelta, mView.getRight()); 1360 invalidateRectf.set(left, top, right, bottom); 1370 (int) Math.ceil(invalidateRectf.right),
|
H A D | Toolbar.java | 1169 * @param contentInsetRight Content inset for the toolbar's right edge 1205 * Gets the right content inset for this toolbar. 1211 * @return The right content inset for this toolbar 1358 * Gets the content inset that will be used on the right side of the bar in the current 1361 * @return the current content inset right in pixels 1707 int right = width - paddingRight; 1718 right = layoutChildRight(mNavButtonView, right, collapsingMargins, 1728 right = layoutChildRight(mCollapseButtonView, right, collapsingMargin 1948 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 166 jfloat left, jfloat top, jfloat right, jfloat bottom) { 167 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 268 jfloat right, jfloat bottom, jlong paintHandle) { 270 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 281 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) { 283 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 293 jfloat right, jfloat bottom, jlong paintHandle) { 295 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 299 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 302 get_canvas(canvasHandle)->drawArc(left, top, right, botto 165 quickRejectRect(jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 267 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 280 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument 292 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 298 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument 343 drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong chunkHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle, jint dstDensity, jint srcDensity) argument [all...] |
H A D | android_view_SurfaceControl.cpp | 68 jfieldID right; member in struct:android::__anon1140 138 int right = env->GetIntField(rectObj, gRectClassInfo.right); local 140 return Rect(left, top, right, bottom); 255 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local 257 Rect sourceCrop(left, top, right, bottom); 886 gRectClassInfo.right = GetFieldIDOrDie(env, rectClazz, "right", "I");
|
H A D | android_view_ThreadedRenderer.cpp | 851 jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) { 853 proxy->setContentDrawBounds(left, top, right, bottom); 858 jint right, jint bottom, jobject jbitmap) { 862 return RenderProxy::copySurfaceInto(surface, left, top, right, bottom, &bitmap); 850 android_view_ThreadedRenderer_setContentDrawBounds(JNIEnv* env, jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) argument 856 android_view_ThreadedRenderer_copySurfaceInto(JNIEnv* env, jobject clazz, jobject jsurface, jint left, jint top, jint right, jint bottom, jobject jbitmap) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 445 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 483 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument 485 return nSaveLayer(mNativeCanvasWrapper, left, top, right, bottom, 494 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument 495 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 531 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 552 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 555 return nSaveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, 563 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 564 return saveLayerAlpha(left, top, right, botto 856 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument 874 clipRect(float left, float top, float right, float bottom) argument 889 clipOutRect(float left, float top, float right, float bottom) argument 907 clipRect(int left, int top, int right, int bottom) argument 922 clipOutRect(int left, int top, int right, int bottom) argument 1106 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument 1279 nClipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument 1290 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 1350 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument 1605 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1754 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1791 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 466 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 467 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom); 1538 * to the last seen RenderNode target and start right away.
|
H A D | DrawableContainer.java | 106 result = (r.left | r.top | r.bottom | r.right) != 0; 116 final int right = padding.right; 117 padding.left = right; 118 padding.right = left; 308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 310 mHotspotBounds = new Rect(left, top, right, bottom); 312 mHotspotBounds.set(left, top, right, bottom); 316 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 561 hotspotBounds.right, hotspotBound [all...] |
H A D | LayerDrawable.java | 458 * @param right The right padding of the new layer. 462 int left, int top, int right, int bottom) { 469 childDrawable.mInsetR = right; 762 * @param r number of pixels to subtract from the right bound 815 * @param r number of pixels to inset from the right bound 825 * @return number of pixels to inset from the right bound 1052 padding.right = paddingR; 1059 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 1074 * @param right th 461 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 1083 setPadding(int left, int top, int right, int bottom) argument 1297 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 442 bool setRight(int right) { argument 443 if (RP_SET(mPrimitiveFields.mRight, right)) { 478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 480 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { 483 mPrimitiveFields.mRight = right;
|
H A D | SkiaCanvas.cpp | 186 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument 188 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 194 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, argument 199 return this->saveLayer(left, top, right, bottom, &alphaPaint, flags); 201 return this->saveLayer(left, top, right, bottom, nullptr, flags); 376 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 377 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 385 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 386 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 482 void SkiaCanvas::drawRect(float left, float top, float right, floa argument 494 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 506 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 512 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 746 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 687 * @param right Right position in pixels, relative to the overlay view. 691 public void layoutSurface(final int left, final int top, final int right, argument 693 if (left > right || top > bottom) { 702 + right + ", b=" + bottom + ",)"); 704 mSessionCallback.onLayoutSurface(left, top, right, bottom); 1236 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1266 frame.right - frame.left, frame.bottom - frame.top, 1286 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1294 mWindowParams.width = frame.right - frame.left;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 566 int32_t left, top, right, bottom; local 567 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) { 576 rectClazz.get(), rectConstructID, left, top, right + 1, bottom + 1);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 351 int right, 578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 582 int right, 946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 950 float right, 957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 961 float right, 349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument 959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
|