/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 299 if (top && lp.topMargin != insets.top) { 301 lp.topMargin = insets.top; 322 // The top and bottom action bars are always within the content area. 408 // If tabs are not embedded, increase space on top to account for them. 413 // This is the space needed on top of the window for all of the action bar 436 mContentInsets.top += topInset; 439 mInnerInsets.top += topInset; 477 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
H A D | ActivityChooserView.java | 453 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 454 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|
H A D | AdapterViewCompat.java | 73 * The offset in pixels from the top of the AdapterView to the top 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1061 // Either we hit the top, or we are trying to move down
|
H A D | DrawableWrapper.java | 50 public void setBounds(int left, int top, int right, int bottom) { argument 51 super.setBounds(left, top, right, bottom); 52 mDrawable.setBounds(left, top, right, bottom); 206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
H A D | ListViewCompat.java | 83 mSelectionTopPadding = padding.top; 203 selectorRect.top -= mSelectionTopPadding; 363 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 365 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 39 * several top level options as action buttons while spilling remaining options over as 435 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 437 super.onLayout(changed, left, top, right, bottom); 442 final int midVertical = (bottom - top) / 2;
|
H A D | LinearLayoutCompat.java | 298 final int top = child.getTop() - lp.topMargin - mDividerHeight; 299 drawHorizontalDivider(canvas, top); 358 void drawHorizontalDivider(Canvas canvas, int top) { argument 359 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, 360 getWidth() - getPaddingRight() - mDividerPadding, top + mDividerHeight); 1417 * @param top 1421 void layoutVertical(int left, int top, int right, int bottom) { argument 1442 childTop = getPaddingTop() + bottom - top - mTotalLength; 1447 childTop = getPaddingTop() + (bottom - top - mTotalLength) / 2; 1512 * @param top 1516 layoutHorizontal(int left, int top, int right, int bottom) argument 1640 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
H A D | SwitchCompat.java | 767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 768 super.onLayout(changed, left, top, right, bottom); 879 final int switchInnerTop = switchTop + padding.top; 910 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; 911 canvas.translate(left, top);
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 32 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 39 * <code>maxCardElevation * 1.5 + (1 - cos45) * cornerRadius</code> on top and bottom. 110 public void setPadding(int left, int top, int right, int bottom) { argument 114 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 160 * @param top The top padding in pixels 169 public void setContentPadding(int left, int top, int right, int bottom) { argument 170 mContentPadding.set(left, top, right, bottom); 214 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, 256 * Returns the inner padding after the Card's top edge 258 * @return the inner padding after the Card's top edg 300 setShadowPadding(int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 186 * {@link android.view.View#getTop() top}, 207 * the quantity {@code top - layoutParams.topMargin} is the same for all children that 1005 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1009 int targetHeight = bottom - top; 1943 int left, int top, int right, int bottom, 1946 setMargins(left, top, right, bottom); 2639 * returned should indicate the distance from the top of the view to the 2716 * Indicates that a view should be aligned with the <em>top</em> 2796 return 0; // baseline gravity is top 1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1061 int top = view.getTop(); 1062 if (left != shadowingView.getLeft() || top != shadowingView.getTop()) { 1063 shadowingView.layout(left, top, 1065 top + shadowingView.getHeight()); 2171 info.left, info.top); 2182 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) { 2189 preInfo.left, preInfo.top, postInfo.left, postInfo.top)) { 2332 (beforeBounds.left != afterLeft || beforeBounds.top ! 5957 layoutDecorated(View child, int left, int top, int right, int bottom) argument 8824 int left, top, right, bottom; field in class:RecyclerView.ItemHolderInfo 8826 ItemHolderInfo(ViewHolder holder, int left, int top, int right, int bottom) argument [all...] |
H A D | StaggeredGridLayoutManager.java | 276 * Checks for gaps if we've reached to the top of the list. 1003 heightSpec = updateSpecWithExtra(heightSpec, lp.topMargin + insets.top, 1548 private void layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) { argument 1553 + ". l:" + left + ",t:" + top 1556 layoutDecorated(child, left + lp.leftMargin, top + lp.topMargin, right - lp.rightMargin
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 196 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 197 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 841 public boolean pageUp(final boolean top) { argument 847 return pageUp(top); 852 return mAwContents.pageUp(top); 1868 public boolean setFrame(final int left, final int top, final int right, final int bottom) { argument 1869 return mWebViewPrivate.super_setFrame(left, top, right, bottom);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1040 XAuint32 top; member in struct:XARectangle_ 1585 XAuint32 top; member in struct:XAFocusPointPosition_
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 448 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 450 rsrMeasureTextAlloc(rsc, a, left, right, top, bottom); 454 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 456 rsrMeasureText(rsc, text, left, right, top, bottom); 447 SC_MeasureTextAlloc(Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 453 SC_MeasureText(const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/rs/ |
H A D | rsFont.h | 54 int32_t top; member in struct:android::renderscript::Font::Rect 60 top = t;
|
H A D | rsMatrix4x4.cpp | 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 279 m[5] = 2.f / (top - bottom); 282 m[13]= -(top + bottom) / (top - bottom); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 289 m[5] = 2.f * near / (top - bottom); 291 m[9] = (top + bottom) / (top - bottom); 299 float top = near * tan((float) (fovy * M_PI / 360.0f)); local 300 float bottom = -top; [all...] |
H A D | rsScriptC_LibGL.cpp | 234 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 241 if (top) { 242 *top = metrics->top; 250 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 256 SetMetrics(&metrics, left, right, top, bottom); 261 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 265 SetMetrics(&metrics, left, right, top, bottom); 233 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 249 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 260 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 405 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 // retract currBottom to overlap the info views on top of main 473 onSizeChanged(0, 0, right - left, bottom - top); 727 // and out. It's meant to be used when the info views are overlaid on top of
|
H A D | GridLayoutManager.java | 1256 int left, top, right, bottom; 1259 top = startSecondary; 1263 top = start; 1268 v.layout(left, top, right, bottom); 1269 updateChildOpticalInsets(v, left, top, right, bottom); 1273 private void updateChildOpticalInsets(View v, int left, int top, int right, int bottom) { argument 1275 p.setOpticalInsets(left - v.getLeft(), top - v.getTop(), 2296 // we either align "firstView" to left/top padding edge 2307 // scroll one "page" left/top,
|
H A D | ScaleFrameLayout.java | 62 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 parentBottom = (int)(pivotY + (bottom - top - pivotY) / mLayoutScaleY + 0.5f) 87 parentBottom = bottom - top - getPaddingBottom();
|
H A D | StreamingTextView.java | 239 float x, int top, int y, int bottom, Paint paint) { 238 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableCompatL.java | 32 public static void setHotspotBounds(Drawable drawable, int left, int top, argument 34 drawable.setHotspotBounds( left, top, right, bottom);
|