/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 50 * This is based on top of {@link Graphics2D} but can operate independently if none are available 264 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored 337 mLayerBounds.left, mLayerBounds.top, 363 * Restores the top {@link GcSnapshot}, and returns the next one. 527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 691 // them, starting with the top one (which is the current local layer). 745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 757 mLayerBounds.left, mLayerBounds.top, mLayerBound [all...] |
H A D | SystemViewInfo.java | 29 public SystemViewInfo(String name, Object cookie, int left, int top, argument 31 super(name, cookie, left, top, right, bottom); 34 public SystemViewInfo(String name, Object cookie, int left, int top, argument 36 super(name, cookie, left, top, right, bottom, viewObject,
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 206 top = 0.95 - height * index 207 axes = self.fig.add_axes([0.1, top, 0.8, height],
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | Main.java | 75 private static Main top; field in class:Main 93 top = m; 132 return top.ui;
|
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 132 top = 0.95 - height * index 133 axes = self.fig.add_axes([0.1, top, 0.8, height],
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPatternView.java | 166 ev.offsetLocation(mTempRect.left, mTempRect.top); 168 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
H A D | KeyguardSecurityViewFlipper.java | 65 ev.offsetLocation(mTempRect.left, mTempRect.top); 67 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
|
H A D | NumPadKey.java | 147 int top = getHeight() / 2 - totalHeight / 2; 150 int bottom = top + digitHeight; 151 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom); 152 top = (int) (bottom - klondikeHeight * 0.35f); 153 bottom = top + klondikeHeight; 156 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
H A D | PasswordTextView.java | 163 int charHeight = (bounds.bottom - bounds.top);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 152 clip.top = (int) (paddingTopPts * displayScale); 304 // Make sure content is top-left after media box resize. 320 cropBox.top = (int) (cropBox.top * scale + 0.5f); 327 // If in RTL mode put the content in the logical top-right corner. 343 clip.top += paddingTopPts;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 126 public void setPadding(int left, int top, int right, int bottom); argument
|
H A D | PrintPreviewController.java | 217 public void setPadding(int left, int top , int right, int bottom) { 218 mRecyclerView.setPadding(left, top, right, bottom);
|
/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/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterDrawable.java | 260 public void setBounds(int left, int top, int right, int bottom) { argument 261 super.setBounds(left, top, right, bottom); 262 mHeight = bottom - top; 343 mFrame.top, 345 mFrame.top + buttonHeight); 347 mButtonFrame.top += mSubpixelSmoothingLeft; 352 mFrame.top += buttonHeight; 354 mFrame.top += mSubpixelSmoothingLeft; 367 final float levelTop = drawFrac == 1f ? mButtonFrame.top 368 : (mFrame.top [all...] |
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 | 541 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument 546 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top); 550 final float bottom = top + mBackground.getHeight() * mScale; 553 c.clipRect(left, top, right, bottom, 559 RectF dest = new RectF(left, top, right, bottom); 569 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 573 final float bottom = top + mBackground.getHeight() * mScale; 579 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 626 private FloatBuffer createMesh(int left, int top, floa argument [all...] |
H A D | LoadAverageService.java | 200 int top = getPaddingTop() + 2; 204 canvas.drawRect(x-irqW, top, x, bottom, mIrqPaint); 208 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); 212 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); 232 top += mFH; 239 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); 243 canvas.drawRect(x-userW, top, x, bottom, mUserPaint);
|
H A D | SwipeHelper.java | 233 (int) Math.floor(childBounds.top), 238 + "," + (int) Math.floor(childBounds.top)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 241 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument 244 top - padding,
|
H A D | AssistOrbView.java | 229 float translationY = (mCircleRect.top + mCircleRect.bottom) / 2.0f 245 int left, top; 248 top = (int) (getHeight() - circleSize / 2 - mBaseMargin - offset); 249 rect.set(left, top, (int) (left + circleSize), (int) (top + circleSize));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 209 // we assume everything will be laid out left|top 1281 cy = (hitRect.top + hitRect.bottom)/2;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 329 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
H A D | QSContainer.java | 120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 121 super.onLayout(changed, left, top, right, bottom); 253 mQsBounds.top = (int) (mQSPanel.getHeight() * (1 - expansion));
|
H A D | QSDualTileLabel.java | 83 public void onLayoutChange(View v, int left, int top, int right,
|