Searched refs:left (Results 226 - 250 of 415) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsFont.h53 int32_t left; member in struct:android::renderscript::Font::Rect
58 left = l;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java717 invalidate(dirty.left + scrollX, dirty.top + scrollY,
735 int left = 0;
750 left = (w - width) / 2;
751 right = left + width;
760 mIndeterminateDrawable.setBounds(left, top, right, bottom);
H A DSpinnerICS.java306 * so views are scrolling to the left. -1 means selection is moving to the left.
310 int childrenLeft = mSpinnerPadding.left;
311 int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right;
414 mSpinnerPadding.left + mSpinnerPadding.right, lp.width);
516 width += mTempRect.left + mTempRect.right;
754 bgOffset = -mTempRect.left;
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java276 * Performs the swipe left action on the UiObject.
299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
325 return getInteractionController().swipe(rect.left + SWIPE_MARGIN_LIMIT,
440 * Clicks the top and left corner of the UI element
453 return getInteractionController().clickNoSync(rect.left + 5, rect.top + 5);
508 * Long clicks on the top and left corner of the UI element
521 return getInteractionController().longTapNoSync(rect.left + 5, rect.top + 5);
620 // long click left + center
626 getInteractionController().longTapNoSync(rect.left + 20, rect.centerY());
938 // End at the top-left an
[all...]
/frameworks/uiautomator/src/com/android/uiautomator/core/
H A DUiObject.java276 * Performs the swipe left action on the UiObject.
299 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
325 return getInteractionController().swipe(rect.left + SWIPE_MARGIN_LIMIT,
440 * Clicks the top and left corner of the UI element
453 return getInteractionController().clickNoSync(rect.left + 5, rect.top + 5);
508 * Long clicks on the top and left corner of the UI element
521 return getInteractionController().longTapNoSync(rect.left + 5, rect.top + 5);
620 // long click left + center
626 getInteractionController().longTapNoSync(rect.left + 20, rect.centerY());
938 // End at the top-left an
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java52 * to emerge from: left or right. (Or start/end on platform versions that support layout direction.)
65 * <p>As per the Android Design guide, any drawers positioned to the left/start should
68 * This preserves the same navigation left, actions right structure present in the Action Bar
252 * Set a simple drawable used for the left or right shadow.
278 * Set a simple drawable used for the left or right shadow.
1040 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1080 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1359 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1365 offset = (float) (childWidth + left) / childWidth;
1368 offset = (float) (width - left) / childWidt
1474 clampViewPositionHorizontal(View child, int left, int dx) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DListView.java691 View child = makeAndAddView(pos, nextTop, true, mListPadding.left, selected);
725 View child = makeAndAddView(pos, nextBottom, false, mListPadding.left, selected);
772 mListPadding.left, true);
833 sel = makeAndAddView(selectedPosition, selectedTop, true, mListPadding.left, true);
981 mListPadding.left, false);
987 mListPadding.left, true);
1042 sel = makeAndAddView(selectedPosition, newSel.getTop(), true, mListPadding.left,
1047 sel = makeAndAddView(selectedPosition, oldSel.getTop(), false, mListPadding.left,
1077 sel = makeAndAddView(selectedPosition, oldTop, true, mListPadding.left, true);
1162 widthSize = mListPadding.left
[all...]
H A DProgressBar.java965 invalidate(dirty.left + scrollX, dirty.top + scrollY,
987 int left = 0;
1002 left = (w - width) / 2;
1003 right = left + width;
1013 int tempLeft = left;
1014 left = w - right;
1017 mIndeterminateDrawable.setBounds(left, top, right, bottom);
H A DSpinner.java510 * so views are scrolling to the left. -1 means selection is moving to the left.
514 int childrenLeft = mSpinnerPadding.left;
515 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right;
629 mSpinnerPadding.left + mSpinnerPadding.right, lp.width);
747 width += mTempRect.left + mTempRect.right;
1071 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left;
1073 mTempRect.left = mTempRect.right = 0;
1084 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect.right;
H A DAbsSeekBar.java48 * On key presses (right or left), the amount to increment/decrement the
308 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos;
309 thumb.setBounds(left, topBound, left + thumbWidth, bottomBound);
H A DRemoteViews.java701 // been disabled from the outset, but was left open by accident.
742 rect.left = (int) (pos[0] * appScale + 0.5f);
1477 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument
1479 this.left = left;
1487 left = parcel.readInt();
1496 dest.writeInt(left);
1506 target.setPadding(left, top, right, bottom);
1513 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction
1899 * @param left Th
1904 setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) argument
2186 setViewPadding(int viewId, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/text/
H A DStaticLayout.java293 // intentionally left empty
781 int left = 0, right = len;
795 for (left = 0; left < right; left++) {
796 float w = widths[left + lineStart - widthStart];
805 ellipsisStart = left;
806 ellipsisCount = right - left;
H A DTextUtils.java1120 int left = 0;
1127 left = mt.breakText(len, true, avail);
1131 left = mt.breakText(right, true, avail);
1135 callback.ellipsized(left, right);
1141 int remaining = len - (right - left);
1144 buf[left++] = ellipsis.charAt(0);
1146 for (int i = left; i < right; i++) {
1164 sb.append(buf, 0, left);
1171 ssb.append(text, 0, left);
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp588 int left, top, right, bottom; local
589 if (meta->findRect(kKeyCropRect, &left, &top, &right, &bottom)) {
590 mWidth = right - left + 1;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java351 // Start at the left
366 childLayoutParams.left = (int) itemLeft;
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
H A DActionMenuView.java258 // Divide any space left that wouldn't divide along cell boundaries
388 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
390 super.onLayout(changed, left, top, right, bottom);
400 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
448 final int midHorizontal = (right - left) / 2;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java444 updateMirrorMatrix(bounds.right - bounds.left);
487 canvas.translate(mDstRect.right - mDstRect.left, 0);
501 updateMirrorMatrix(mDstRect.right - mDstRect.left);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp229 int32_t left, top, right, bottom; local
230 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
236 StringPrintf("%s-left", key).c_str(),
237 left);
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp206 vec2 lt( bounds.left, bounds.top );
208 vec2 lb( bounds.left, bounds.bottom );
216 r.left = floorf(min(lt[0], rt[0], lb[0], rb[0]) + 0.5f);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java468 final int left = getPaddingLeft();
475 final int drawLeft = left + (right - left - drawWidth) / 2;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h205 i32 left,
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp190 int32_t left, int32_t top, int32_t right, int32_t bottom) {
194 item->u.rectValue.mLeft = left;
238 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
244 *left = item->u.rectValue.mLeft;
/frameworks/base/core/java/android/view/
H A DViewGroup.java78 * children in left and right gutters.</p>
391 * Clip bounds are the raw values of {@link #getLeft() left}, {@link #getTop() top},
413 // Index of the child's left position in the mLocation array
1264 * drag has left this ViewGroup, we know by definition that every contained subview
2594 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
2595 super.internalSetPadding(left, top, right, bottom);
2747 int left = 0;
2755 left = Math.max(left, insets.left);
4453 invalidateChildInParentFast(int left, int top, final Rect dirty) argument
6235 setMargins(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java229 mSurfaceFrame.left = 0;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp91 canvas->translate(page->mContentRect.left(), page->mContentRect.top());

Completed in 557 milliseconds

1234567891011>>