Searched refs:top (Results 301 - 325 of 726) sorted by last modified time

<<11121314151617181920>>

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java50 * 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 DSystemViewInfo.java29 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 Dorientationplot.py206 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 DMain.java75 private static Main top; field in class:Main
93 top = m;
132 return top.ui;
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py132 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 DKeyguardPatternView.java166 ev.offsetLocation(mTempRect.left, mTempRect.top);
168 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
H A DKeyguardSecurityViewFlipper.java65 ev.offsetLocation(mTempRect.left, mTempRect.top);
67 ev.offsetLocation(-mTempRect.left, -mTempRect.top);
H A DNumPadKey.java147 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 DPasswordTextView.java163 int charHeight = (bounds.bottom - bounds.top);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java152 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 DPageAdapter.java126 public void setPadding(int left, int top, int right, int bottom); argument
H A DPrintPreviewController.java217 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 DPrintContentView.java272 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 DRestrictedLockImageSpan.java49 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 DBatteryMeterDrawable.java260 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 DDessertCaseView.java527 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 DImageWallpaper.java541 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 DLoadAverageService.java200 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 DSwipeHelper.java233 (int) Math.floor(childBounds.top),
238 + "," + (int) Math.floor(childBounds.top)
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java241 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument
244 top - padding,
H A DAssistOrbView.java229 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 DMLand.java209 // 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 DQSAnimator.java329 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
H A DQSContainer.java120 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 DQSDualTileLabel.java83 public void onLayoutChange(View v, int left, int top, int right,

Completed in 385 milliseconds

<<11121314151617181920>>