/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
OvalShape.java | 20 import android.graphics.Outline; 40 public void getOutline(Outline outline) { 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable21.java | 21 import android.graphics.Outline; 32 public void getOutline(Outline outline) { 34 outline.setRoundRect(mDstRect, getCornerRadius());
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
RevealOutlineProvider.java | 4 import android.graphics.Outline; 46 public void getOutline(View v, Outline outline) { 47 outline.setRoundRect(mOval, mCurrentRadius);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
FloatingActionButton.java | 21 import android.graphics.Outline; 37 public void getOutline(View view, Outline outline) { 38 outline.setOval(0, 0, getWidth(), getHeight());
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ArcShapeTest.java | 24 import android.graphics.Outline; 80 Outline outline = new Outline(); local 84 outline.setEmpty(); 86 shape.getOutline(outline); 87 assertTrue(outline.isEmpty());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableOutlineView.java | 20 import android.graphics.Outline; 28 * Like {@link ExpandableView}, but setting an outline for the height and clipping. 38 public void getOutline(View view, Outline outline) { 41 outline.setRect(translation, 46 outline.setRect(mOutlineRect); 48 outline.setAlpha(mOutlineAlpha);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 4 import android.graphics.Outline; 49 public void getOutline(View view, Outline outline) { 50 outline.setRect(OUTLINE_RECT); 100 // SW ignores the outline clip 109 // In sw this works because Outline clipping isn't supported. 115 public void getOutline(View view, Outline outline) { 119 outline.setConvexPath(mPath); 120 assertFalse(outline.canClip()); // NOTE: non-round-rect, so can't cli [all...] |
/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/v17/leanback/api21/android/support/v17/leanback/widget/ |
ShadowHelperApi21.java | 16 import android.graphics.Outline; 31 public void getOutline(View view, Outline outline) { 32 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 33 outline.setAlpha(1.0f);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
ViewOutlineProviderCompatUtilsLXX.java | 20 import android.graphics.Outline; 61 public void getOutline(final View view, final Outline outline) { 64 ViewOutlineProvider.BACKGROUND.getOutline(view, outline); 68 outline.setRect(
|
/developers/build/prebuilts/gradle/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/ |
FloatingActionButton.java | 20 import android.graphics.Outline; 81 // Set the outline provider for this view. The provider is given the outline which it can 82 // then modify as needed. In this case we set the outline to be an oval fitting the height 86 public void getOutline(View view, Outline outline) { 87 outline.setOval(0, 0, getWidth(), getHeight()); 91 // Finally, enable clipping to the outline, using the provider we set above 147 // As we have changed size, we should invalidate the outline so that is the the
|
/developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/src/main/java/com/example/android/floatingactionbuttonbasic/ |
FloatingActionButton.java | 20 import android.graphics.Outline; 81 // Set the outline provider for this view. The provider is given the outline which it can 82 // then modify as needed. In this case we set the outline to be an oval fitting the height 86 public void getOutline(View view, Outline outline) { 87 outline.setOval(0, 0, getWidth(), getHeight()); 91 // Finally, enable clipping to the outline, using the provider we set above 147 // As we have changed size, we should invalidate the outline so that is the the
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
FloatingActionButton.java | 20 import android.graphics.Outline; 81 // Set the outline provider for this view. The provider is given the outline which it can 82 // then modify as needed. In this case we set the outline to be an oval fitting the height 86 public void getOutline(View view, Outline outline) { 87 outline.setOval(0, 0, getWidth(), getHeight()); 91 // Finally, enable clipping to the outline, using the provider we set above 147 // As we have changed size, we should invalidate the outline so that is the the
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ViewUtil.java | 20 import android.graphics.Outline; 65 public void getOutline(View view, Outline outline) { 66 outline.setOval(0, 0, view.getWidth(), view.getHeight()); 79 public void getOutline(View view, Outline outline) { 80 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 89 * Adds a rectangular outline to a view. This can be useful when you want to add a shadow 91 * @param view view that the outline is added to
|
/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/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...] |
/external/freetype/src/cff/ |
cf2ft.c | 51 * generally respond to `Glyph_Too_Big' by getting a glyph outline 83 cf2_setGlyphWidth( CF2_Outline outline, 86 CFF_Decoder* decoder = outline->decoder; 114 /* functions for handling client outline; */ 124 CF2_Outline outline = (CF2_Outline)callbacks; local 130 FT_ASSERT( outline && outline->decoder ); 133 builder = &outline->decoder->builder; 148 CF2_Outline outline = (CF2_Outline)callbacks; local 152 FT_ASSERT( outline && outline->decoder ) 192 CF2_Outline outline = (CF2_Outline)callbacks; local [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cf2ft.c | 51 * generally respond to `Glyph_Too_Big' by getting a glyph outline 83 cf2_setGlyphWidth( CF2_Outline outline, 86 CFF_Decoder* decoder = outline->decoder; 114 /* functions for handling client outline; */ 124 CF2_Outline outline = (CF2_Outline)callbacks; local 130 FT_ASSERT( outline && outline->decoder ); 133 builder = &outline->decoder->builder; 148 CF2_Outline outline = (CF2_Outline)callbacks; local 152 FT_ASSERT( outline && outline->decoder ) 192 CF2_Outline outline = (CF2_Outline)callbacks; local [all...] |
/external/freetype/include/ |
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/include/freetype/ |
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...] |
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
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...] |
/developers/build/prebuilts/gradle/ClippingBasic/ |
README.md | 6 by which a View builds its outline, used for shadowing and clipping. 11 The [ViewOutlineProvider][1] interface offers you a method to populate the outline of a View. 12 You need to implement a getOutline(android.view.View, android.graphics.Outline) 15 This example clips the outline of a View as a rounded rectangle by defining a class that 21 public void getOutline(View view, Outline outline) { 23 outline.setRoundRect(margin, margin, view.getWidth() - margin, 29 To clip a View by the defined outline, setting a OutlineProvider to a View
|
/developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/ |
ElevationDragFragment.java | 21 import android.graphics.Outline; 33 /* The circular outline provider */ 59 /* Define the shape of the {@link View}'s shadow by setting one of the {@link Outline}s. */ 62 /* Clip the {@link View} with its outline. */ 110 * ViewOutlineProvider which sets the outline to be an oval which fits the view bounds. 114 public void getOutline(View view, Outline outline) { 115 outline.setOval(0, 0, view.getWidth(), view.getHeight());
|
/developers/samples/android/ui/views/Clipping/ClippingBasic/ |
README.md | 6 by which a View builds its outline, used for shadowing and clipping. 11 The [ViewOutlineProvider][1] interface offers you a method to populate the outline of a View. 12 You need to implement a getOutline(android.view.View, android.graphics.Outline) 15 This example clips the outline of a View as a rounded rectangle by defining a class that 21 public void getOutline(View view, Outline outline) { 23 outline.setRoundRect(margin, margin, view.getWidth() - margin, 29 To clip a View by the defined outline, setting a OutlineProvider to a View
|
template-params.xml | 59 by which a View builds its outline, used for shadowing and clipping. 65 The [ViewOutlineProvider][1] interface offers you a method to populate the outline of a View. 66 You need to implement a getOutline(android.view.View, android.graphics.Outline) 69 This example clips the outline of a View as a rounded rectangle by defining a class that 75 public void getOutline(View view, Outline outline) { 77 outline.setRoundRect(margin, margin, view.getWidth() - margin, 83 To clip a View by the defined outline, setting a OutlineProvider to a View
|