Searched defs:right (Results 176 - 200 of 336) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java367 childLayoutParams.right = (int) (itemLeft + itemWidth);
388 // Last child on each row should extend to very right edge
390 childLayoutParams.right = menuWidth;
439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument
62 bool result = dst->setRect(left, top, right, bottom);
91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument
95 ir.set(left, top, right, bottom);
139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom);
144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
146 ir.set(left, top, right, bottom);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp74 jfieldID right; member in struct:android::__anon1138
311 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right);
347 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect);
353 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right);
639 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableWrapper.java257 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
259 mDrawable.setHotspotBounds(left, top, right, bottom);
H A DShapeDrawable.java144 * @param right padding for the right side (in pixels)
147 public void setPadding(int left, int top, int right, int bottom) { argument
148 if ((left | top | right | bottom) == 0) {
154 mShapeState.mPadding.set(left, top, right, bottom);
161 * in the Rect object as: left, top, right, bottom.
/frameworks/base/libs/hwui/
H A DRecordedOp.h334 float* left, float* top, float* right, float* bottom, float *rx, float *ry)
338 , right(right)
344 const float* right; member in struct:android::uirenderer::RoundRectPropsOp
333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument
/frameworks/base/media/java/android/media/
H A DImageWriter.java374 crop.right, crop.bottom);
560 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom);
859 long timestampNs, int left, int top, int right, int bottom);
863 int top, int right, int bottom);
858 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument
861 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp425 jlong timestampNs, jint left, jint top, jint right, jint bottom) {
461 cropRect.right = right;
491 jint right, jint bottom) {
546 cropRect.right = right;
424 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
489 ImageWriter_attachAndQueueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java129 public void setPadding(int left, int top, int right, int bottom); argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right,
283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom);
289 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart();
303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
370 int leftRightInsets = mSystemInsets.left + mSystemInsets.right;
375 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2;
385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBounds.right,
496 buttonBounds.right, buttonBounds.bottom);
792 : actionButtonRect.right + mStackActionButton.getPaddingRight()
H A DTaskViewHeader.java323 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
324 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java149 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
150 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java448 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument
449 mProjMatrix[0] = 2f / (right - left);
461 mProjMatrix[12] = -(right + left) / (right - left);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java384 if (startX > startBounds.right) {
433 nX = Math.min(Math.max(nX, mTmpRect.left), mTmpRect.right);
458 int right = mWindowOriginalBounds.right;
468 int width = right - left;
533 final boolean grows = width > (right - left) || height > (bottom - top);
544 updateDraggedBounds(left, top, right, bottom, width, height);
552 * @param right The original right bound before the user started dragging.
557 void updateDraggedBounds(int left, int top, int right, in argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument
90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument
174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument
187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument
196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java340 mLayerBounds.right, mLayerBounds.bottom,
529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
760 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
761 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
840 src.right, src.top,
841 src.right, src.bottom,
850 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp43 const int right = left + frame.width; local
46 return x >= left && x < right && y >= top && y < bottom;
/frameworks/minikin/libs/minikin/
H A DCmapCoverage.cpp76 // Returns true if left and right intersect.
77 inline static bool intersects(const Range& left, const Range& right) { argument
78 return left.isValid() && right.isValid() &&
79 left.start < right.end && right.start < left.end;
82 // Returns merged range. This method assumes left and right are not invalid ranges and they have
84 static Range merge(const Range& left, const Range& right) { argument
85 return Range({ std::min(left.start, right.start), std::max(left.end, right.end) });
106 Range right local
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp129 int right = current->right; local
138 if (prev.right <= left) break;
140 if (prev.right > left && prev.right < right) {
141 dst.add(Rect(prev.right, top, right, bottom));
142 right = prev.right;
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp211 position[i*6 + 2].x = r->right;
215 position[i*6 + 4].x = r->right;
217 position[i*6 + 5].x = r->right;
234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
235 glScissor(left, bottom, right, top);
233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/rs/
H A DrsFont.h55 int32_t right; member in struct:android::renderscript::Font::Rect
59 right = r;
/frameworks/support/design/src/android/support/design/widget/
H A DBaseTransientBottomBar.java211 void onLayoutChange(View view, int left, int top, int right, int bottom); argument
481 public void onLayoutChange(View view, int left, int top, int right, int bottom) {
H A DFloatingActionButton.java201 d + mShadowPadding.left + mShadowPadding.right,
490 rect.right -= mShadowPadding.right;
724 child.getRight() - shadowPadding.right,
744 // If we're on the right edge, shift it the right
745 offsetLR = padding.right;
816 public void setShadowPadding(int left, int top, int right, int bottom) { argument
817 mShadowPadding.set(left, top, right, bottom);
819 right
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
505 onSizeChanged(0, 0, right - left, bottom - top);

Completed in 1216 milliseconds

1234567891011>>