Searched refs:top (Results 251 - 275 of 559) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/widget/
H A DAbsListView.java194 * the views from there. The top is specified by mSpecificTop.
199 * Layout to sync as a result of a data change. Restore mSyncPosition to have its top
298 * Indicates whether the list selector should be drawn on top of the children or behind
329 * The selection's top padding
354 * The top scroll indicator
376 * The offset to the top of the mMotionPosition view when the down motion event was received
381 * The desired offset to the top of the mMotionPosition view after a scroll
427 * The offset in pixels form the top of the AdapterView to the top
434 * the top edg
2166 setFrame(int left, int top, int right, int bottom) argument
[all...]
H A DAbsSpinner.java176 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop
215 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom;
224 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
H A DGridView.java287 * @param nextTop The location where the top of the item associated with pos
383 * Fills the list from pos up to the top of the list view.
397 end = mListPadding.top;
423 * Fills the list from top to bottom, starting with mFirstPosition
425 * @param nextTop The location where the top of the first item should be
496 final int top = getChildAt(0).getTop();
497 final int offset = childrenTop - top;
544 * @param top the top of the view at that position
548 private View fillSpecific(int position, int top) { argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java190 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset);
221 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
267 // We could have different top-bottom offsets to avoid extra gap above but in that case
270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java263 final int th = r.bottom - r.top;
270 int dh = r.top + th + r.bottom;
274 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2);
H A DDismissViewButton.java121 outRect.top += translationY;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java258 float top = (float) awtRec.getY();
260 float bottom = (float) (top + awtRec.getHeight());
261 RectF androidRect = new RectF(left, top, right, bottom);
H A DBitmapFactory_Delegate.java85 padding.top = paddingArray[1];
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp92 size_t t = hwh - sourceCrop.top;
275 const Group group(mGroupStack.top());
281 fbo = mGroupStack.top().fbo;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAbsSpinnerCompat.java158 mSpinnerPadding.top = paddingTop > mSelectionTopPadding ? paddingTop
193 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom;
202 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java225 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset);
256 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
302 // We could have different top-bottom offsets to avoid extra gap above but in that case
305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java36 * array, with {@code (0,0)} being the top-left pixel in the
138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative");
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java82 * Requests that the content being animated be forced on top of all other
1001 * @param top
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1034 * @param top
1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1042 region.set(left, top, right, bottom);
H A DTransformation.java163 setClipRect(r.left, r.top, r.right, r.bottom);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DButtonsWithTallTextViewInBetweenTest.java57 return mTempRect.top;
68 assertTrue("top button should be shorter than max scroll amount",
84 assertTrue("top button should be off screen",
87 assertFalse("top button should have lost focus",
H A DShortButtonsTest.java96 assertEquals("should be fully scrolled to top",
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java137 * @param top padding for the top (in pixels)
141 public void setPadding(int left, int top, int right, int bottom) { argument
142 if ((left | top | right | bottom) == 0) {
148 mShapeState.mPadding.set(left, top, right, bottom);
155 * in the Rect object as: left, top, right, bottom.
246 canvas.translate(r.left, r.top);
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h123 float top; member in struct:android::uirenderer::ShadowTexture
/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/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java153 clip.top = (int) (paddingTopPts * displayScale);
296 // Make sure content is top-left after media box resize.
324 cropBox.top = (int) (cropBox.top * scale + 0.5f);
331 // If in RTL mode put the content in the logical top-right corner.
349 clip.top += paddingTopPts;
/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java251 * @param t location of the top horizontal clipping plane
268 * values. Left and top clipping planes are set to 0. Near and
285 * @param t location of the top horizontal clipping plane
311 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f));
312 float bottom = -top;
314 float right = top * aspect;
315 loadFrustum(left, right, bottom, top, near, far);
321 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java115 float top, float right, float bottom, float[] statsArray);
114 regionscore(ByteBuffer imageBuffer, int width, int height, float left, float top, float right, float bottom, float[] statsArray) argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java139 public boolean pageUp(boolean top) { argument
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.h83 return mScopeStack.top();
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp37 * [left, top, right, bottom]
45 * sourceCrop: [left, top, right, bottom]
73 * [left, top, right, bottom]
398 - rect.displayFrame.top);
400 rect.sourceCrop.top = 0;
491 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height())
498 || (rect.displayFrame.top >= height)
557 testPrintE(" [left, top, right, bottom]");
566 testPrintE(" sourceCrop: [left, top, right, bottom]");

Completed in 4127 milliseconds

<<11121314151617181920>>