Searched refs:top (Results 551 - 575 of 726) sorted by relevance

<<21222324252627282930

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java460 // 3) fill towards end, stacking from top
1442 int left, top, right, bottom;
1453 top = layoutState.mOffset - result.mConsumed;
1455 top = layoutState.mOffset;
1459 top = getPaddingTop();
1460 bottom = top + mOrientationHelper.getDecoratedMeasurementInOther(view);
1472 layoutDecoratedWithMargins(view, left, top, right, bottom);
1475 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:"
2225 // ensure we did not push child's top out of bounds because of this
2235 // offset to make top visibl
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java460 // don't want the popup to be displayed on top of it.
517 * Returns the X offset to make the pointy top of the error point
548 * Returns the Y offset to make the pointy top of the error point
577 * The "2" is the distance between the point and the top edge
1712 final int top = layout.getLineTop(blockBeginLine);
1730 right - left, bottom - top);
1733 // brings this range of text back to the top left corner of the viewport
1734 displayListCanvas.translate(-left, -top);
1748 blockDisplayList.setLeftTopRightBottom(left, top, right, bottom);
1853 final int top
2210 updateCursorPosition(int cursorIndex, int top, int bottom, float horizontal) argument
[all...]
H A DProgressBar.java1689 invalidate(dirty.left + scrollX, dirty.top + scrollY,
1710 int top = 0;
1731 top = (h - height) / 2;
1732 bottom = top + height;
1741 mIndeterminateDrawable.setBounds(left, top, right, bottom);
H A DActivityChooserView.java476 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
477 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
H A DExpandableListView.java445 indicatorRect.top = t;// - mDividerHeight;
448 indicatorRect.top = t;
H A DGridLayout.java201 * {@link android.view.View#getTop() top},
222 * the quantity {@code top - layoutParams.topMargin} is the same for all children that
920 int top = getPaddingTop() + insets.top;
929 drawLine(canvas, x, top, x, bottom, paint);
936 int y = top + ys[i];
1107 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1111 int targetHeight = bottom - top;
2046 int left, int top, int right, int bottom,
2049 setMargins(left, top, righ
2044 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DVideoView.java114 /** Subtitle rendering widget overlaid on top of the video. */
839 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
840 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java935 float top = Math.min(lastCellCenterY, y) - radius;
947 top = Math.min(hitCellCenterY - height, top);
952 mTmpInvalidateRect.union(Math.round(left), Math.round(top),
1443 bounds.top = (int) (centerY - cellheight);
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java459 * @param top Top position.
463 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
642 void postLayoutSurface(final int left, final int top, final int right, argument
647 mSessionCallback.onLayoutSurface(mSession, left, top, right, bottom);
999 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) {
1006 record.postLayoutSurface(left, top, right, bottom);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2049 normalizedYToArray(focusingAreas[j].top);
2078 normalizedYToArray(meteringAreas[j].top);
2117 static_cast<int32_t>(crop.top),
2536 areas[0].top == 0 &&
2560 if (a->top < -1000 || a->top > 1000) return BAD_VALUE;
2564 if (a->top >= a->bottom) return BAD_VALUE;
2620 int ret = y + previewCrop.top;
2662 float left, top, width, height; local
2671 top
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp45 lhs.top == rhs.top &&
52 lhs.top == rhs.top &&
1480 output << "[" << rect.left << ", " << rect.top << ", ";
1503 output << approximateFloatString(frect.top) << ", ";
1951 rects[0].top = 0;
2219 hwc1Layer.sourceCropi.top =
2220 static_cast<int32_t>(std::ceil(pending.top));
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV7.java430 final int top = insets.getSystemWindowInsetTop();
431 final int newTop = updateStatusGuard(top);
433 if (top != newTop) {
451 insets.top = updateStatusGuard(insets.top);
1636 * @param insetTop the current top system window inset
1637 * @return the new top system window inset
1658 final int newMargin = localInsets.top == 0 ? insetTop : 0;
1691 // reset top margin
/frameworks/base/core/java/android/view/
H A DWindow.java52 * Abstract base class for a top-level window look and behavior policy. An
53 * instance of this class should be used as the top-level view added to the
64 /** Flag for the "no title" feature, turning off the title at the top
390 * @return view The top-level view to place in the panel.
613 * @param rect The area where caption content is positioned, relative to the top view.
677 * operates as a top-level window; otherwise, it negotiates with the
696 * top-level window.
920 * on top of whatever is behind it.
1269 * inflated, adding all top-level views to the screen.
1544 * Retrieve the top
2172 notifyRestrictedCaptionAreaCallback(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp152 if (bounds->top < nPenY + height) {
153 bounds->top = nPenY + height;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java233 (int) Math.floor(childBounds.top),
238 + "," + (int) Math.floor(childBounds.top)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java141 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
142 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java347 cropHint.left = cropHint.top = 0;
1216 if (padding.left < 0 || padding.top < 0 || padding.right < 0 || padding.bottom < 0) {
1348 || cropHint.top < 0) {
1780 out.attribute(null, "cropTop", Integer.toString(wallpaper.cropHint.top));
1787 if (wallpaper.padding.top != 0) {
1788 out.attribute(null, "paddingTop", Integer.toString(wallpaper.padding.top));
2015 wallpaper.cropHint.top = getAttributeInt(parser, "cropTop", 0);
2019 wallpaper.padding.top = getAttributeInt(parser, "paddingTop", 0);
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java197 public void repositionChild(IWindow window, int left, int top, int right, int bottom, argument
199 mService.repositionChild(this, window, left, top, right, bottom,
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py206 top = 0.95 - height * index
207 axes = self.fig.add_axes([0.1, top, 0.8, height],
/frameworks/native/libs/input/
H A DInput.cpp558 KeyEvent* event = mKeyEventPool.top();
567 MotionEvent* event = mMotionEventPool.top();
/frameworks/native/opengl/libagl/
H A Dcontext.h468 matrixf_t& top() { return stack[depth]; } function in struct:android::gl::matrix_stack_t
469 const matrixf_t& top() const { return stack[depth]; } function in struct:android::gl::matrix_stack_t
/frameworks/support/design/src/android/support/design/widget/
H A DSnackbar.java513 public void onLayoutChange(View view, int left, int top, int right, int bottom) {
654 void onLayoutChange(View view, int left, int top, int right, int bottom); argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
437 // retract currBottom to overlap the info views on top of main
483 onSizeChanged(0, 0, right - left, bottom - top);
737 // and out. It's meant to be used when the info views are overlaid on top of
H A DPagingIndicator.java260 int top = getPaddingTop();
290 mDotCenterY = top + mArrowRadius;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserView.java452 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
453 mActivityChooserContent.layout(0, 0, right - left, bottom - top);

Completed in 798 milliseconds

<<21222324252627282930