Searched refs:left (Results 251 - 275 of 559) sorted by relevance

<<11121314151617181920>>

/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java160 /** draw the gradient from the top-right to the bottom-left */
162 /** draw the gradient from the right to the left */
164 /** draw the gradient from the bottom-right to the top-left */
168 /** draw the gradient from the bottom-left to the top-right */
170 /** draw the gradient from the left to the right */
172 /** draw the gradient from the top-left to the bottom-right */
201 * top-left, top-right, bottom-right, bottom-left. This property
555 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
620 canvas.drawLine(r.left,
[all...]
H A DDrawable.java152 public void setBounds(int left, int top, int right, int bottom) { argument
159 if (oldBounds.left != left || oldBounds.top != top ||
165 mBounds.set(left, top, right, bottom);
175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
540 * @param left
545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
694 * (right-to left). See {@link android.util.LayoutDirection}.
703 * right-to-left. See {@link android.util.LayoutDirection}.
H A DShapeDrawable.java136 * @param left padding for the left side (in pixels)
141 public void setPadding(int left, int top, int right, int bottom) { argument
142 if ((left | top | right | bottom) == 0) {
148 mShapeState.mPadding.set(left, top, right, bottom);
155 * in the Rect object as: left, top, right, bottom.
246 canvas.translate(r.left, r.top);
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp625 // assume same number of tail samples on each side, left and right
627 CentralTendencyStatistics left, right; local
629 left.sample(tail[i]);
633 " left tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n"
635 left.mean()*1e-6, left.minimum()*1e-6, left.maximum()*1e-6, left.stddev()*1e-6,
/frameworks/base/core/java/android/view/
H A DView.java313 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and
320 * {@link #getLeft()} and {@link #getTop()}. The former returns the left, or X,
325 * right of the left edge of its direct parent.
363 * is expressed in pixels for the left, top, right and bottom parts of the view.
365 * pixels. For instance, a left padding of 2 will push the view's content by
366 * 2 pixels to the right of the left edge. Padding can be set using the
1125 * Use with {@link #focusSearch(int)}. Move focus to the left.
1938 * right-to-left direction.
2310 * Flag indicating that start/end padding has been resolved into left/right padding
2319 * Flag indicating that the start/end drawables has been resolved into left/righ
9913 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
10779 setLeft(int left) argument
12202 postInvalidate(int left, int top, int right, int bottom) argument
12246 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
12297 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
15624 setOpticalFrame(int left, int top, int right, int bottom) argument
15702 onLayout(boolean changed, int left, int top, int right, int bottom) argument
15718 setFrame(int left, int top, int right, int bottom) argument
15781 setLeftTopRightBottom(int left, int top, int right, int bottom) argument
16461 setPadding(int left, int top, int right, int bottom) argument
16479 internalSetPadding(int left, int top, int right, int bottom) argument
20206 int left; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java63 * On key presses (right or left), the amount to increment/decrement the
470 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos;
471 final int right = left + thumbWidth;
478 background.setHotspotBounds(left + offsetX, top + offsetY,
483 thumb.setBounds(left, top, right, bottom);
513 tempRect.left += insets.left;
H A DFrameLayout.java189 mForegroundPaddingLeft = padding.left;
292 mForegroundPaddingLeft = padding.left;
513 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
514 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
517 void layoutChildren(int left, int top, int right, int bottom, argument
522 final int parentRight = right - left - getPaddingRightWithForeground();
H A DAbsSpinner.java174 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft
216 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
226 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DCompoundButton.java395 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0;
398 buttonDrawable.setBounds(left, top, right, bottom);
402 background.setHotspotBounds(left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java288 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
292 if (left && lp.leftMargin != insets.left) {
294 lp.leftMargin = insets.left;
469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
473 final int parentRight = right - left - getPaddingRight();
/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);
627 float left = (getWidth() * (0.5f - HORIZONTAL_COLLAPSED_REST_PARTIAL / 2.0f) *
629 float right = getWidth() - left;
649 mAppearAnimationRect.set(left, top, right, bottom);
650 setOutlineRect(left, top + mAppearAnimationTranslation, right,
H A DStatusBarIconView.java63 // left).
262 final int tw = r.right - r.left;
265 int dw = r.left + tw + r.right;
269 mNumberX = w-r.right-((dw-r.right-r.left)/2);
H A DDismissViewButton.java119 outRect.left += translationX;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
295 if (left && lp.leftMargin != insets.left) {
297 lp.leftMargin = insets.left;
477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
481 final int parentRight = right - left - getPaddingRight();
H A DAbsSpinnerCompat.java156 mSpinnerPadding.left = paddingLeft > mSelectionLeftPadding ? paddingLeft
194 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
204 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
/frameworks/base/core/java/android/app/
H A DMediaRouteButton.java375 final int left = getPaddingLeft();
382 final int drawLeft = left + (right - left - drawWidth) / 2;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java190 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset);
211 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset);
270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset,
H A DTaskStackViewLayoutAlgorithm.java94 int left = mStackRect.left + (mStackRect.width() - size) / 2;
95 mTaskRect.set(left, mStackRect.top,
96 left + size, mStackRect.top + size);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java225 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset);
246 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset);
305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java36 * array, with {@code (0,0)} being the top-left pixel in the
137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative");
145 * Return the X coordinate of the left side of the rectangle.
190 * Convenience method to create the upper-left (X,Y) coordinate as a {@link Point}.
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java29 protected boolean left(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1000 * @param left
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1033 * @param left
1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1042 region.set(left, top, right, bottom);
H A DTransformation.java163 setClipRect(r.left, r.top, r.right, r.bottom);
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h122 float left; member in struct:android::uirenderer::ShadowTexture
/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
350 int left,
578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
581 int left,
946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
949 float left,
957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
960 float left,
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

Completed in 3398 milliseconds

<<11121314151617181920>>