HomeSort by relevance Sort by last modified time
    Searched refs:outline (Results 1 - 25 of 276) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
OutlineTest.java 23 import android.graphics.Outline;
37 Outline outline = new Outline(); local
39 assertEquals(0.0f, outline.getAlpha(), 0.0f);
40 assertTrue(outline.isEmpty());
42 assertFalse(outline.getRect(outRect));
43 assertTrue(outline.getRadius() < 0);
48 Outline orig = new Outline();
    [all...]
  /frameworks/base/core/java/android/view/
ViewOutlineProvider.java 19 import android.graphics.Outline;
23 * Interface by which a View builds its {@link Outline}, used for shadow casting and clipping.
27 * Default outline provider for Views, which queries the Outline from the View's background,
28 * or generates a 0 alpha, rectangular Outline the size of the View if a background
31 * @see Drawable#getOutline(Outline)
35 public void getOutline(View view, Outline outline) {
38 background.getOutline(outline);
40 outline.setRect(0, 0, view.getWidth(), view.getHeight())
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewOutlineProviderTest.java 23 import android.graphics.Outline;
61 Outline outline = new Outline(); local
62 outline.setAlpha(1.0f);
65 // No background - outline is 0 alpha, width x height rect
66 ViewOutlineProvider.BACKGROUND.getOutline(view, outline);
67 outline.getRect(queryRect);
69 assertEquals(0f, outline.getAlpha(), 0f);
71 // With background - outline is passed directly from backgroun
90 Outline outline = new Outline(); local
112 Outline outline = new Outline(); local
    [all...]
  /external/freetype/include/freetype/
ftoutln.h 43 /* Outline Processing */
91 /* Walk over an outline's structure to decompose it into individual */
93 /* operations to indicate the start of new contours in the outline. */
96 /* outline :: A pointer to the source target. */
115 /* outline for stroking purposes (otherwise it would result in a */
118 /* Similarly, the function returns success for an empty outline also */
123 FT_Outline_Decompose( FT_Outline* outline,
134 /* Create a new outline of a given size. */
138 /* outline is allocated. Note however that the new */
139 /* outline will *not* necessarily be *freed*, when *
222 FT_Outline_Check( FT_Outline* outline ); variable
414 FT_Outline_Reverse( FT_Outline* outline ); variable
567 FT_Outline_Get_Orientation( FT_Outline* outline ); variable
    [all...]
ftbbox.h 21 /* This component has a _single_ role: to compute exact outline bounding */
61 /* Compute the exact bounding box of an outline. This is slower */
64 /* coincide. Otherwise, the outline Bezier arcs are traversed to */
68 /* outline :: A pointer to the source outline. */
71 /* abbox :: The outline's exact bounding box. */
85 FT_Outline_Get_BBox( FT_Outline* outline,
  /prebuilts/misc/darwin-x86_64/freetype/include/freetype2/
ftoutln.h 43 /* Outline Processing */
91 /* Walk over an outline's structure to decompose it into individual */
93 /* operations to indicate the start of new contours in the outline. */
96 /* outline :: A pointer to the source target. */
115 /* outline for stroking purposes (otherwise it would result in a */
119 FT_Outline_Decompose( FT_Outline* outline,
130 /* Create a new outline of a given size. */
134 /* outline is allocated. Note however that the new */
135 /* outline will *not* necessarily be *freed*, when */
138 /* numPoints :: The maximum number of points within the outline. *
217 FT_Outline_Check( FT_Outline* outline ); variable
406 FT_Outline_Reverse( FT_Outline* outline ); variable
559 FT_Outline_Get_Orientation( FT_Outline* outline ); variable
    [all...]
ftbbox.h 21 /* This component has a _single_ role: to compute exact outline bounding */
61 /* Compute the exact bounding box of an outline. This is slower */
64 /* coincide. Otherwise, the outline Bézier arcs are traversed to */
68 /* outline :: A pointer to the source outline. */
71 /* abbox :: The outline's exact bounding box. */
85 FT_Outline_Get_BBox( FT_Outline* outline,
  /external/expat/examples/
Makefile.am 33 noinst_PROGRAMS = elements outline
38 outline_SOURCES = outline.c
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RoundRectShapeTest.java 27 import android.graphics.Outline;
110 Outline outline = new Outline(); local
116 shape.getOutline(outline);
117 assertTrue(outline.isEmpty());
118 assertTrue(outline.getRadius() < 0);
119 assertFalse(outline.getRect(rect));
122 shape.getOutline(outline);
123 assertFalse(outline.isEmpty())
    [all...]
OvalShapeTest.java 27 import android.graphics.Outline;
84 Outline outline = new Outline(); local
88 // Zero-sized oval yields an empty outline.
90 shape.getOutline(outline);
91 assertTrue(outline.isEmpty());
92 assertTrue(outline.getRadius() < 0);
93 assertFalse(outline.getRect(rect));
97 shape.getOutline(outline);
    [all...]
RectShapeTest.java 27 import android.graphics.Outline;
112 Outline outline = new Outline(); local
117 shape.getOutline(outline);
118 assertTrue(outline.isEmpty());
119 assertTrue(outline.getRadius() < 0);
120 assertFalse(outline.getRect(rect));
124 shape.getOutline(outline);
125 assertFalse(outline.isEmpty())
    [all...]
  /frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
OutlinePerfTest.java 19 import android.graphics.Outline;
37 Outline outline = new Outline(); local
39 outline.setEmpty();
46 Outline outline = new Outline(); local
48 outline.setRoundRect(50, 50, 150, 150, 5);
  /external/freetype/src/base/
ftoutln.c 5 /* FreeType outline management (body). */
51 FT_Outline_Decompose( FT_Outline* outline,
69 FT_Int n; /* index of contour in outline */
77 if ( !outline )
87 for ( n = 0; n < outline->n_contours; n++ )
92 FT_TRACE5(( "FT_Outline_Decompose: Outline %d\n", n ));
94 last = outline->contours[n];
97 limit = outline->points + last;
99 v_start = outline->points[first];
103 v_last = outline->points[last]
    [all...]
ftgloadr.c 94 base->outline.n_points = 0;
95 base->outline.n_contours = 0;
110 FT_FREE( loader->base.outline.points );
111 FT_FREE( loader->base.outline.tags );
112 FT_FREE( loader->base.outline.contours );
141 /* re-adjust the `current' outline fields */
145 FT_Outline* base = &loader->base.outline;
146 FT_Outline* current = &loader->current.outline;
197 /* This function reallocates its outline tables if necessary. Note that */
207 FT_Outline* base = &loader->base.outline;
    [all...]
ftsynth.c 51 FT_Outline* outline; local
57 outline = &slot->outline;
59 /* only oblique outline glyphs */
74 FT_Outline_Transform( outline, &transform );
114 FT_Outline_EmboldenXY( &slot->outline, xstr, ystr );
  /external/freetype/src/autofit/
afdummy.c 43 FT_Outline* outline )
50 error = af_glyph_hints_reload( hints, outline );
52 af_glyph_hints_save( hints, outline );
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowOutlineTest.java 5 import android.graphics.Outline;
18 final Outline outline = new Outline(); local
19 outline.setConvexPath(new Path());
  /external/llvm/tools/llvm-c-test/
disassemble.c 41 char outline[1024]; local
51 size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline,
52 sizeof(outline));
57 pprint(pos, buf + pos, l, outline);
  /external/freetype/src/psaux/
psobjs.c 1615 FT_Outline* outline = builder->current; local
1653 FT_Outline* outline = builder->current; local
1713 FT_Outline* outline = builder->current; local
1884 FT_Outline* outline = builder->current; local
1936 FT_Outline* outline = builder->current; local
1986 FT_Outline* outline = builder->current; local
2159 FT_Outline* outline = builder->current; local
2223 FT_Outline* outline = builder->current; local
2280 FT_Outline* outline = builder->current; local
    [all...]
  /external/freetype/include/freetype/internal/
ftgloadr.h 52 FT_Outline outline; /* outline */ member in struct:FT_GlyphLoadRec_
108 ( (FT_UInt)(_loader)->base.outline.n_points + \
109 (FT_UInt)(_loader)->current.outline.n_points + \
114 ( (FT_UInt)(_loader)->base.outline.n_contours + \
115 (FT_UInt)(_loader)->current.outline.n_contours + \
  /frameworks/layoutlib/bridge/src/android/view/
ViewGroup_Delegate.java 25 import android.graphics.Outline;
50 // the outline obtained is correct.
54 Outline outline = child.mAttachInfo.mTmpOutline; local
55 outlineProvider.getOutline(child, outline);
56 if (outline.mPath != null || (outline.mRect != null && !outline.mRect.isEmpty())) {
58 drawShadow(thisVG, canvas, child, outline);
67 Outline outline)
    [all...]
  /external/freetype/src/tools/
test_bbox.c 31 /* dummy outline #1 */
71 /* dummy outline #2 */
91 /* dummy outline #3 with bbox of [0 100 128 128] precisely */
112 dump_outline( FT_Outline* outline )
117 FT_Outline_Get_CBox( outline, &bbox );
125 FT_Outline_Get_BBox( outline, &bbox );
136 profile_outline( FT_Outline* outline,
145 FT_Outline_Get_CBox( outline, &bbox );
160 FT_Outline_Get_BBox( outline, &bbox );
177 printf( "outline #1\n" )
    [all...]
  /external/freetype/src/raster/
ftrend1.c 70 FT_Outline_Transform( &slot->outline, matrix );
73 FT_Outline_Translate( &slot->outline, delta->x, delta->y );
89 FT_Outline_Get_CBox( &slot->outline, cbox );
101 FT_Outline* outline = &slot->outline; local
148 /* translate outline to render it into the bitmap */
150 FT_Outline_Translate( outline, x_shift, y_shift );
154 params.source = outline;
157 /* render outline into the bitmap */
171 FT_Outline_Translate( outline, -x_shift, -y_shift )
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
OvalShape.java 20 import android.graphics.Outline;
41 public void getOutline(Outline outline) {
43 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
RectShape.java 20 import android.graphics.Outline;
42 public void getOutline(Outline outline) {
44 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),

Completed in 634 milliseconds

1 2 3 4 5 6 7 8 91011>>