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

1234567891011>>

/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java754 // SSL certificate for the main top-level page (if secure)
2004 mFindCallback.getActionModeGlobalBottom() - mGlobalVisibleRect.top);
2766 public boolean pageUp(boolean top) { argument
2770 if (top) {
2771 // go to the top of the document
2942 // pin the short document to the top/left of the screen
3039 return new Rect(contentToViewX(x.left), contentToViewY(x.top),
3052 This liberal calculation calls floor() for the top/left, and ceil() for
3081 viewInvalidate(r.left, r.top, r.right, r.bottom);
3136 mScrollOffset.set(mVisibleRect.left, mVisibleRect.top);
5571 setFrame(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp338 uint32_t y = dirtyRect->top;
431 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) {
439 mBounds->top = fmin(mBounds->top, y3);
458 mBounds->top = fmin(mBounds->top, fmin(y1, fmin(y2, fmin(y3, y4))));
509 uint32_t paddedHeight = (uint32_t) (bounds.top - bounds.bottom) + 2 * radius;
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp587 int left, top, right, bottom; local
588 if (meta->findRect(kKeyCropRect, &left, &top, &right, &bottom)) {
590 mHeight = bottom - top + 1;
/frameworks/base/core/java/android/app/
H A DMediaRouteButton.java177 // Show along the top; follow action buttons
381 final int top = getPaddingTop();
387 final int drawTop = top + (bottom - top - drawHeight) / 2;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java113 * top-most). Each value contains the number of items in that row.
368 childLayoutParams.top = (int) itemTop;
439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
239 if (DEBUG) Log.d(TAG, this + " onlayout height: " + (bottom - top));
241 int measureSpec = View.MeasureSpec.makeMeasureSpec(bottom - top,
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
H A DInterrogationActivityTest.java110 assertEquals(0, bounds.top);
387 assertEquals(buttonBounds.top, sourceBounds.top);
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom)
43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom)
52 assertEquals(src.top, dest.bottom);
128 // just below top edge
134 // at top edge
139 // just beyond top edge
184 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom)
197 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom)
213 Rect src = new Rect(0, 0, 50, 50); // (left, top, right, bottom)
226 // still wins while aboveInBeam's bottom edge is < out of beams' top
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp223 int32_t left, top, right, bottom; local
224 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
237 StringPrintf("%s-top", key).c_str(),
238 top);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsVerticalScrollView.java258 int top = mScrollY + getFadeTop(offsetRequired);
259 int bottom = top + getFadeHeight(offsetRequired);
266 left, right, top, bottom, mScrollX, mScrollY,
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp190 int32_t left, int32_t top, int32_t right, int32_t bottom) {
195 item->u.rectValue.mTop = top;
238 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
245 *top = item->u.rectValue.mTop;
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java228 mSurfaceFrame.top = 0;
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DScrollingThroughListOfFocusablesTest.java172 // go back up to the top of the second item
186 // now we are at top row, should have caused scrolling, and fading edge...
194 assertEquals("top of selected row should be just below top vertical fading edge",
222 assertTrue("top of row " + row + " should be on sreen",
223 mTempRect.top >= 0);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java572 if (t.top > r.top) r.top = t.top;
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java615 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
621 float top,
626 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
632 int top,
990 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
996 float top,
1001 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
1007 int top,
617 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
628 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
992 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
1003 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java500 float top,
509 int top,
749 float top,
758 int top,
496 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
505 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
745 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
754 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsContainerView.java104 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java125 padding.top = paddingarray[1];
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java87 * Rule that aligns a child's bottom edge with another child's top edge.
91 * Rule that aligns a child's top edge with another child's bottom edge.
104 * Rule that aligns a child's top edge with another child's top edge.
122 * Rule that aligns the child's top edge with its RelativeLayout
123 * parent's top edge.
403 int top = Integer.MAX_VALUE;
492 top = Math.min(top, params.mTop - params.topMargin);
511 top
[all...]
H A DLinearLayout.java327 final int top = child.getTop() - lp.topMargin - mDividerHeight;
328 drawHorizontalDivider(canvas, top);
387 void drawHorizontalDivider(Canvas canvas, int top) { argument
388 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top,
389 getWidth() - getPaddingRight() - mDividerPadding, top + mDividerHeight);
1662 private void setChildFrame(View child, int left, int top, int width, int height) { argument
1663 child.layout(left, top, left + width, top + height);
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp87 const int32_t top = Effects_log2(mSampleRate * 500); local
88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
/frameworks/base/core/java/android/gesture/
H A DGesture.java66 gesture.mBoundingBox.set(mBoundingBox.left, mBoundingBox.top,
244 -bounds.top + (height - bounds.height() * scale) / 2.0f);
/frameworks/base/libs/hwui/utils/
H A DSortedList.h76 const TYPE& top() const;
165 inline const TYPE& SortedList<TYPE>::top() const {
/frameworks/base/media/java/android/media/
H A DTimedText.java151 * vertical justification 0: top, 1: centered, -1: bottom
498 int top = parcel.readInt();
502 mTextBounds = new Rect(left, top, right, bottom);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardPatternView.java182 ev.offsetLocation(mTempRect.left, mTempRect.top);
184 ev.offsetLocation(-mTempRect.left, -mTempRect.top);

Completed in 640 milliseconds

1234567891011>>