/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
BoxShapeTest.cpp | 44 PassOwnPtr<Shape> createBoxShape(const RoundedRect& bounds, float shapeMargin) 46 return Shape::createLayoutBoxShape(bounds, TopToBottomWritingMode, shapeMargin); 72 /* The BoxShape is based on a 100x50 rectangle at 0,0. The shape-margin value is 10, 83 OwnPtr<Shape> shape = createBoxShape(RoundedRect(0, 0, 100, 50), 10); local 84 EXPECT_FALSE(shape->isEmpty()); 86 EXPECT_EQ(LayoutRect(-10, -10, 120, 70), shape->shapeMarginLogicalBoundingBox()); 92 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-9, 1)); 93 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 0)); 94 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 200)) 128 OwnPtr<Shape> shape = createBoxShape(RoundedRect(IntRect(0, 0, 100, 100), cornerRadii), 0); local [all...] |
/external/chromium_org/chrome/browser/ui/views/apps/ |
shaped_app_window_targeter.cc | 20 SkRegion* shape = app_window_->shape(); local 21 if (!shape) 24 shape->getBoundaryPath(mask);
|
/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/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableShapeValue.h | 42 static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape) 44 return adoptRefWillBeNoop(new AnimatableShapeValue(shape)); 55 AnimatableShapeValue(ShapeValue* shape) 56 : m_shape(shape)
|
AnimatableShapeValue.cpp | 40 if (m_shape->type() != ShapeValue::Shape 41 || shapeValue->m_shape->type() != ShapeValue::Shape 45 const BasicShape* fromShape = this->m_shape->shape(); 46 const BasicShape* toShape = shapeValue->m_shape->shape(); 57 const BasicShape* fromShape = this->m_shape->shape(); 58 const BasicShape* toShape = shapeValue->m_shape->shape(); 64 const ShapeValue* shape = toAnimatableShapeValue(value)->m_shape.get(); local 65 return m_shape == shape || (m_shape && shape && *m_shape == *shape); [all...] |
/external/harfbuzz_ng/ |
Android.mk | 62 src/hb-shape.cc \ 63 src/hb-shape-plan.cc \ 70 src/hb-ot-shape.cc \ 71 src/hb-ot-shape-complex-arabic.cc \ 72 src/hb-ot-shape-complex-default.cc \ 73 src/hb-ot-shape-complex-hangul.cc \ 74 src/hb-ot-shape-complex-hebrew.cc \ 75 src/hb-ot-shape-complex-indic.cc \ 76 src/hb-ot-shape-complex-indic-table.cc \ 77 src/hb-ot-shape-complex-myanmar.cc [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
world.js | 40 var shapeName = body['shape']; 67 function verifyShapeDescription(shape) { 68 if (shape['name'] == undefined) { 69 console.log('Shape needs a name.'); 73 var type = shape['type']; 79 console.log('Shape type - ' + type + ' not supported.'); 84 return verifyCubeDescription(shape); 88 return verifySphereDescription(shape); 92 return verifyCylinderDescription(shape); 96 return verifyConvexDescription(shape); [all...] |
scene.js | 34 function loadShape(shape) { 35 if (shapes[shape.name] != undefined) { 36 return shapes[shape.name]; 39 if (shape.type == "cube") { 40 shapes[shape.name] = new THREE.CubeGeometry(shape['wx'], shape['wy'], shape['wz']); 41 return shapes[shape.name]; 44 if (shape.type == "convex") [all...] |
/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);
|
/frameworks/base/graphics/java/android/graphics/ |
PathDashPathEffect.java | 22 TRANSLATE(0), //!< translate the shape to each position 23 ROTATE(1), //!< rotate the shape about its center 33 * Dash the drawn path by stamping it with the specified shape. This only 37 * @param shape The path to stamp along 38 * @param advance spacing between each stamp of shape 39 * @param phase amount to offset before the first shape is stamped 40 * @param style how to transform the shape at each position as it is stamped 42 public PathDashPathEffect(Path shape, float advance, float phase, 44 native_instance = nativeCreate(shape.ni(), advance, phase,
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
ShapeTest.java | 27 import android.graphics.drawable.shapes.Shape; 79 Shape shape = new MockShape(); local 80 shape.resize(100f, 200f); 81 Shape clonedShape = shape.clone(); 82 assertEquals(100f, shape.getWidth()); 83 assertEquals(200f, shape.getHeight()); 85 assertNotSame(shape, clonedShape); 86 assertEquals(shape.getWidth(), clonedShape.getWidth()) 91 Shape shape = new MockShape(); local 96 Shape shape = new MockShape(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
ShapeValue.h | 45 Shape, 50 static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape, CSSBoxType cssBox) 52 return adoptRef(new ShapeValue(shape, cssBox)); 66 BasicShape* shape() const { return m_shape.get(); } function in class:blink::ShapeValue 88 ShapeValue(PassRefPtr<BasicShape> shape, CSSBoxType cssBox) 89 : m_type(Shape) 90 , m_shape(shape) 124 case Shape: 125 return shape() == other.shape() && cssBox() == other.cssBox() [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageItemPreference.java | 59 ShapeDrawable shape = new ShapeDrawable(new RectShape()); local 60 shape.setIntrinsicHeight(height); 61 shape.setIntrinsicWidth(width); 62 shape.getPaint().setColor(color); 63 return shape;
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
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;
|
RectShape.java | 25 * Defines a rectangle shape. 30 public class RectShape extends Shape { 61 final RectShape shape = (RectShape) super.clone(); local 62 shape.mRect = new RectF(mRect); 63 return shape;
|
RoundRectShape.java | 27 * can be included (to make a sort of "O" shape). 131 RoundRectShape shape = (RoundRectShape) super.clone(); local 132 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null; 133 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null; 134 shape.mInset = new RectF(mInset); 135 shape.mInnerRect = new RectF(mInnerRect); 136 shape.mPath = new Path(mPath); 137 return shape;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAreaElement.idl | 26 [Reflect] attribute DOMString shape;
|
/external/speex/libspeex/ |
cb_search_arm4.h | 42 //const signed char *shape; 46 //shape = shape_cb; 93 const signed char *shape=shape_cb+k; 94 resj0 = MAC16_16(resj0,*shape,r[j-k]); 95 shape += subvect_size; 96 resj1 = MAC16_16(resj1,*shape,r[j-k]); 97 shape += subvect_size; 98 resj2 = MAC16_16(resj2,*shape,r[j-k]); 99 shape += subvect_size; 100 resj3 = MAC16_16(resj3,*shape,r[j-k]) [all...] |
/developers/build/prebuilts/gradle/RevealEffectBasic/Application/src/main/java/com/example/android/revealeffectbasic/ |
RevealEffectBasicFragment.java | 55 View shape = rootView.findViewById(R.id.circle); 60 shape, 64 (float) Math.hypot(shape.getWidth(), shape.getHeight()));
|
/developers/samples/android/ui/views/RevealEffect/RevealEffectBasic/Application/src/main/java/com/example/android/revealeffectbasic/ |
RevealEffectBasicFragment.java | 55 View shape = rootView.findViewById(R.id.circle); 60 shape, 64 (float) Math.hypot(shape.getWidth(), shape.getHeight()));
|
/development/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/ |
RevealEffectBasicFragment.java | 55 View shape = rootView.findViewById(R.id.circle); 60 shape, 64 (float) Math.hypot(shape.getWidth(), shape.getHeight()));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_median_filter.h | 59 enum vl_median_filter_shape shape);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_median_filter.h | 59 enum vl_median_filter_shape shape);
|