Searched defs:right (Results 151 - 175 of 242) sorted by relevance

12345678910

/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp121 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
122 android::uirenderer::Rect clipBounds(left, top, right, bottom);
143 jint right, jint bottom, jfloat radius, jfloat alpha) {
145 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
282 jobject clazz, jlong renderNodePtr, int right) {
283 return SET_AND_DIRTY(setRight, right, RenderNode::X);
293 int right, int bottom) {
295 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
120 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
281 android_view_RenderNode_setRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, int right) argument
291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
H A Dandroid_view_SurfaceControl.cpp71 jfieldID right; member in struct:android::__anon874
129 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local
131 Rect sourceCrop(left, top, right, bottom);
200 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local
202 Rect sourceCrop(left, top, right, bottom);
672 gRectClassInfo.right = env->GetFieldID(rectClazz, "right", "I");
/frameworks/base/graphics/java/android/graphics/
H A DPath.java438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
526 * @param right The right side of a rectangle to add to the path
530 public void addRect(float left, float top, float right, floa argument
550 addOval(float left, float top, float right, float bottom, Direction dir) argument
585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
819 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java152 public void setBounds(int left, int top, int right, int bottom) { argument
160 oldBounds.right != right || oldBounds.bottom != bottom) {
165 mBounds.set(left, top, right, bottom);
175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
455 // For right now only BitmapDrawable has it.
542 * @param right
545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
694 * (right-to left). See {@link android.util.LayoutDirection}.
703 * right
[all...]
H A DLayerDrawable.java329 * @param right The right padding of the new layer.
332 ChildDrawable addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, argument
341 childDrawable.mInsetR = right;
455 * @param r number of pixels to subtract from the right bound
536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
542 padding.right = 0;
553 padding.right += mPaddingR[i];
561 padding.right = 0;
572 padding.right
605 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
H A DRippleDrawable.java573 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
575 mHotspotBounds.set(left, top, right, bottom);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp64 float right, float bottom, bool opaque) {
119 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument
125 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, flags));
163 bool DisplayListRenderer::clipRect(float left, float top, float right, float bottom, argument
165 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op));
166 return StatefulBaseRenderer::clipRect(left, top, right, bottom, op);
253 float left, float top, float right, float bottom, const SkPaint* paint) {
258 addDrawOp(new (alloc()) DrawPatchOp(bitmap, patch, left, top, right, bottom, paint));
267 status_t DisplayListRenderer::drawRect(float left, float top, float right, float bottom, argument
270 addDrawOp(new (alloc()) DrawRectOp(left, top, right, botto
63 prepareDirty(float left, float top, float right, float bottom, bool opaque) argument
252 drawPatch(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
274 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
281 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
315 drawOval(float left, float top, float right, float bottom, const SkPaint* paint) argument
322 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
[all...]
H A DOpenGLRenderer.h136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
146 virtual int saveLayer(float left, float top, float right, float bottom, argument
148 return saveLayer(left, top, right, bottom, paint, flags, NULL);
153 int saveLayer(float left, float top, float right, float bottom,
156 int saveLayerDeferred(float left, float top, float right, float bottom,
173 float left, float top, float right, float bottom, const SkPaint* paint);
175 float left, float top, float right, float bottom, const SkPaint* paint);
177 virtual status_t drawRect(float left, float top, float right, float bottom,
179 virtual status_t drawRoundRect(float left, float top, float right, float bottom,
182 virtual status_t drawOval(float left, float top, float right, floa
327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java559 * @param right Right position in pixels, relative to the overlay view.
565 public void layoutSurface(final int left, final int top, final int right, argument
567 if (left > right || top > bottom) {
575 + right + ", b=" + bottom + ",)");
577 mSessionCallback.onLayoutSurface(left, top, right, bottom);
976 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1003 frame.right - frame.left, frame.bottom - frame.top,
1023 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1031 mWindowParams.width = frame.right - frame.left;
H A DTvView.java574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
576 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right
583 mSurfaceView.layout(0, 0, right - left, bottom - top);
1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1062 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right="
1063 + right + ", bottom=" + bottom + ",)");
1071 mSurfaceViewRight = right;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java102 public void drawFadedEdges(Canvas c, int left, int right, int top, int bottom); argument
803 int right = left + getRight() - getLeft() - getPaddingRight() - paddingLeft;
808 right += getRightPaddingOffset();
811 mRecentsContainer.drawFadedEdges(canvas, left, right, top, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java646 mLayoutAlgorithm.mTaskRect.width() + mTmpRect.left + mTmpRect.right,
657 * This is called with the size of the space not including the top or right insets, or the
662 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
674 mLayoutAlgorithm.mTaskRect.right + mTmpRect.right,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java501 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
502 super.onLayout(changed, left, top, right, bottom);
629 float right = getWidth() - left;
649 mAppearAnimationRect.set(left, top, right, bottom);
650 setOutlineRect(left, top + mAppearAnimationTranslation, right,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java615 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
616 super.onLayout(changed, left, top, right, bottom);
934 onEdgeClicked(false /* right */);
938 onEdgeClicked(true /* right */);
975 protected abstract void onEdgeClicked(boolean right); argument
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java299 // might need them right away.
1218 public void foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, argument
1225 + "] - right[" + rightIndex + "]\n");
1227 builder.append("right=").append(right).append('\n');
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java300 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument
308 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
323 float left, float top, float right, float bottom, int dir) {
329 pathDelegate.addRect(left, top, right, bottom, dir);
333 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument
341 left, top, right - left, bottom - top), false);
357 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument
366 left, top, right - left, bottom - top,
371 /*package*/ static void native_addRoundRect(long nPath, float left, float top, float right, argument
380 left, top, right
322 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
384 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
727 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
760 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java98 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
/frameworks/native/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...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java544 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java292 boolean bottom, boolean right) {
303 if (right && lp.rightMargin != insets.right) {
305 lp.rightMargin = insets.right;
477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
481 final int parentRight = right - left - getPaddingRight();
291 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
H A DAdapterViewCompat.java543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
994 * and then alternates between moving up and moving down until 1) we find the right position, or
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java899 // FIXME: this may not be right for something like wrapping text?
1322 // FIXME: this may not be right for something like wrapping text?
1418 * @param right
1421 void layoutVertical(int left, int top, int right, int bottom) { argument
1427 // Where right end of child should go
1428 final int width = right - left;
1513 * @param right
1516 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1544 childLeft = getPaddingLeft() + right - left - mTotalLength;
1549 childLeft = getPaddingLeft() + (right
[all...]
H A DSwitchCompat.java508 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
534 // Adjust left and right padding to ensure there's enough room for the
537 int paddingRight = padding.right;
585 mTempRect.left + mTempRect.right + mTouchSlop;
767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
768 super.onLayout(changed, left, top, right, bottom);
851 final int thumbRight = thumbInitialLeft + mThumbWidth + padding.right;
904 cX = bounds.left + bounds.right;
962 return mSwitchWidth - mThumbWidth - padding.left - padding.right;
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp624 status_t AudioTrack::setVolume(float left, float right) argument
628 isnanf(right) || right < GAIN_FLOAT_ZERO || right > GAIN_FLOAT_UNITY) {
634 mVolume[AUDIO_INTERLEAVE_RIGHT] = right;
636 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right)));
2072 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp182 // Deal with empty and ANY right away
417 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n",
642 // determine if we have the right player type
664 // create the right type of player
788 // create the right type of player
1310 // create the right type of player
1365 // create the right type of player
1843 void MediaPlayerService::AudioOutput::setVolume(float left, float right) argument
1845 ALOGV("setVolume(%f, %f)", left, right);
1847 mRightVolume = right;
[all...]

Completed in 864 milliseconds

12345678910