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

1 2

  /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);
RenderNodePerfTest.java 19 import android.graphics.Outline;
110 Outline a = new Outline();
112 Outline b = new Outline();
  /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/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());
  /cts/tests/tests/graphics/src/android/graphics/cts/
OutlineTest.java 23 import android.graphics.Outline;
38 Outline outline = new Outline(); local
40 assertEquals(0.0f, outline.getAlpha(), 0.0f);
41 assertTrue(outline.isEmpty());
43 assertFalse(outline.getRect(outRect));
44 assertTrue(outline.getRadius() < 0);
49 Outline orig = new Outline();
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewOutlineProviderTest.java 23 import android.graphics.Outline;
62 Outline outline = new Outline(); local
63 outline.setAlpha(1.0f);
66 // No background - outline is 0 alpha, width x height rect
67 ViewOutlineProvider.BACKGROUND.getOutline(view, outline);
68 outline.getRect(queryRect);
70 assertEquals(0f, outline.getAlpha(), 0f);
72 // With background - outline is passed directly from backgroun
91 Outline outline = new Outline(); local
113 Outline outline = new Outline(); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ArcShapeTest.java 26 import android.graphics.Outline;
101 Outline outline = new Outline(); local
105 outline.setEmpty();
107 shape.getOutline(outline);
108 assertTrue(outline.isEmpty());
OvalShapeTest.java 27 import android.graphics.Outline;
85 Outline outline = new Outline(); local
89 // Zero-sized oval yields an empty outline.
91 shape.getOutline(outline);
92 assertTrue(outline.isEmpty());
93 assertTrue(outline.getRadius() < 0);
94 assertFalse(outline.getRect(rect));
98 shape.getOutline(outline);
    [all...]
PathShapeTest.java 26 import android.graphics.Outline;
117 Outline outline = new Outline(); local
121 outline.setEmpty();
123 shape.getOutline(outline);
124 assertTrue(outline.isEmpty());
RectShapeTest.java 27 import android.graphics.Outline;
113 Outline outline = new Outline(); local
118 shape.getOutline(outline);
119 assertTrue(outline.isEmpty());
120 assertTrue(outline.getRadius() < 0);
121 assertFalse(outline.getRect(rect));
125 shape.getOutline(outline);
126 assertFalse(outline.isEmpty())
    [all...]
ShapeTest.java 27 import android.graphics.Outline;
129 Outline outline = new Outline(); local
132 shape.getOutline(outline);
RoundRectShapeTest.java 27 import android.graphics.Outline;
111 Outline outline = new Outline(); local
117 shape.getOutline(outline);
118 assertTrue(outline.isEmpty());
119 assertTrue(outline.getRadius() < 0);
120 assertFalse(outline.getRect(rect));
123 shape.getOutline(outline);
124 assertFalse(outline.isEmpty())
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ViewClippingTests.java 6 import android.graphics.Outline;
54 public void getOutline(View view, Outline outline) {
55 outline.setRect(OUTLINE_RECT);
105 // SW ignores the outline clip
115 // In sw this works because Outline clipping isn't supported.
121 public void getOutline(View view, Outline outline) {
125 outline.setConvexPath(mPath);
126 assertFalse(outline.canClip())
    [all...]
  /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
  /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...]
  /developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
ElevationDragFragment.java 21 import android.graphics.Outline;
35 /* The circular outline provider */
61 /* Define the shape of the {@link View}'s shadow by setting one of the {@link Outline}s. */
64 /* Clip the {@link View} with its outline. */
112 * ViewOutlineProvider which sets the outline to be an oval which fits the view bounds.
116 public void getOutline(View view, Outline outline) {
117 outline.setOval(0, 0, view.getWidth(), view.getHeight());
  /developers/samples/android/ui/views/Clipping/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...]
  /developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
ElevationDragFragment.java 21 import android.graphics.Outline;
35 /* The circular outline provider */
61 /* Define the shape of the {@link View}'s shadow by setting one of the {@link Outline}s. */
64 /* Clip the {@link View} with its outline. */
112 * ViewOutlineProvider which sets the outline to be an oval which fits the view bounds.
116 public void getOutline(View view, Outline outline) {
117 outline.setOval(0, 0, view.getWidth(), view.getHeight());
  /development/samples/browseable/ClippingBasic/src/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...]
  /development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
ElevationDragFragment.java 21 import android.graphics.Outline;
35 /* The circular outline provider */
61 /* Define the shape of the {@link View}'s shadow by setting one of the {@link Outline}s. */
64 /* Clip the {@link View} with its outline. */
112 * ViewOutlineProvider which sets the outline to be an oval which fits the view bounds.
116 public void getOutline(View view, Outline outline) {
117 outline.setOval(0, 0, view.getWidth(), view.getHeight());
  /external/pdfium/core/fpdfdoc/
cpdf_formcontrol.h 42 enum HighlightingMode { None = 0, Invert, Outline, Push, Toggle };
  /external/skia/src/sfnt/
SkOTTable_head.h 98 Outline,
  /external/skqp/src/sfnt/
SkOTTable_head.h 98 Outline,

Completed in 497 milliseconds

1 2