/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 450 transform.matrix.load(top()); 509 matrixf_t::multiply(temp_mvp, projection.top(), modelview.top()); 589 const GLfloat* const mv = modelview.top().elements(); 602 const GLfloat* const mv = modelview.top().elements(); 812 GLfloat bottom, GLfloat top, 817 cmpf(top, bottom) || 826 const GLfloat r_height = reciprocalf(top - bottom); 831 const GLfloat B = (top + bottom) * r_height; 854 GLfloat bottom, GLfloat top, 810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
H A D | egl.cpp | 55 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/av/media/libstagefright/ |
H A D | MetaData.cpp | 82 int32_t left, int32_t top, 86 r.mTop = top; 171 int32_t *left, int32_t *top, 184 *top = r->mTop; 80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiScrollable.java | 258 // if we happen to be on top of the text we want then return here 301 // if list is vertical, matching top edge implies obscured bottom edge 303 shouldSwipeForward = actual.top == visible.top; 371 * performed from bottom to top. If the swipe 387 * then the swipes will be performed from bottom to top. If the swipe 402 * then the swipes will be performed from bottom to top. If the swipe 434 upY = rect.top + swipeAreaAdjust; 450 * then the swipe will be performed from top to bottom. If the swipe 466 * then the swipes will be performed from top t [all...] |
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 579 // must be a multiple of 4 (and > 0) (store top, bottom, ascent, and descent per range) 730 // the order of storage here (top, bottom, ascent, descent) has to match the code below 732 fmCache[fmCacheCount * 4 + 0] = fm.top; 784 fm.top = fmCache[fmCacheIndex * 4 + 0]; 790 if (fm.top < fmTop) { 791 fmTop = fm.top; 822 fmTop = fm.top; 853 fm.top, fm.bottom, 865 int above, int below, int top, int bottom, int v, 896 fm.top 864 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, int flags, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareLayer.java | 154 int left, int top, int right, int bottom); 153 nUpdateRenderLayer(long layerUpdater, long displayList, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 78 jlong rendererPtr, jint left, jint top, jint right, jint bottom) { 80 renderer->prepareDirty(left, top, right, bottom); 118 float left, float top, float right, float bottom, jlong paintPtr) { 124 renderer->drawPatch(bitmap, patch, left, top, right, bottom, paint); 77 android_view_DisplayListCanvas_prepareDirty(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom) argument 116 android_view_DisplayListCanvas_drawPatch(JNIEnv* env, jobject clazz, jlong rendererPtr, jobject jbitmap, jlong patchPtr, float left, float top, float right, float bottom, jlong paintPtr) argument
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutMarginTest.java | 49 mTopView = activity.findViewById(R.id.top);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 315 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, 497 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom); 796 long timestampNs, int left, int top, int right, int bottom); 800 int top, int right, int bottom); 795 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 798 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 169 protected void onLayout(boolean changed, int left, int top, int right, argument 171 super.onLayout(changed, left, top, right, bottom); 270 cy += (mTempRectF.top / scale) - yoffset; 272 cy -= (mTempRectF.top / scale) - yoffset;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 111 edgesOut.top = topEdge; 125 float cropTop = -edges.top / scale; 301 if (edges.top > 0) { 302 adjustment[1] = (float) Math.ceil(edges.top / scale);
|
/frameworks/minikin/libs/minikin/ |
H A D | MinikinFontFreeType.cpp | 92 result->top = mTypeface->glyph->bitmap_top;
|
/frameworks/support/design/honeycomb/android/support/design/widget/ |
H A D | ViewGroupUtilsHoneycomb.java | 48 rect.set((int) (rectF.left + 0.5f), (int) (rectF.top + 0.5f),
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 66 bx.top = p.y; 88 boundingBox = new RectF(bbx.left, bbx.top, bbx.right, bbx.bottom); 164 GestureUtils.translate(pts, -rect.left, -rect.top);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 124 // Let the view's click listener have top priority (the More button relies on this) 241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 242 super.onLayout(changed, left, top, right, bottom); 286 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 153 static void arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 157 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 167 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 170 obj->addRect(left, top, right, bottom, dir); 174 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 177 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 187 static void addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 194 static void addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 196 SkRect rect = SkRect::MakeLTRB(left, top, righ 166 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 173 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 202 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | InsetDrawable.java | 187 padding.top += mState.mInsetTop; 199 contentInsets.top + mState.mInsetTop, 221 r.top += mState.mInsetTop;
|
H A D | LayerDrawable.java | 47 * order, so the element with the largest index will be drawn on top. 397 * @param top The top padding of the new layer. 402 int left, int top, int right, int bottom) { 408 childDrawable.mInsetT = top; 701 * @param t number of pixels to add to the top bound 720 * @param t number of pixels to inset from the top bound 775 * @param t number of pixels to inset from the top bound 785 * @return number of pixels to inset from the top bound 938 padding.top 401 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 989 setPadding(int left, int top, int right, int bottom) argument 1022 setPaddingRelative(int start, int top, int end, int bottom) argument 1203 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Layer.h | 101 regionRect.left * texX, (height - regionRect.top) * texY, 104 regionRect.translate(layer.left, layer.top); 112 void updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | Illustration.java | 38 * ratio of the top padding, which is leaving space for the illustration. Draws an illustration 116 * Set the aspect ratio reserved for the illustration. This overrides the top padding of the 121 * override the top padding. 150 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 152 final int layoutHeight = bottom - top; 173 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ContentFrameLayout.java | 71 public void setDecorPadding(int left, int top, int right, int bottom) { argument 72 mDecorPadding.set(left, top, right, bottom); 116 h -= (mDecorPadding.top + mDecorPadding.bottom);
|
/frameworks/base/core/java/android/text/format/ |
H A D | TimeFormatter.java | 301 int top = bot - (len % DAYSPERWEEK); 302 if (top < -3) { 303 top += DAYSPERWEEK; 305 top += len; 306 if (yday >= top) {
|
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 50 * <p>Child views are drawn in a stack, with the most recently added child on top. 129 mForegroundPaddingTop = padding.top; 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 layoutChildren(left, top, right, bottom, false /* no force left gravity */); 276 void layoutChildren(int left, int top, int right, int bottom, argument 284 final int parentBottom = bottom - top - getPaddingBottomWithForeground();
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 206 position[i*6 + 0].y = height - r->top; 212 position[i*6 + 3].y = height - r->top; 216 position[i*6 + 5].y = height - r->top; 232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 233 glScissor(left, bottom, right, top); 231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 109 public void setShadowPadding(int left, int top, int right, int bottom) { 110 mShadowPadding.set(left, top, right, bottom); 112 setPadding(left + mContentPadding, top + mContentPadding, 157 d + mShadowPadding.top + mShadowPadding.bottom); 464 // If we're on the top edge, shift it up 465 offsetTB = -padding.top;
|