/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 408 final float progress = ((float) top - getOpenedOptionsY()) 450 public int clampViewPositionVertical(View child, int top, int dy) { argument 452 return Math.max(Math.min(top, getOpenedOptionsY()), getClosedOptionsY());
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockImageSpan.java | 49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | BatteryMeterDrawableBase.java | 217 public void setBounds(int left, int top, int right, int bottom) { argument 218 super.setBounds(left, top, right, bottom); 219 mHeight = bottom - top; 274 mFrame.top, 276 mFrame.top + buttonHeight); 278 mButtonFrame.top += mSubpixelSmoothingLeft; 283 mFrame.top += buttonHeight; 285 mFrame.top += mSubpixelSmoothingLeft; 298 final float levelTop = drawFrac == 1f ? mButtonFrame.top 299 : (mFrame.top [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 527 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument 529 final float h = bottom-top; 533 final int cy = (int) (top + h * 0.5f);
|
H A D | ImageWallpaper.java | 566 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument 571 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top); 575 final float bottom = top + mBackground.getHeight() * mScale; 578 c.clipRect(left, top, right, bottom, 584 RectF dest = new RectF(left, top, right, bottom); 594 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 598 final float bottom = top + mBackground.getHeight() * mScale; 604 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 651 private FloatBuffer createMesh(int left, int top, floa argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 213 // top 221 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument 224 top - padding,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 361 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
H A D | QSContainerImpl.java | 95 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 96 super.onLayout(changed, left, top, right, bottom);
|
H A D | QuickQSPanel.java | 67 public void setPadding(int left, int top, int right, int bottom) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSIconViewImpl.java | 78 int top = 0; 80 layout(mIcon, iconLeft, top); 179 protected final void layout(View child, int left, int top) { argument 180 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 62 outline.setRoundRect(mClipRect.left, mClipRect.top, 67 outline.setRect(mClipRect.left, mClipRect.top, 91 /** Sets the top clip. */ 92 public void setClipTop(int top) { argument 93 mClipRect.top = top; 97 /** Returns the top clip. */ 99 return mClipRect.top; 114 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
|
H A D | FixedSizeFrameLayout.java | 58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 59 mLayoutBounds.set(left, top, right, bottom); 90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | RecentsView.java | 84 * This view is the the top level layout that contains TaskStacks (which are laid out according 205 // Update the top level view's visibilities 363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 365 mTaskStackView.layout(left, top, left + getMeasuredWidth(), top + getMeasuredHeight()); 371 int topBottomInsets = mSystemInsets.top + mSystemInsets.bottom; 376 int childTop = top + mSystemInsets.top + 377 Math.max(0, (bottom - top - topBottomInsets - childHeight)) / 2; 385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBound [all...] |
H A D | TaskStackView.java | 656 if (transform.rect.top <= mLayoutAlgorithm.mStackRect.top) { 1267 mLayoutAlgorithm.mSystemInsets.top, mLayoutAlgorithm.mSystemInsets.left, 1338 MeasureSpec.makeMeasureSpec(mTmpRect.height() + padding.top + padding.bottom, 1343 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1390 tv.layout(mTmpRect.left - padding.left, mTmpRect.top - padding.top, 2262 // We can not reset mEnterAnimationComplete in onReload() because when docking the top
|
H A D | TaskViewHeader.java | 74 * A color drawable that draws a slight highlight at the top to help it stand out. 121 // Draw the highlight at the top edge (but put the bottom edge just out of view) 323 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 324 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 337 || mStableInsets.top != insets.getStableInsetTop() 352 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 353 super.onLayout(changed, left, top, right, bottom); 904 rect.set(containingRect.left, containingRect.top, 905 containingRect.left + width, containingRect.top + height); 1042 return mStableInsets.top != 0; 1109 taskRect.top = offsetPosition - height; 1113 taskRect.top = offsetPosition + mDividerSize; 1127 // Less parallax at the top, just because. 1153 * @return true if and only if {@code dockSide} is top o [all...] |
H A D | MinimizedDockShadow.java | 53 private void updatePaint(int left, int top, int right, int bottom) { argument 65 0, 0, 0, bottom - top, 82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 super.onLayout(changed, left, top, right, bottom); 85 updatePaint(left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ActivatableNotificationView.java | 696 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 697 super.onLayout(changed, left, top, right, bottom); 845 // handle top animation 851 float top; 857 top = bottom * heightFraction; 859 top = heightFraction * (actualHeight + mAnimationTranslationY) * 0.1f - 861 bottom = actualHeight * (1 - heightFraction) + top * heightFraction; 863 mAppearAnimationRect.set(left, top, right, bottom); 864 setOutlineRect(left, top + mAppearAnimationTranslation, right,
|
H A D | ExpandableNotificationRow.java | 618 * Set this notification to be pinned to the top if {@link #isHeadsUp()} is true. By doing this 619 * the notification will be rendered on top of the screen. 1099 * Get the relative top padding of a view relative to this view. This recursively walks up the 1642 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1643 super.onLayout(changed, left, top, right, bottom); 1656 * the top.
|
H A D | ExpandableOutlineView.java | 89 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom); 128 protected void setOutlineRect(float left, float top, float right, float bottom) { argument 132 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom); 135 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.bottom);
|
H A D | ExpandableView.java | 105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 106 super.onLayout(changed, left, top, right, bottom); 112 float top = mClipTopAmount; 114 return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) && 218 * Sets the amount this view should be clipped from the top. This is used when an expanded 219 * notification is scrolling in the top or bottom stack. 221 * @param clipTopAmount The amount of pixels this view should be clipped from top. 276 * such that the child appears to be going away to the top. 1 321 * view,we also need to subtract the clipTopAmount from the top. This is needed in order to 331 outRect.bottom = (int) (outRect.top [all...] |
H A D | KeyguardAffordanceView.java | 149 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 150 super.onLayout(changed, left, top, right, bottom);
|
H A D | NotificationContentView.java | 333 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 338 super.onLayout(changed, left, top, right, bottom); 711 int top = (int) (mClipTopAmount - getTranslationY()); 713 bottom = Math.max(top, bottom); 714 mClipBounds.set(0, top, getWidth(), bottom);
|
H A D | NotificationShelf.java | 508 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 509 super.onLayout(changed, left, top, right, bottom); 638 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 615 // 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, 974 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 980 float top, 985 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 991 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 976 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 987 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|