/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 49 int top = parentTop+node.getTop(); 50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight()); 157 int top = parentTop + root.getTop(); 169 top -= root.getScrollY(); 173 buildTextRects(child, matrixStackIndex, left, top); 186 canvas.drawRect(te.bounds.left - mTmpLocation[0], te.bounds.top - mTmpLocation[1], 195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top,
|
H A D | MainInteractionSession.java | 326 outInsets.contentInsets.top = mBottomContent.getTop();
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | MainActivity.java | 148 padding.top = loadIntText(mPaddingTopView);
|
H A D | TestWallpaper.java | 208 c.drawRect(0+mMainInsets.left, 0+mMainInsets.top, 212 c.drawRect(0 + mStableInsets.left, 0 + mStableInsets.top, 237 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top 241 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 1798 FeatureGroup& top = featureGroups.editTop(); local 1815 top.features.add(name, feature); 1816 addParentFeatures(&top, name); 1822 if (vers > top.openGLESVersion) { 1823 top.openGLESVersion = vers; 2025 // Merge the features defined in the top level (not inside a <feature-group>)
|
H A D | Images.cpp | 380 // 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...] |
H A D | ResourceTable.cpp | 4751 sp<XMLNode> node = nodesToVisit.top(); 4900 * Detects use of the `bundle' format and extracts nested resources into their own top level
|
H A D | XMLNode.cpp | 336 StringPool::entry_style_span span = spanStack.top(); 523 const namespace_entry& ns = namespaces.top();
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 788 // Look for top tick 866 // find top and bottom extent of nine patch content on center column 884 // diagonally from the top left corner towards the center 912 static uint32_t getColor(png_bytepp rows, int left, int top, int right, int bottom) { argument 913 png_bytep color = rows[top] + left*4; 915 if (left > right || top > bottom) { 919 while (top <= bottom) { 921 png_bytep p = rows[top]+i*4; 931 top++; 957 int top; local [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 63 stack->nodeStack.top()->addChild(std::move(node)); 129 //stack->nodeStack.top()->comment = std::move(stack->pendingComment); 143 Node* currentParent = stack->nodeStack.top(); 314 nodeStack.top()->addChild(std::move(newNode));
|
H A D | XmlPullParser.cpp | 272 parser->mNamespaceUris.top()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 257 float top = (float) awtRec.getY(); 259 float bottom = (float) (top + awtRec.getHeight()); 260 RectF androidRect = new RectF(left, top, right, bottom);
|
H A D | BitmapFactory_Delegate.java | 86 padding.top = paddingArray[1];
|
H A D | Canvas_Delegate.java | 311 // get the current top graphics2D object. 340 // get the current top graphics2D object. 368 // get the current top graphics2D object. 387 float left, float top, 396 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 460 bounds.top = rect.y; 494 float left, float top, 585 final float left, final float top, final float right, final float bottom, long paint) { 596 graphics.fillRect((int)left, (int)top, 597 (int)(right-left), (int)(bottom-top)); 386 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument 493 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 584 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 610 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 645 native_drawArc(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 677 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 814 native_drawBitmap(Canvas thisCanvas, long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument 1142 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
H A D | Matrix_Delegate.java | 140 src.left, src.top, 141 src.right, src.top, 153 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); 558 ty = dst.top - src.top * sy;
|
H A D | Paint_Delegate.java | 610 fmi.top = - javaMetrics.getMaxAscent(); 1316 metrics.top = - javaMetrics.getMaxAscent();
|
H A D | Path_Delegate.java | 305 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument 313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 328 float left, float top, float right, float bottom, int dir) { 334 pathDelegate.addRect(left, top, right, bottom, dir); 338 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument 346 left, top, right - left, bottom - top), false); 362 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument 371 left, top, right - left, bottom - top, 327 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 376 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 389 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 793 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 826 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
H A D | Region_Delegate.java | 182 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/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 132 Canvas_Delegate.native_translate(canvasWrapperPtr, bounds.left, bounds.top); 1049 // and the current one on the top of the stack.
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 103 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|
H A D | RectShadowPainter.java | 84 sideShadow(canvas, edgePaint, edgeShadowRect, outline.left, inset.top, 0); 89 sideShadow(canvas, edgePaint, edgeShadowRect, inset.right, outline.top, 1); 100 drawCorner(canvas, cornerPaint, path, inset.left, inset.top, outerArcRadius, 2); 101 drawCorner(canvas, cornerPaint, path, inset.right, inset.top, outerArcRadius, 3); 122 // Usually canvas has been translated to the top left corner of the view when this is 123 // called. So, setting a clip rect at 0,0 will clip the top left part of the shadow. 173 return (int) rect.left >= (int) rect.right || (int) rect.top >= (int) rect.bottom;
|
H A D | RenderNode_Delegate.java | 193 /*package*/ static boolean nSetTop(long renderNode, int top) { argument 195 if (delegate != null && delegate.mTop != top) { 196 delegate.mTop = top; 223 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument 226 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate 229 delegate.mTop = top;
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 139 public boolean pageUp(boolean top) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 99 public void repositionChild(IWindow window, int left, int top, int right, int bottom, argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 65 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument 71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument 86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 162 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 170 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument 183 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument 213 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
|