/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/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/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 * 225 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...] |
ftstroke.h | 223 * `inside' borders of a given outline. 226 * outline :: 227 * The source outline handle. 234 FT_Outline_GetInsideBorder( FT_Outline* outline ); variable 244 * `outside' borders of a given outline. 247 * outline :: 248 * The source outline handle. 255 FT_Outline_GetOutsideBorder( FT_Outline* outline ); variable 309 * The radius is expressed in the same units as the outline 347 * A convenience function used to parse a whole outline wit [all...] |
/external/freetype/src/base/ |
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/cff/ |
cf2ft.h | 135 * FreeType client outline 148 cf2_outline_reset( CF2_Outline outline ); variable 150 cf2_outline_close( CF2_Outline outline ); variable
|
/external/pdfium/third_party/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 */ 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...] |
ftstroke.h | 223 * `inside' borders of a given outline. 226 * outline :: 227 * The source outline handle. 234 FT_Outline_GetInsideBorder( FT_Outline* outline ); variable 244 * `outside' borders of a given outline. 247 * outline :: 248 * The source outline handle. 255 FT_Outline_GetOutsideBorder( FT_Outline* outline ); variable 309 * The radius is expressed in the same units as the outline 347 * A convenience function used to parse a whole outline wit [all...] |
/external/pdfium/third_party/freetype/src/base/ |
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/pdfium/third_party/freetype/src/cff/ |
cf2ft.h | 123 * FreeType client outline 136 cf2_outline_reset( CF2_Outline outline ); variable 138 cf2_outline_close( CF2_Outline outline ); variable
|
/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...] |
ftstroke.h | 223 * `inside' borders of a given outline. 226 * outline :: 227 * The source outline handle. 234 FT_Outline_GetInsideBorder( FT_Outline* outline ); variable 244 * `outside' borders of a given outline. 247 * outline :: 248 * The source outline handle. 255 FT_Outline_GetOutsideBorder( FT_Outline* outline ); variable 309 * The radius is expressed in the same units as the outline 347 * A convenience function used to parse a whole outline wit [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ArcShapeTest.java | 26 import android.graphics.Outline; 100 Outline outline = new Outline(); local 104 outline.setEmpty(); 106 shape.getOutline(outline); 107 assertTrue(outline.isEmpty());
|
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...] |
PathShapeTest.java | 26 import android.graphics.Outline; 116 Outline outline = new Outline(); local 120 outline.setEmpty(); 122 shape.getOutline(outline); 123 assertTrue(outline.isEmpty());
|
/external/freetype/src/raster/ |
ftrend1.c | 75 FT_Outline_Transform( &slot->outline, matrix ); 78 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); 94 FT_Outline_Get_CBox( &slot->outline, cbox ); 106 FT_Outline* outline; local 129 outline = &slot->outline; 131 /* translate the outline to the new origin if needed */ 133 FT_Outline_Translate( outline, origin->x, origin->y ); 136 FT_Outline_Get_CBox( outline, &cbox0 ); 202 /* translate outline to render it into the bitmap * [all...] |
/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/pdfium/third_party/freetype/src/raster/ |
ftrend1.c | 75 FT_Outline_Transform( &slot->outline, matrix ); 78 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); 94 FT_Outline_Get_CBox( &slot->outline, cbox ); 106 FT_Outline* outline; local 129 outline = &slot->outline; 131 /* translate the outline to the new origin if needed */ 133 FT_Outline_Translate( outline, origin->x, origin->y ); 136 FT_Outline_Get_CBox( outline, &cbox0 ); 202 /* translate outline to render it into the bitmap * [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),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
AnimateableViewBounds.java | 19 import android.graphics.Outline; 27 /* An outline provider that has a clip and outline that can be animated. */ 59 public void getOutline(View view, Outline outline) { 60 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); 62 outline.setRoundRect(mClipRect.left, mClipRect.top, 67 outline.setRect(mClipRect.left, mClipRect.top, 74 * Sets the view outline alpha. 85 * @return the outline alpha [all...] |
/frameworks/support/core-utils/api21/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable21.java | 21 import android.graphics.Outline; 34 public void getOutline(Outline outline) { 36 outline.setRoundRect(mDstRect, getCornerRadius());
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
RevealOutlineAnimation.java | 6 import android.graphics.Outline; 83 public void getOutline(View v, Outline outline) { 84 outline.setRoundRect(mOutline, mOutlineRadius);
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewOutlineProviderTest.java | 23 import android.graphics.Outline; 54 Outline outline = new Outline(); local 55 outline.setAlpha(1.0f); 58 // No background - outline is 0 alpha, width x height rect 59 ViewOutlineProvider.BACKGROUND.getOutline(view, outline); 60 outline.getRect(queryRect); 62 assertEquals(0f, outline.getAlpha(), 0f); 64 // With background - outline is passed directly from backgroun 83 Outline outline = new Outline(); local 105 Outline outline = new Outline(); local [all...] |
/developers/build/prebuilts/gradle/ClippingBasic/Application/src/main/java/com/example/android/clippingbasic/ |
ClippingBasicFragment.java | 20 import android.graphics.Outline; 31 * This sample shows how to clip a {@link View} using an {@link Outline}. 40 /* The {@Link Outline} used to clip the image with. */ 81 // Toggle whether the View is clipped to the outline 83 /* The Outline is set for the View, but disable clipping. */ 86 Log.d(TAG, String.format("Clipping to outline is disabled")); 92 Log.d(TAG, String.format("Clipping to outline is enabled")); 107 // Invalidate the outline just in case the TextView changed size 132 public void getOutline(View view, Outline outline) { [all...] |