Searched refs:top (Results 201 - 225 of 608) sorted by relevance

1234567891011>>

/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java47 * {@link android.widget.ListAdapter ListAdapter} will be arranged from top to bottom,
508 // Repair the top and bottom column boundaries from the views we still have
515 final int top = child.getTop() - mItemMargin;
521 final int colTop = top - rec.getMarginAbove(col - lp.column);
671 final int top = getPaddingTop();
672 final int offset = top + Math.min(mRestoreOffset, 0);
706 Log.d(TAG, "!!! No top item found for column " + i + " value " + mItemTops[i]);
878 * @param overhang the number of extra pixels to fill beyond the current top edge
879 * @return the max overhang beyond the beginning of the view of any added items at the top
956 final int top
[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...]
H A DDisplayDevice.cpp207 b.left, b.top, b.width(), b.height());
474 float src_y = viewport.top;
476 float dst_y = frame.top;
512 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom,
513 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
514 mScissor.left, mScissor.top, mScissor.right, mScissor.bottom,
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java152 final State startStateY = new State(startClip.top, startClip.bottom, startY);
153 final State endStateY = new State(endClip.top, endClip.bottom, endY);
184 final State startStateY = new State(startClip.top, startClip.bottom, startY);
185 final State endStateY = new State(endClip.top, endClip.bottom, endY);
301 tempState.lower = tempRect.top + (int) tempState.trans;
315 tempRect.top = value.lower - (int) value.trans;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
408 final float progress = ((float) top - getOpenedOptionsY())
446 public int clampViewPositionVertical(View child, int top, int dy) { argument
448 return Math.max(Math.min(top, getOpenedOptionsY()), getClosedOptionsY());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewLayoutAlgorithm.java31 * The curve is defined such that at curve progress p = 0 is the end of the curve (the top of the
96 mTaskRect.set(left, mStackRect.top,
97 left + size, mStackRect.top + size);
161 // Center the top most task, since that will be focused first
237 // If the task top is outside of the bounds below the screen, then immediately reset it
243 // The check for the top is trickier, since we want to show the next task if it is at all
257 transformOut.translationY = curveProgressToScreenY(pBounded) - mStackVisibleRect.top -
275 /** Returns the scroll to such task top = 1f; */
351 if (p < 0 || p > 1) return mStackVisibleRect.top + (int) (p * mStackVisibleRect.height());
361 return mStackVisibleRect.top
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java546 mContainingFrame.top -= mContainingFrame.bottom - cf.bottom;
646 Math.max(mContentFrame.top - mOutsetFrame.top, 0),
656 Math.max(mContentFrame.top, mFrame.top),
661 Math.max(mVisibleFrame.top, mFrame.top),
666 Math.max(mStableFrame.top, mFrame.top),
671 Math.max(mOverscanFrame.top
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java304 double oldTop = (rectangle.top + 1000) / 2000.0;
309 int top = mCropRectangle.top + toIntConstrained(
313 int bottom = mCropRectangle.top + toIntConstrained(
315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top,
573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java477 int top = 0;
499 layoutDecorated(view, getWidth() - getDecoratedMeasuredWidth(view), top,
500 getWidth(), top + getDecoratedMeasuredHeight(view));
502 layoutDecorated(view, 0, top, getDecoratedMeasuredWidth(view)
503 , top + getDecoratedMeasuredHeight(view));
506 top += view.getMeasuredHeight();
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java389 cropRect.top = Math.max(0, cropRect.top);
418 cropRect.bottom = cropRect.top + defaultWallpaperSize.y / cropScale;
423 Math.min(Math.min(rotatedInSize[1] - cropRect.bottom, cropRect.top),
425 cropRect.top -= expandHeight;
683 mCropBounds.top /= scaleDownSampleSize;
702 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight();
705 // Adjust the top value
706 int adjustment = roundedTrueCrop.top -
708 roundedTrueCrop.top
[all...]
/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/av/include/media/stagefright/
H A DMetaData.h219 int32_t left, int32_t top,
230 int32_t *left, int32_t *top,
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h89 int32_t left, int32_t top, int32_t right, int32_t bottom);
106 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const;
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp44 for (int32_t y = rect.top; y < rect.bottom; ++y) {
65 int32_t srcStartY = srcRect.top;
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java29 * A SoftInputWindow is a Dialog that is intended to be used for a top-level input
64 * using styles. This theme is applied on top of the current theme in
91 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top,
95 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top,
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp115 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
116 android::uirenderer::Rect clipBounds(left, top, right, bottom);
136 jobject clazz, jlong renderNodePtr, jint left, jint top,
139 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
271 jobject clazz, jlong renderNodePtr, int top) {
272 return SET_AND_DIRTY(setTop, top, RenderNode::Y);
286 jobject clazz, jlong renderNodePtr, int left, int top,
289 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
114 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
135 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
270 android_view_RenderNode_setTop(JNIEnv* env, jobject clazz, jlong renderNodePtr, int top) argument
285 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java122 pageInfo.mPageHeight, pageInfo.mContentRect.left, pageInfo.mContentRect.top,
298 * the page top left.
346 * the page top left.
352 || contentRect.top < 0
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.h63 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
69 virtual void onDrawSprite(const SkBitmap&, int left, int top,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java489 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
490 super.onLayout(changed, left, top, right, bottom);
628 // handle top animation
634 float top;
640 top = bottom * heightFraction;
642 top = heightFraction * (actualHeight + mAnimationTranslationY) * 0.1f -
644 bottom = actualHeight * (1 - heightFraction) + top * heightFraction;
646 mAppearAnimationRect.set(left, top, right, bottom);
647 setOutlineRect(left, top + mAppearAnimationTranslation, right,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java83 * top-left of the image and 1,1 is the bottom-right.
161 (int) srcRect.top * srcImage.getHeight(),
165 (int) dstRect.top * srcImage.getHeight(),
/frameworks/native/libs/gui/tests/
H A DFillBuffer.cpp65 rect.top <= y && y < rect.bottom;
69 rect.top <= 2*y && 2*y < rect.bottom;
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11Ext.spec22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DStickyHeaderListView.java38 * when the sticky element hits the top of the view.
46 * the system decorations at the top of the screen.
100 ev.offsetLocation(-mStickyRect.left, -mStickyRect.top);
112 // The view to draw when sticking to the top
119 // ListView does not translate the canvas, so we can simply draw at the top
122 canvas.translate(0, mStickyRect.top);
139 0, /* top */
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java97 rectF.top += halfBorderWidth;
169 0, rect.top,
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);

Completed in 650 milliseconds

1234567891011>>