HomeSort by relevance Sort by last modified time
    Searched defs:shape (Results 1 - 25 of 56) sorted by null

1 2 3

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
Layer.java 29 GLShape shape = mShapes[i]; local
30 if (shape != null) {
31 shape.startAnimation();
38 GLShape shape = mShapes[i]; local
39 if (shape != null) {
40 shape.endAnimation();
84 GLShape shape = mShapes[i]; local
85 if (shape != null) {
86 shape.animateTransform(mTransform);
GLWorld.java 30 public void addShape(GLShape shape) {
31 mShapeList.add(shape);
32 mIndexCount += shape.getIndexCount();
56 GLShape shape = iter3.next(); local
57 shape.putIndices(mIndexBuffer);
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ShapeTest.java 31 import android.graphics.drawable.shapes.Shape;
35 @TestTargetClass(android.graphics.drawable.shapes.Shape.class)
111 Shape shape = new MockShape(); local
112 shape.resize(100f, 200f);
113 Shape clonedShape = shape.clone();
114 assertEquals(100f, shape.getWidth());
115 assertEquals(200f, shape.getHeight());
117 assertNotSame(shape, clonedShape)
128 Shape shape = new MockShape(); local
138 Shape shape = new MockShape(); local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RectShape.java 24 * Defines a rectangle shape.
29 public class RectShape extends Shape {
56 final RectShape shape = (RectShape) super.clone(); local
57 shape.mRect = new RectF(mRect);
58 return shape;
PathShape.java 29 public class PathShape extends Shape {
40 * @param path a Path that defines the geometric paths for this shape
41 * @param stdWidth the standard width for the shape. Any changes to the
44 * @param stdHeight the standard height for the shape. Any changes to the
70 PathShape shape = (PathShape) super.clone(); local
71 shape.mPath = new Path(mPath);
72 return shape;
RoundRectShape.java 26 * can be included (to make a sort of "O" shape).
108 RoundRectShape shape = (RoundRectShape) super.clone(); local
109 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null;
110 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null;
111 shape.mInset = new RectF(mInset);
112 shape.mInnerRect = new RectF(mInnerRect);
113 shape.mPath = new Path(mPath);
114 return shape;
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
ShapeHolder.java 22 import android.graphics.drawable.shapes.Shape;
26 * A data structure that holds a Shape and various properties that can be used to define
27 * how the shape is drawn.
31 private ShapeDrawable shape; field in class:ShapeHolder
57 shape = value;
60 return shape;
66 shape.getPaint().setColor(value);
78 shape.setAlpha((int)((alpha * 255f) + .5f));
82 return shape.getShape().getWidth();
85 Shape s = shape.getShape()
    [all...]
  /external/skia/src/effects/
SkGroupShape.cpp 24 void SkGroupShape::addShape(int index, SkShape* shape, SkMatrixRef* mr) {
26 if (NULL == shape || index < 0 || index > count) {
30 shape->ref();
39 rec->fShape = shape;
69 SkShape* shape = rec->fShape; local
71 shape->drawMatrix(canvas, *rec->fMatrixRef);
73 shape->draw(canvas);
107 SkShape* shape = reinterpret_cast<SkShape*>(buffer.readFlattenable()); local
116 if (shape) {
117 this->appendShape(shape, mr)->unref()
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PathDashPathEffectTest.java 52 PathDashPathEffect effect = new PathDashPathEffect(shape(), ADVANCE, 0,
90 private static Path shape() { method in class:PathDashPathEffectTest
  /external/webkit/Source/WebCore/html/
HTMLAreaElement.cpp 127 // If element omits the shape attribute, select shape based on number of coordinates.
128 Shape shape = m_shape; local
129 if (shape == Unknown) {
131 shape = Circle;
133 shape = Rect;
135 shape = Poly;
139 switch (shape) {
  /external/icu4c/layout/
ArabicShaping.cpp 116 FeatureMask shape = featureMask & SHAPE_MASK; local
118 shape >>= shapeOffset;
120 glyphStorage.setAuxData(outIndex, ((featureMask & ~SHAPE_MASK) | shape), success);
123 void ArabicShaping::shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax, function in class:ArabicShaping
138 // shaper.shape(errout, 2) (isolate to initial, or final to medial)
139 // shaper.shape(out, 1) (isolate to final)
  /external/webkit/Source/WebCore/platform/efl/
WidgetEfl.cpp 211 int shape = cursorStringMap.cursor(m_data->m_cursorGroup.utf8().data()); local
213 if (shape < ECORE_X_CURSOR_X || shape > ECORE_X_CURSOR_XTERM) {
216 shape = ECORE_X_CURSOR_LEFT_PTR;
220 Ecore_X_Cursor cur = ecore_x_cursor_shape_get(shape);
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.cpp 231 // Shape the item.
237 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
379 bool UniscribeController::shape(const UChar* str, int len, SCRIPT_ITEM item, const SimpleFontData* fontData, function in class:WebCore::UniscribeController
  /sdk/assetstudio/src/com/android/assetstudiolib/
LauncherIconGenerator.java 56 String shape = launcherOptions.shape.id; local
58 + shape + "/" + density + "/back.png");
60 + shape + "/" + density + "/" + launcherOptions.style.id + ".png");
62 + shape + "/" + density + "/mask.png");
134 /** The shape to use for the background */
135 public Shape shape = Shape.SQUARE; field in class:LauncherIconGenerator.LauncherOptions
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
ElementDescriptor.java 256 int shape = hasChildren() ? IconFactory.SHAPE_RECT local
267 Image icon = factory.getIcon(name, color, shape);
289 int shape = hasChildren() ? IconFactory.SHAPE_RECT : IconFactory.SHAPE_CIRCLE; local
290 ImageDescriptor id = factory.getImageDescriptor(mXmlName, color, shape);
  /external/harfbuzz/src/
harfbuzz-shaper-private.h 99 HB_ShapeFunction shape; member in struct:__anon5813
harfbuzz-arabic.c 33 unsigned char shape; member in struct:__anon5774
387 ArabicShape shape = joining_table[XIsolated][j].form2; local
398 properties[i].shape = XIsolated;
402 properties[lastPos].shape = joining_table[shape][j].form1;
403 shape = joining_table[shape][j].form2;
407 if (properties[lastPos].shape == XInitial || properties[lastPos].shape == XMedial)
411 if (properties[lastPos].shape == XFinal
513 ArabicShape shape = joining_table[XIsolated][j].form2; local
936 int shape = properties[i].shape; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
UniscribeHelper.cpp 477 // would allow us to shape characters properly that cross style
512 bool UniscribeHelper::shape(const UChar* input, function in class:WebCore::UniscribeHelper
706 if (!shape(&m_input[startItem], itemLength, numGlyphs, m_runs[i], shaping))
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
ShapeDrawable.java 20 import android.graphics.drawable.shapes.Shape;
32 * A ShapeDrawable takes a {@link android.graphics.drawable.shapes.Shape}
33 * object and manages its presence on the screen. If no Shape is given, then
37 * <p>This object can be defined in an XML file with the <code>&lt;shape></code> element.</p>
42 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable">
45 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">Drawable Resources</a>
68 * Creates a ShapeDrawable with a specified Shape.
70 * @param s the Shape that this ShapeDrawable should be
72 public ShapeDrawable(Shape s) {
83 * Returns the Shape of this ShapeDrawable
    [all...]
  /libcore/luni/src/main/java/java/text/
Bidi.java 166 ((NumericShaper) numericShaper).shape(text, 0, length); method
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
CubeWallpaper2.java 30 * This animated wallpaper draws a rotating wireframe shape. It is similar to
107 String shape = prefs.getString("cube2_shape", "cube"); local
110 readModel(shape);
116 // get the resource identifiers for the arrays for the selected shape
  /external/webkit/Source/WebCore/css/
CSSGradientValue.cpp 755 GradientShape shape = Ellipse; local
757 shape = Circle;
781 // Now compute the end radii based on the second point, shape and fill.
788 if (shape == Circle) {
800 if (shape == Circle) {
812 if (shape == Circle)
815 // If <shape> is ellipse, the gradient-shape has the same ratio of width to height
829 if (shape == Circle)
832 // If <shape> is ellipse, the gradient-shape has the same ratio of width to heigh
    [all...]
  /libcore/luni/src/main/java/java/awt/font/
NumericShaper.java 665 public void shape(char[] text, int start, int count, int context) { method in class:NumericShaper
681 public void shape(char[] text, int start, int count) { method in class:NumericShaper
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageVolumePreferenceCategory.java 369 ShapeDrawable shape = new ShapeDrawable(new RectShape()); local
370 shape.setIntrinsicHeight(height);
371 shape.setIntrinsicWidth(width);
372 shape.getPaint().setColor(color);
373 return shape;
  /frameworks/base/icu4j/java/android/icu/text/
ArabicShaping.java 17 * Shape Arabic text on a character basis.
39 * Unicode that are rendered as letters with a specific shape
97 public int shape(char[] source, int sourceStart, int sourceLength, method in class:ArabicShaping
154 public void shape(char[] source, int start, int length) throws ArabicShapingException { method in class:ArabicShaping
156 throw new ArabicShapingException("Cannot shape in place with length option resize.");
158 shape(source, start, length, source, start, length); method
169 public String shape(String text) throws ArabicShapingException { method in class:ArabicShaping
177 int len = shape(src, 0, src.length, dest, 0, dest.length);
318 * TAIL (i.e. 0xFE73) or the old unofficial Unicode TAIL code point (i.e. 0x200B) and de-shape the
464 * the isolated forms rather than to their correct shape
1728 int shape = shapeTable[nextLink & LINK_MASK] local
    [all...]

Completed in 468 milliseconds

1 2 3