Searched defs:top (Results 201 - 225 of 263) sorted by relevance

1234567891011

/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java360 * @param top Top position.
366 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
523 void postLayoutSurface(final int left, final int top, final int right, argument
528 mSessionCallback.onLayoutSurface(mSession, left, top, right, bottom);
821 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) {
828 record.postLayoutSurface(left, top, right, bottom);
H A DTvInputService.java655 * is relative to the overlay view that sits on top of this surface.
658 * @param top Top position in pixels, relative to the overlay view.
663 public void layoutSurface(final int left, final int top, final int right, argument
665 if (left > right || top > bottom) {
672 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r="
675 mSessionCallback.onLayoutSurface(left, top, right, bottom);
1181 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1211 frame.right - frame.left, frame.bottom - frame.top,
1212 frame.left, frame.top, type, flags, PixelFormat.TRANSPARENT);
1231 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp540 int32_t left, top, right, bottom; local
541 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) {
550 rectClazz.get(), rectConstructID, left, top, right + 1, bottom + 1);
/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 )
353 int top,
578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
584 int top,
946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
952 float top,
957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
963 float top,
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java461 // Map the top edge of next task view into the local space of the current
777 mLayoutAlgorithm.mTaskRect.height() + mTmpRect.top + mTmpRect.bottom,
793 * This is called with the size of the space not including the top or right insets, or the
798 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
810 mLayoutAlgorithm.mTaskRect.top - mTmpRect.top,
815 // Layout the dismiss button at the top of the screen, and just translate it accordingly
833 (mLayoutAlgorithm.mTaskRect.top - mLayoutAlgorithm.mViewRect.top);
966 (mLayoutAlgorithm.mTaskRect.top
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java287 * Set this notification to be pinned to the top if {@link #isHeadsUp()} is true. By doing this
288 * the notification will be rendered on top of the screen.
630 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
631 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java702 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
703 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java172 final int top = args.argi2;
175 handleOnRectangleOnScreenRequested(left, top, right, bottom);
244 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
247 args.argi2 = top;
253 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
256 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
277 if (bottom - top > magnifFrameInScreenCoords.height()) {
278 scrollY = top - magnifFrameInScreenCoords.top;
279 } else if (top < magnifFrameInScreenCoord
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2303 public void onLayoutSurface(int left, int top, int right, int bottom) { argument
2306 Slog.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top
2313 mSessionState.client.onLayoutSurface(left, top, right, bottom,
/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/
H A DPng.cpp790 // Look for top tick
868 // find top and bottom extent of nine patch content on center column
886 // diagonally from the top left corner towards the center
914 static uint32_t getColor(png_bytepp rows, int left, int top, int right, int bottom) { argument
915 png_bytep color = rows[top] + left*4;
917 if (left > right || top > bottom) {
921 while (top <= bottom) {
923 png_bytep p = rows[top]+i*4;
933 top++;
959 int top; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java303 // get the current top graphics2D object.
332 // get the current top graphics2D object.
360 // get the current top graphics2D object.
379 float left, float top,
388 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
452 bounds.top = rect.y;
486 float left, float top,
577 final float left, final float top, final float right, final float bottom, long paint) {
588 graphics.fillRect((int)left, (int)top,
589 (int)(right-left), (int)(bottom-top));
378 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
485 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
576 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
602 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
637 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
669 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
726 native_drawBitmap(Canvas thisCanvas, long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
1053 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp55 EGLint left, EGLint top, EGLint width, EGLint height);
254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
259 top = max(top, r.top);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
273 int32_t top; member in struct:android::egl_window_surface_v2_t::Rect
294 const int32_t top = max(lhs.top, rhs.top); local
2181 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp436 float insetT = winCrop.top * yScale;
441 crop.top += insetT;
485 activeTransparentRegion.orSelf(Rect(0, 0, s.active.w, activeCrop.top));
488 activeTransparentRegion.orSelf(Rect(0, activeCrop.top,
490 activeTransparentRegion.orSelf(Rect(activeCrop.right, activeCrop.top,
756 float top = float(win.top) / float(s.active.h); local
763 texCoords[0] = vec2(left, 1.0f - top);
766 texCoords[3] = vec2(right, 1.0f - top);
832 position[0] = tr.transform(win.left, win.top);
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java306 centerY = Math.min(Math.max(mTranslateRect.top + heightBuffer,
401 float maxY = mTranslateRect.top * relativeDistance;
665 matrix.postTranslate(-mCropRect.left, -mCropRect.top);
751 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
752 super.onLayout(changed, left, top, right, bottom);
995 float maxTop = mAllowCrop ? mCropRect.top: 0.0f;
997 float t = mTranslateRect.top;
1005 Math.min(maxBottom - mTranslateRect.top, ty));
1059 float maxTop = mAllowCrop ? mCropRect.top : 0.0f;
1061 float t = mTranslateRect.top;
[all...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp796 int *top, int *bottom) {
798 rsrMeasureText(rsc, text, left, right, top, bottom);
802 int *top, int *bottom) {
804 rsrMeasureTextAlloc(rsc, (Allocation *)a.p, left, right, top, bottom);
795 rsgMeasureText(const char *text, int *left, int *right, int *top, int *bottom) argument
801 rsgMeasureText(::rs_allocation a, int *left, int *right, int *top, int *bottom) argument
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java292 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
318 public void setPaddingRelative(View view, int start, int top, int end, int bottom); argument
438 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
439 view.invalidate(left, top, right, bottom);
548 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
549 view.setPadding(start, top, end, bottom);
1239 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1240 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1346 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
1347 ViewCompatJellybeanMr1.setPaddingRelative(view, start, top, en
1788 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
2252 setPaddingRelative(View view, int start, int top, int end, int bottom) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java61 * DrawerLayout acts as a top-level container for window content that allows for
1837 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1962 public int clampViewPositionVertical(View child, int top, int dy) { argument
H A DNestedScrollView.java924 final int top = -maxOverScrollY;
940 } else if (newScrollY < top) {
941 newScrollY = top;
965 * @param topFocus look for a candidate is the one at the top of the bounds
968 * @param top the top offset of the bounds in which a focusable must be
975 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
981 * A fully contained focusable is one where its top is below the bound's
982 * top, and its bottom is above the bound's bottom. A partially
995 if (top < viewBotto
1122 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
H A DSlidingPaneLayout.java52 * SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level
365 final int top;
370 top = panel.getTop();
373 left = right = top = bottom = 0;
391 if (clampedChildLeft >= left && clampedChildTop >= top &&
1170 final int top = shadowView.getTop();
1184 shadowDrawable.setBounds(left, top, right, bottom);
1331 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1382 public int clampViewPositionVertical(View child, int top, int dy) { argument
H A DSwipeRefreshLayout.java97 // Default offset in dips from the top of the view to where the progress spinner should stop
208 * near the top of the refreshing content. This position is a consistent
214 * @param start The offset in pixels from the top of this view at which the
216 * @param end The offset in pixels from the top of this view at which the
230 * The refresh indicator resting position is always positioned near the top
237 * @param end The offset in pixels from the top of this view at which the
564 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java429 private static boolean hitTest(View child, float x, float y, float left, float top) { argument
432 y >= top &&
433 y <= top + child.getHeight();
722 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop();
764 final int top = Math.round(mSelectedStartY + mDy) - margin;
766 final int bottom = top + viewHolder.itemView.getHeight() + 2 * margin;
768 final int centerY = (top + bottom) / 2;
776 if (other.getBottom() < top || other.getTop() > bottom
1290 * @param y The <code>top</code> offset of the View that is being dragged. This value
1683 * @param curY The updated top valu
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2337 int32_t left, top, right, bottom; local
2339 &left, &top,
2356 ((bottom - top + 1) * scale.xHeight) >> 16);
4020 int32_t left, top, right, bottom; local
4024 &left, &top, &right, &bottom));
4028 crop.top = top;
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java408 mY = rect.top - view.getTop();
455 * Returns the top edge of the window, in pixels, relative to the top
761 * Returns the top edge of this view, in pixels, relative to the top edge of its parent.
1073 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument
1075 mNode.mY = top;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java448 * Flag indicating the motion event intersected the top edge of the screen.
2938 public final boolean isWithinBoundsNoHistory(float left, float top, argument
2944 if (x < left || x > right || y < top || y > bottom) {
2964 public final MotionEvent clampNoHistory(float left, float top, float right, float bottom) { argument
2977 pc[i].y = clamp(pc[i].y, top, bottom);

Completed in 1834 milliseconds

1234567891011