Searched defs:top (Results 101 - 125 of 343) sorted by last modified time

1234567891011>>

/frameworks/native/services/surfaceflinger/
H A DLayer.cpp569 float insetT = winCrop.top * yScale;
574 crop.top += insetT;
658 activeTransparentRegion.orSelf(Rect(0, 0, s.active.w, activeCrop.top));
661 activeTransparentRegion.orSelf(Rect(0, activeCrop.top,
663 activeTransparentRegion.orSelf(Rect(activeCrop.right, activeCrop.top,
682 mName.string(), transformedFrame.left, transformedFrame.top,
693 "%s (%d)", mName.string(), sourceCrop.left, sourceCrop.top,
951 position.top);
954 position.top, to_string(error).c_str(),
1187 float top local
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp208 position[i*6 + 0].y = height - r->top;
214 position[i*6 + 3].y = height - r->top;
218 position[i*6 + 5].y = height - r->top;
234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
235 glScissor(left, bottom, right, top);
233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp44 const int top = frame.y_offset; local
45 const int bottom = top + frame.height;
46 return x >= left && x < right && y >= top && y < bottom;
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
H A DScope.java87 * Note that these scopes are added on top of the already existing scopes.
116 ScopeEntry top = sScopeItems.get();
117 while (top != null) {
118 ScopeProvider provider = top.mProvider;
136 top = top.mParent;
143 ScopeEntry top = sScopeItems.get();
146 while (top != null && (filePath == null || locations == null)) {
147 ScopeProvider provider = top.mProvider;
149 locations = findAbsoluteLocationFrom(top, (LocationScopeProvide
159 findAbsoluteLocationFrom(ScopeEntry entry, LocationScopeProvider top) argument
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCardViewBindingAdapter.java38 int top = view.getContentPaddingTop();
41 view.setContentPadding(left, top, right, bottom);
45 public static void setContentPaddingTop(CardView view, int top) { argument
49 view.setContentPadding(left, top, right, bottom);
55 int top = view.getContentPaddingTop();
57 view.setContentPadding(left, top, right, bottom);
63 int top = view.getContentPaddingTop();
65 view.setContentPadding(left, top, right, bottom);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/tools/preload2/src/com/android/preload/
H A DMain.java82 private static Main top; field in class:Main
113 top = m;
222 return top.ui;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomLayout.java30 public LayoutParams(int left, int top, int right, int bottom) { argument
33 mTop = top;
/frameworks/base/tools/aapt/
H A DCommand.cpp1880 FeatureGroup& top = featureGroups.editTop(); local
1897 top.features.add(name, feature);
1898 addParentFeatures(&top, name);
1904 if (vers > top.openGLESVersion) {
1905 top.openGLESVersion = vers;
2116 // Merge the features defined in the top level (not inside a <feature-group>)
H A DImages.cpp380 // Look for top tick
465 // find top and bottom extent of nine patch content on center column
482 // diagonally from the top left corner towards the center
512 png_bytepp rows, int left, int top, int right, int bottom)
514 png_bytep color = rows[top] + left*4;
516 if (left > right || top > bottom) {
520 while (top <= bottom) {
522 png_bytep p = rows[top]+i*4;
532 top++;
559 int top; local
511 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DImage.h83 * Inset lengths from all edges of a rectangle. `left` and `top` are measured
84 * from the left and top
90 int32_t top = 0; member in struct:aapt::Bounds
96 : left(l), top(t), right(r), bottom(b) {}
102 return left != 0 || top != 0 || right != 0 || bottom != 0;
106 return left.left == right.left && left.top == right.top &&
H A DPng.cpp818 // Look for top tick
903 // find top and bottom extent of nine patch content on center column
922 // diagonally from the top left corner towards the center
947 static uint32_t getColor(png_bytepp rows, int left, int top, int right, argument
949 png_bytep color = rows[top] + left * 4;
951 if (left > right || top > bottom) {
955 while (top <= bottom) {
957 png_bytep p = rows[top] + i * 4;
967 top++;
993 int top; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java78 /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, argument
88 float bottom = top + image.getHeight();
92 (int)left, (int)top, (int)right, (int)bottom);
208 final float left, final float top, final float right, final float bottom, long paint) {
217 graphics.fillRect((int)left, (int)top,
218 (int)(right-left), (int)(bottom-top));
223 graphics.drawRect((int)left, (int)top,
224 (int)(right-left), (int)(bottom-top));
231 final float top, final float right, final float bottom, long paint) {
232 if (right > left && bottom > top) {
207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
230 nDrawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
262 nDrawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
759 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
H A DCanvas_Delegate.java288 // get the current top graphics2D object.
317 // get the current top graphics2D object.
345 // get the current top graphics2D object.
364 float left, float top,
373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
420 bounds.top = rect.y;
454 float left, float top,
363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
453 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
H A DPath_Delegate.java307 /*package*/ static void nArcTo(long nPath, float left, float top, float right, argument
315 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
330 float left, float top, float right, float bottom, int dir) {
336 pathDelegate.addRect(left, top, right, bottom, dir);
340 /*package*/ static void nAddOval(long nPath, float left, float top, float right, argument
348 left, top, right - left, bottom - top), false);
364 /*package*/ static void nAddArc(long nPath, float left, float top, float right, argument
373 left, top, right - left, bottom - top,
329 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument
378 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
796 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
829 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
H A DRegion_Delegate.java182 int left, int top, int right, int bottom) {
189 regionDelegate.mArea.contains(left, top, right - left, bottom - top);
194 int left, int top, int right, int bottom) {
201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false;
296 int left, int top, int right, int bottom) {
302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
337 rect.left = rect.top
181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument
193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument
295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java94 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
H A DRectShadowPainter.java58 int viewTop = -originCanvasRect.top + outline.top;
80 canvas.translate(rect.left, rect.top);
85 private static float[][] generateRectangleCoordinates(float left, float top, float right, argument
88 top = top + radius;
104 // left-top points
107 ret[points][1] = (float) (top + radius - radius * Math.cos(RADIANS_STEP * i));
111 // right-top points
114 ret[points][1] = (float) (top
[all...]
H A DRenderNode_Delegate.java200 /*package*/ static boolean nSetTop(long renderNode, int top) { argument
202 if (delegate != null && delegate.mTop != top) {
203 delegate.mTop = top;
230 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument
233 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate
236 delegate.mTop = top;
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java139 public boolean pageUp(boolean top) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument
90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument
174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument
187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument
196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java52 * This is based on top of {@link Graphics2D} but can operate independently if none are available
266 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored
339 mLayerBounds.left, mLayerBounds.top,
365 * Restores the top {@link GcSnapshot}, and returns the next one.
529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
694 // them, starting with the top one (which is the current local layer).
748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
760 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java323 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
324 super.onLayout(changed, left, top, right, bottom);
1301 // notifications (mostly on tablets). maxNotifications denotes the normal top padding
1302 // on Keyguard, maxQs denotes the top padding from the quick settings panel. We need to
1576 return mNotificationStackScroller.getCurrentOverScrollAmount(true /* top */);
1581 return mNotificationStackScroller.getCurrentOverScrolledPixels(true /* top */);
1630 // When on Keyguard, we hide the header as soon as the top card of the notification
1637 // In SHADE_LOCKED, the top card is already really close to the header. Hide it as
1788 // Block update if we are in quick settings and just the top padding changed
2482 (v, left, top, righ
[all...]

Completed in 299 milliseconds

1234567891011>>