/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
CropFilter.java | 80 addMaskedInputPort("box", ObjectFormat.fromClass(Quad.class, FrameFormat.TARGET_SIMPLE)); 116 Frame boxFrame = pullInput("box"); 120 // Get the box 121 Quad box = (Quad)boxFrame.getObjectValue(); local 134 shaderProgram.setSourceRegion(box);
|
DrawRectFilter.java | 74 addMaskedInputPort("box", ObjectFormat.fromClass(Quad.class, FrameFormat.TARGET_SIMPLE)); 92 Frame boxFrame = pullInput("box"); 94 // Get the box 95 Quad box = (Quad)boxFrame.getObjectValue(); local 96 box = box.scaled(2.0f).translated(-1.0f, -1.0f); 103 renderBox(box); 112 private void renderBox(Quad box) { 117 float[] vertexValues = { box.p0.x, box.p0.y [all...] |
/packages/apps/Calculator/tests/src/com/android/calculator2/ |
CalculatorHitSomeButtons.java | 134 EditText box = (EditText) display.getCurrentView(); local 135 assertNotNull(box); 137 return box.getText().toString();
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
MessagesAdapterTests.java | 54 Mailbox box = ProviderTestUtils.setupMailbox("name", accountId, false, mProviderContext); local 55 box.mType = type; 56 box.save(mProviderContext); 57 return box.mId;
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloPhysics.java | 47 import com.jme3.scene.shape.Box;
74 private static final Box box;
field in class:HelloPhysics 78 private static final Box floor;
90 box = new Box(Vector3f.ZERO, brickLength, brickHeight, brickWidth);
91 box.scaleTextureCoordinates(new Vector2f(1f, .5f));
93 floor = new Box(Vector3f.ZERO, 10f, 0.1f, 5f);
185 Geometry brick_geo = new Geometry("brick", box);
|
HelloPicking.java | 52 import com.jme3.scene.shape.Box;
128 Box box = new Box(new Vector3f(x, y, z), 1, 1, 1);
local 129 Geometry cube = new Geometry(name, box);
138 Box box = new Box(new Vector3f(0, -4, -5), 15, .2f, 15);
local 139 Geometry floor = new Geometry("the Floor", box);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_shrinkable_hbox.cc | 19 GtkChromeShrinkableHBox* box; member in struct:__anon3620::SizeAllocateData 66 gtk_box_query_child_packing(GTK_BOX(data->box), child, NULL, NULL, 90 if (data->box->hide_child_directly || child_allocation.width <= 1) 135 static void gtk_chrome_shrinkable_hbox_init(GtkChromeShrinkableHBox* box) { 136 box->hide_child_directly = FALSE; 137 box->children_width_requisition = 0; 144 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(object); local 149 box, g_value_get_boolean(value)); 161 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(object); local 165 g_value_set_boolean(value, box->hide_child_directly) 175 GtkChromeShrinkableHBox* box = GTK_CHROME_SHRINKABLE_HBOX(widget); local [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNode.java | 18 import com.jme3.scene.shape.Box; 44 Box boxshape4 = new Box(Vector3f.ZERO, 1f, 1f, 1f ); 55 Box box = new Box(Vector3f.ZERO, 1f, 1f, 1f); local 56 cube2 = new Geometry("cube2", box);
|
TestBatchNodeCluster.java | 20 import com.jme3.scene.shape.Box; 142 Geometry box = new Geometry("Box" + i, new Box(Vector3f.ZERO, 1, 1, 1)); local 143 box.setLocalTranslation(new Vector3f(xPosition.get(xPosition.size() - 1), 146 batchNode.attachChild(box); 148 box.setMaterial(mat1); 151 box.setMaterial(mat2); 154 box.setMaterial(mat3); 157 box.setMaterial(mat4) 315 Spatial box; field in class:TestBatchNodeCluster [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
PhysicsTestHelper.java | 23 import com.jme3.scene.shape.Box; 48 Box floorBox = new Box(140, 0.25f, 140); 61 Box box = new Box(0.25f, 0.25f, 0.25f); local 62 Geometry boxGeometry = new Geometry("Box", box); 65 //RigidBodyControl automatically uses box collision shapes when attached to single geometry with box mes 115 Box box = new Box(1, 1, 1); local 133 Box box = new Box(0.25f, 0.25f, 0.25f); local [all...] |
TestCollisionShapeFactory.java | 45 import com.jme3.scene.shape.Box; 99 Box box = new Box(0.25f, 0.25f, 0.25f); local 102 new Geometry("box1", box), 103 new Geometry("box2", box), 104 new Geometry("box3", box),
|
TestPhysicsCar.java | 105 BoxCollisionShape box = new BoxCollisionShape(new Vector3f(1.2f, 0.5f, 2.4f)); local 106 compoundShape.addChildShape(box, new Vector3f(0, 1, 0));
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
TestMousePick.java | 48 import com.jme3.scene.shape.Box; 110 Box box = new Box(new Vector3f(x, y, z), 1, 1, 1); local 111 Geometry cube = new Geometry(name, box); 120 Box box = new Box(new Vector3f(0, -4, -5), 15, .2f, 15); local 121 Geometry floor = new Geometry("the Floor", box);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestSpatialAnim.java | 13 import com.jme3.scene.shape.Box;
34 Box box = new Box(1, 1, 1);
local 35 Geometry geom = new Geometry("box", box);
40 Box child = new Box(0.5f, 0.5f, 0.5f);
41 Geometry childGeom = new Geometry("box", child);
|
TestCustomAnim.java | 49 import com.jme3.scene.shape.Box; 74 Box box = new Box(1, 1, 1); local 77 FloatBuffer weights = FloatBuffer.allocate( box.getVertexCount() * 4 ); 80 box.setBuffer(weightsBuf); 83 ByteBuffer indices = ByteBuffer.allocate( box.getVertexCount() * 4 ); 86 box.setBuffer(indicesBuf); 89 box.generateBindPose(true); 98 for (int i = 0; i < box.getVertexCount() * 4; i += 4) [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
TextControlInnerElements.cpp | 261 RenderBox* box = renderBox(); local 262 if (!box) { 276 IntPoint local = roundedIntPoint(box->absoluteToLocal(mouseEvent->absoluteLocation(), false, true)); 278 if (box->borderBoxRect().contains(local)) { 295 if (box->borderBoxRect().contains(local)) { 303 m_upDownState = local.y() < box->height() / 2 ? Up : Down;
|
/external/webkit/Source/WebCore/rendering/ |
RenderMarquee.cpp | 113 RenderBox* box = m_layer->renderBox(); local 114 ASSERT(box); 115 RenderStyle* s = box->style(); 118 int clientWidth = box->clientWidth(); 119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow(); 121 contentWidth += (box->paddingRight() - box->borderLeft()); 123 contentWidth = box->width() - contentWidth; 124 contentWidth += (box->paddingLeft() - box->borderRight()) [all...] |
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLRoot.cpp | 122 RenderBoxModelObject* box = toRenderBoxModelObject(current); local 123 indexWidth += box->offsetWidth();
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGInlineText.cpp | 103 InlineTextBox* box = new (renderArena()) SVGInlineTextBox(this); local 104 box->setHasVirtualLogicalHeight(); 105 return box; 108 IntRect RenderSVGInlineText::localCaretRect(InlineBox* box, int caretOffset, int*) 110 if (!box->isInlineTextBox()) 113 InlineTextBox* textBox = static_cast<InlineTextBox*>(box); 120 int x = box->isLeftToRightDirection() ? rect.x() : rect.maxX(); 125 int x = box->isLeftToRightDirection() ? rect.maxX() : rect.x(); 132 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox() [all...] |
RenderSVGText.cpp | 180 RootInlineBox* box = new (renderArena()) SVGRootInlineBox(this); local 181 box->setHasVirtualLogicalHeight(); 182 return box;
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 126 Mailbox box = new Mailbox(); local 133 box.mDisplayName = displayName; 134 box.mServerId = name; 135 box.mParentServerId = "parent-serverid-" + name; 136 box.mParentKey = 4; 137 box.mAccountKey = accountId; 138 box.mType = type; 139 box.mDelimiter = delimiter; 140 box.mSyncKey = "sync-key-" + name; 141 box.mSyncLookback = 2 [all...] |
/dalvik/tests/045-reflect-array/src/ |
Main.java | 131 Short box = (Short) Array.get(shortArray, 0); local
|
/external/chromium/chrome/browser/notifications/ |
desktop_notifications_unittest.cc | 349 gfx::Rect box = balloon_collection_->GetBalloonsBoundingBox(); local 356 // Make sure each balloon's 4 corners are inside the box. 365 EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y))); 366 EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y))); 367 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y))); 368 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));
|
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestOctree.java | 68 private WireBox box = new WireBox(1,1,1); field in class:TestOctree 155 // tree.renderBounds(rq, transform, box, mat);
|
/external/qemu/android/skin/ |
file.c | 318 SkinBox box; local 344 skin_box_minmax_init( &box ); 347 skin_box_minmax_update( &box, &part->background->rect ); 350 skin_box_minmax_update( &box, &part->display->rect ); 353 skin_box_minmax_update( &box, &button->rect ); 356 if ( !skin_box_minmax_to_rect( &box, &part->rect ) ) { 369 SkinBox box; local 395 skin_box_minmax_init( &box ); 398 skin_box_minmax_update( &box, &part->background->rect ); 401 skin_box_minmax_update( &box, &part->display->rect ) [all...] |