/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 234 crop.top += int(ceilf(float(winCrop.top) * yScale)); 449 temp.active.crop.top, 456 temp.requested.crop.top, 463 front.active.crop.top, 470 front.requested.crop.top, 619 front.active.crop.top, 626 front.requested.crop.top,
|
H A D | DisplayDevice.cpp | 203 b.left, b.top, b.width(), b.height()); 415 float src_y = viewport.top; 417 float dst_y = frame.top; 444 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom, 445 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
|
H A D | LayerBase.cpp | 246 tr.transform(mesh->mVertices[0], win.left, win.top); 249 tr.transform(mesh->mVertices[3], win.right, win.top); 414 GLfloat top = GLfloat(win.top) / GLfloat(s.active.h); local 420 texCoords[0].v = top; 426 texCoords[3].v = top; 458 s.active.crop.left, s.active.crop.top,
|
/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); 253 : left(0), top(0), right(w), bottom(h) { } 255 : left(l), top(t), right(r), bottom(b) { } 258 top = max(top, r.top); 264 return (left>=right || top>=bottom); 268 what, left, top, right-left, bottom-top); 272 int32_t top; member in struct:android::egl_window_surface_v2_t::Rect 293 const int32_t top = max(lhs.top, rhs.top); local 2150 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 81 int32_t left, int32_t top, 85 r.mTop = top; 167 int32_t *left, int32_t *top, 180 *top = r->mTop; 79 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 165 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20RenderLayer.java | 116 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutMarginTest.java | 49 mTopView = activity.findViewById(R.id.top);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 126 * @param top padding for the top (in pixels) 130 public void setPadding(int left, int top, int right, int bottom) { argument 131 if ((left | top | right | bottom) == 0) { 137 mShapeState.mPadding.set(left, top, right, bottom); 144 * Define the padding in the Rect object as: left, top, right, bottom. 223 canvas.translate(r.left, r.top);
|
H A D | InsetDrawable.java | 174 padding.top += mInsetState.mInsetTop; 224 r.top += mInsetState.mInsetTop; 228 mInsetState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
|
H A D | Drawable.java | 98 * drawables on top of each other. 140 public void setBounds(int left, int top, int right, int bottom) { argument 147 if (oldBounds.left != left || oldBounds.top != top || 149 mBounds.set(left, top, right, bottom); 159 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | NinePatchDrawable.java | 186 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity); 189 return Insets.of(left, top, right, bottom); 211 dest.top = Bitmap.scaleFromDensity(src.top, sdensity, tdensity);
|
/frameworks/base/libs/hwui/ |
H A D | Patch.cpp | 110 float left, float top, float right, float bottom) { 147 const float yStretch = fmaxf(bottom - top - fixed, 0.0f); 149 rescaleY = fixed == 0.0f ? 0.0f : fminf(fmaxf(bottom - top, 0.0f) / fixed, 1.0f); 194 y2 = bottom - top; 284 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.4f, %.4f", x1, y1, u1, v1); 311 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.4f, %.4f", x1, y1, u1, v1); 109 updateVertices(const float bitmapWidth, const float bitmapHeight, float left, float top, float right, float bottom) argument
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PlaybackGraphs.java | 42 && tile.top < (view.bottom * view.scale) 43 && tile.bottom >= (view.top * view.scale)) { 218 int newBar = (int)((frame[0].top + frame[0].bottom) * frame[0].scale / 2.0f); 265 canvas.translate(0, 5 * PlaybackView.TILE_SCALE - viewRect.top);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 80 bounds.left, bounds.top, bounds.width(), bounds.height(),
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 66 bx.top = p.y; 89 boundingBox = new RectF(bbx.left, bbx.top, bbx.right, bbx.bottom); 165 GestureUtils.translate(pts, -rect.left, -rect.top);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 121 // Let the view's click listener have top priority (the More button relies on this) 238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 239 super.onLayout(changed, left, top, right, bottom); 283 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 934 args.argi2 = rectangle.top; 1099 scrollY = rectangle.top - magnifiedRegionBounds.top; 1100 } else if (rectangle.top < magnifiedRegionBounds.top) { 1101 scrollY = rectangle.top - magnifiedRegionBounds.top; 1522 result.top = (int) (fromFrame.top 1523 + (toFrame.top [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 186 * the views from there. The top is specified by mSpecificTop. 191 * Layout to sync as a result of a data change. Restore mSyncPosition to have its top 285 * Indicates whether the list selector should be drawn on top of the children or behind 316 * The selection's top padding 341 * The top scroll indicator 363 * The offset to the top of the mMotionPosition view when the down motion event was received 368 * The desired offset to the top of the mMotionPosition view after a scroll 414 * The offset in pixels form the top of the AdapterView to the top 421 * the top edg 2004 setFrame(int left, int top, int right, int bottom) argument [all...] |
H A D | FastScroller.java | 233 // Bounds are always top right. Y coordinate get's translated during draw 346 final int halfThumbHeight = (thumbBounds.bottom - thumbBounds.top) / 2; 374 int top = Math.max(0, 380 pos.top = top; 381 pos.bottom = pos.top + mOverlaySize; 383 mOverlayDrawable.setBounds((int) pos.left, (int) pos.top, 394 final int vOff = (tmpRect.bottom - tmpRect.top) / 2; 396 (int) (rectF.bottom + rectF.top) / 2 + mOverlaySize / 4 - descent - vOff, 425 pos.top [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 346 // Look for top tick 379 png_bytepp rows, int left, int top, int right, int bottom) 381 png_bytep color = rows[top] + left*4; 383 if (left > right || top > bottom) { 387 while (top <= bottom) { 389 png_bytep p = rows[top]+i*4; 399 top++; 429 int left, right, top, bottom; local 435 image->height, &top, &bottom); 437 // hpatch, vpatch, left, top, righ 378 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument 460 int top; local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetFrame.java | 349 public void setMaxChallengeTop(int top) { argument 350 boolean dirty = mMaxChallengeTop != top; 351 mMaxChallengeTop = top; 352 mSmallWidgetHeight = top - getPaddingTop(); 353 mSmallFrameHeight = top + getPaddingBottom();
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 321 LinearLayout top = new LinearLayout(this); 322 top.setOrientation(LinearLayout.VERTICAL); 332 top.addView(tv, new LinearLayout.LayoutParams( 341 top.addView(item, new LinearLayout.LayoutParams( 347 setContentView(scrollWrap(top));
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 124 // the user about an unexpected activity being launched on top. 242 * when we normally hold the top activity paused. 499 * Returns the top activity in any existing task matching the given 529 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 535 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 545 * Returns the first activity (starting from the top of the stack) that 563 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 592 // Check if the top activity is from the new user. 593 ActivityRecord top = mHistory.get(mHistory.size() - 1); 594 if (top 1241 ensureActivitiesVisibleLocked(ActivityRecord top, ActivityRecord starting, String onlyThisProcess, int configChanges) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 707 float top; 722 top = startY; 725 top = y; 730 invalidateRect.set((int) (left - radius), (int) (top - radius), 742 top = startY; 745 top = oldY; 750 invalidateRect.union((int) (left - radius), (int) (top - radius), 773 top = startY; 776 top = oldY; 781 top [all...] |