HomeSort by relevance Sort by last modified time
    Searched full:outline (Results 1 - 25 of 799) 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/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());
  /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);
  /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...]
  /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/llvm/test/CodeGen/X86/
code_placement_outline_optional_branches.ll 2 ; RUN: llc -mcpu=corei7 -mtriple=x86_64-linux -outline-optional-branches < %s | FileCheck %s -check-prefix=CHECK-OUTLINE
19 ; CHECK-OUTLINE-LABEL: foo:
20 ; CHECK-OUTLINE: callq b
21 ; CHECK-OUTLINE: callq c
22 ; CHECK-OUTLINE: callq d
23 ; CHECK-OUTLINE: callq e
24 ; CHECK-OUTLINE: callq f
25 ; CHECK-OUTLINE: callq a
26 ; CHECK-OUTLINE: callq
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowOutline.java 5 import android.graphics.Outline;
10 @Implements(value = Outline.class, minSdk = LOLLIPOP)
  /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...]
  /frameworks/base/graphics/java/android/graphics/
Outline.java 35 * @see Drawable#getOutline(Outline)
37 public final class Outline {
76 * Constructs an empty Outline. Call one of the setter methods to make
77 * the outline valid for use with a View.
79 public Outline() {}
82 * Constructs an Outline with a copy of the data in src.
84 public Outline(@NonNull Outline src) {
89 * Sets the outline to be empty.
104 * Returns whether the Outline is empty
    [all...]
  /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/expat/examples/
outline.vcxproj 57 <IntDir>.\..\win32\tmp\Debug-outline\</IntDir>
62 <IntDir>.\..\win32\tmp\Release-outline\</IntDir>
77 <AssemblerListingLocation>.\..\win32\tmp\Debug-outline\</AssemblerListingLocation>
78 <PrecompiledHeaderOutputFile>.\..\win32\tmp\Debug-outline\outline.pch</PrecompiledHeaderOutputFile>
79 <ObjectFileName>.\..\win32\tmp\Debug-outline\</ObjectFileName>
80 <ProgramDataBaseFileName>.\..\win32\tmp\Debug-outline\</ProgramDataBaseFileName>
84 <TypeLibraryName>.\..\win32\bin\Debug\outline.tlb</TypeLibraryName>
92 <OutputFile>.\..\win32\bin\Debug\outline.bsc</OutputFile>
98 <OutputFile>..\win32\bin\Debug\outline.exe</OutputFile
    [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/clang/test/SemaObjC/
narrow-property-type-in-cont-class.m 11 @property(nonatomic,readonly,retain) NSArray* outline;
16 @property(nonatomic,readwrite,retain) NSMutableArray* outline;
  /external/freetype/src/smooth/
ftsmooth.c 69 FT_Outline_Transform( &slot->outline, matrix );
72 FT_Outline_Translate( &slot->outline, delta->x, delta->y );
88 FT_Outline_Get_CBox( &slot->outline, cbox );
101 FT_Outline* outline = &slot->outline; local
154 /* translate outline to render it into the bitmap */
156 FT_Outline_Translate( outline, x_shift, y_shift );
160 params.source = outline;
165 /* implode outline if needed */
167 FT_Vector* points = outline->points
    [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),
  /frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
RoundedBitmapDrawable21.java 21 import android.graphics.Outline;
35 public void getOutline(Outline outline) {
37 outline.setRoundRect(mDstRect, getCornerRadius());
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ViewClippingTests.java 6 import android.graphics.Outline;
53 public void getOutline(View view, Outline outline) {
54 outline.setRect(OUTLINE_RECT);
104 // SW ignores the outline clip
113 // In sw this works because Outline clipping isn't supported.
119 public void getOutline(View view, Outline outline) {
123 outline.setConvexPath(mPath);
124 assertFalse(outline.canClip()); // NOTE: non-round-rect, so can't cli
    [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...]

Completed in 1922 milliseconds

1 2 3 4 5 6 7 8 91011>>