Searched defs:top (Results 276 - 300 of 343) sorted by relevance

<<11121314

/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java337 || mStableInsets.top != insets.getStableInsetTop()
352 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
353 super.onLayout(changed, left, top, right, bottom);
904 rect.set(containingRect.left, containingRect.top,
905 containingRect.left + width, containingRect.top + height);
1042 return mStableInsets.top != 0;
1109 taskRect.top = offsetPosition - height;
1113 taskRect.top = offsetPosition + mDividerSize;
1127 // Less parallax at the top, just because.
1153 * @return true if and only if {@code dockSide} is top o
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java696 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
697 super.onLayout(changed, left, top, right, bottom);
845 // handle top animation
851 float top;
857 top = bottom * heightFraction;
859 top = heightFraction * (actualHeight + mAnimationTranslationY) * 0.1f -
861 bottom = actualHeight * (1 - heightFraction) + top * heightFraction;
863 mAppearAnimationRect.set(left, top, right, bottom);
864 setOutlineRect(left, top + mAppearAnimationTranslation, right,
H A DNotificationContentView.java333 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
338 super.onLayout(changed, left, top, right, bottom);
711 int top = (int) (mClipTopAmount - getTranslationY());
713 bottom = Math.max(top, bottom);
714 mClipBounds.set(0, top, getWidth(), bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java798 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
799 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2569 public void onLayoutSurface(int left, int top, int right, int bottom) { argument
2572 Slog.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top
2579 mSessionState.client.onLayoutSurface(left, top, right, bottom,
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowStateAnimator.java650 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0);
659 + " x=" + mTmpSize.left + " y=" + mTmpSize.top
678 && attrs.surfaceInsets.top == 0
715 + ", set left=" + w.mFrame.left + " top=" + w.mFrame.top
721 + w.mFrame.left + "," + w.mFrame.top + ") ("
729 mSurfaceController.setPositionInTransaction(mTmpSize.left, mTmpSize.top, false);
746 mTmpSize.bottom = mTmpSize.top + w.mRequestedHeight;
754 mTmpSize.top = 0;
758 mTmpSize.bottom = mTmpSize.top
1951 setMoveAnimation(int left, int top) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestWindowManagerPolicy.java122 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom) { argument
/frameworks/base/tools/aapt/
H A DImages.cpp380 // Look for top tick
465 // find top and bottom extent of nine patch content on center column
482 // diagonally from the top left corner towards the center
512 png_bytepp rows, int left, int top, int right, int bottom)
514 png_bytep color = rows[top] + left*4;
516 if (left > right || top > bottom) {
520 while (top <= bottom) {
522 png_bytep p = rows[top]+i*4;
532 top++;
559 int top; local
511 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp818 // Look for top tick
903 // find top and bottom extent of nine patch content on center column
922 // diagonally from the top left corner towards the center
947 static uint32_t getColor(png_bytepp rows, int left, int top, int right, argument
949 png_bytep color = rows[top] + left * 4;
951 if (left > right || top > bottom) {
955 while (top <= bottom) {
957 png_bytep p = rows[top] + i * 4;
967 top++;
993 int top; local
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp672 // convention that the rest of the system uses (top-left corner) by
673 // subtracting all top/bottom coordinates from the buffer height.
695 int top = height - rect.bottom; // Flip from OpenGL convention local
696 int bottom = height - rect.top; // Flip from OpenGL convention
700 Rect flippedRect{top, width - right, bottom, width - left};
707 width - left, height - top};
714 height - top, right};
719 Rect flippedRect{left, top, right, bottom};
1300 realRect.left, realRect.top, realRect.right, realRect.bottom);
1506 // We intentionally flip top an
[all...]
/frameworks/native/libs/nativewindow/include/system/
H A Dwindow.h70 int32_t top; member in struct:android_native_rect_t
777 * to the transform parameter specified applied on top of the regular buffer
/frameworks/native/opengl/libagl/
H A Degl.cpp57 EGLint left, EGLint top, EGLint width, EGLint height);
255 : left(0), top(0), right(w), bottom(h) { }
257 : left(l), top(t), right(r), bottom(b) { }
260 top = max(top, r.top);
266 return (left>=right || top>=bottom);
270 what, left, top, right-left, bottom-top);
274 int32_t top; member in struct:android::egl_window_surface_v2_t::Rect
295 const int32_t top = max(lhs.top, rhs.top); local
2195 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java308 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer,
636 matrix.postTranslate(-mCropRect.left, -mCropRect.top);
722 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
723 super.onLayout(changed, left, top, right, bottom);
942 float maxY = mTranslateRect.top * relativeDistance;
1013 float maxTop = mAllowCrop ? mCropRect.top: 0.0f;
1015 float t = mTranslateRect.top;
1022 Math.min(maxBottom - mTranslateRect.top, ty));
1076 float maxTop = mAllowCrop ? mCropRect.top : 0.0f;
1078 float t = mTranslateRect.top;
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DNestedScrollView.java1000 final int top = -maxOverScrollY;
1016 } else if (newScrollY < top) {
1017 newScrollY = top;
1045 * @param topFocus look for a candidate is the one at the top of the bounds
1048 * @param top the top offset of the bounds in which a focusable must be
1055 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
1061 * A fully contained focusable is one where its top is below the bound's
1062 * top, and its bottom is above the bound's bottom. A partially
1075 if (top < viewBotto
1200 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
H A DSlidingPaneLayout.java54 * SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level
364 final int top;
369 top = panel.getTop();
372 left = right = top = bottom = 0;
392 if (clampedChildLeft >= left && clampedChildTop >= top
1175 final int top = shadowView.getTop();
1189 shadowDrawable.setBounds(left, top, right, bottom);
1344 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1395 public int clampViewPositionVertical(View child, int top, int dy) { argument
H A DSwipeRefreshLayout.java101 // Default offset in dips from the top of the view to where the progress spinner should stop
232 * near the top of the refreshing content. This position is a consistent
243 * @param start The offset in pixels from the top of this view at which the
245 * @param end The offset in pixels from the top of this view at which the
259 * @return The offset in pixels from the top of this view at which the progress spinner should
267 * @return The offset in pixels from the top of this view at which the progress spinner should
275 * The refresh indicator resting position is always positioned near the top
283 * @param end The offset in pixels from the top of this view at which the
594 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java376 public void onLayoutChange(View v, int left, int top, int right, int bottom,
829 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
830 super.onLayout(changed, left, top, right, bottom);
837 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top);
851 final int top = mTemp[1] - mTemp2[1];
853 rect.set(left, top, left + view.getWidth(), top + view.getHeight());
1538 // on top of the one we want. We don't want to do this in in-app search though,
1808 event.setLocation(x - mActualBounds.left, y - mActualBounds.top);
H A DToolbar.java374 * @param top the top title margin in pixels
383 public void setTitleMargin(int start, int top, int end, int bottom) { argument
385 mTitleMarginTop = top;
415 * @return the top title margin in pixels
424 * Sets the top title margin in pixels.
426 * @param margin the top title margin in pixels
1945 final int top = getChildTop(child, alignmentHeight);
1947 child.layout(left, top, left + childWidth, top
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java431 private static boolean hitTest(View child, float x, float y, float left, float top) { argument
434 && y >= top
435 && y <= top + child.getHeight();
731 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop();
773 final int top = Math.round(mSelectedStartY + mDy) - margin;
775 final int bottom = top + viewHolder.itemView.getHeight() + 2 * margin;
777 final int centerY = (top + bottom) / 2;
785 if (other.getBottom() < top || other.getTop() > bottom
1306 * @param y The <code>top</code> offset of the View that is being dragged. This value
1748 * @param curY The updated top valu
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2169 normalizedYToArray(focusingAreas[j].top);
2198 normalizedYToArray(meteringAreas[j].top);
2237 static_cast<int32_t>(crop.top),
2675 areas[0].top == 0 &&
2699 if (a->top < -1000 || a->top > 1000) return BAD_VALUE;
2703 if (a->top >= a->bottom) return BAD_VALUE;
2759 int ret = y + previewCrop.top;
2801 float left, top, width, height; local
2810 top
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java491 * Flag indicating the motion event intersected the top edge of the screen.
3084 public final boolean isWithinBoundsNoHistory(float left, float top, argument
3090 if (x < left || x > right || y < top || y > bottom) {
3110 public final MotionEvent clampNoHistory(float left, float top, float right, float bottom) { argument
3123 pc[i].y = clamp(pc[i].y, top, bottom);
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
392 * @return view The top-level view to place in the panel.
639 * @param rect The area where caption content is positioned, relative to the top view.
703 * operates as a top-level window; otherwise, it negotiates with the
722 * top-level window.
959 * on top of whatever is behind it.
1337 * inflated, adding all top-level views to the screen.
1612 * Retrieve the top
2242 notifyRestrictedCaptionAreaCallback(int left, int top, int right, int bottom) argument
[all...]
H A DWindowManagerPolicy.java309 * @return Rect The left, top, right, and bottom insets, relative
319 * @return Rect The left, top, right, and bottom insets, relative
352 * Retrieve the type of the top-level window.
675 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument
837 // some panels (e.g. search) need to show on top of the navigation bar
1022 * top fullscreen windows {@link WindowManager.LayoutParams#rotationAnimation}
1031 * Validate whether the current top fullscreen has specified the same
1033 * being passed in from the previous top fullscreen window.
1634 * Returns whether a given window type is considered a top level one.
1635 * A top leve
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java159 public boolean pageUp(boolean top); argument
389 public boolean setFrame(int left, int top, int right, int bottom); argument
/frameworks/base/core/java/android/widget/
H A DGridLayout.java210 * {@link android.view.View#getTop() top},
231 * the quantity {@code top - layoutParams.topMargin} is the same for all children that
930 int top = getPaddingTop() + insets.top;
939 drawLine(canvas, x, top, x, bottom, paint);
946 int y = top + ys[i];
1117 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1121 int targetHeight = bottom - top;
2056 int left, int top, int right, int bottom,
2059 setMargins(left, top, righ
2054 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]

Completed in 611 milliseconds

<<11121314