Home
last modified time | relevance | path

Searched refs:contact (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/
Dcom.badlogic.gdx.physics.box2d.Contact.cpp11 b2Contact* contact = (b2Contact*)addr; in wrapped_Java_com_badlogic_gdx_physics_box2d_Contact_jniGetWorldManifold() local
13 contact->GetWorldManifold(&manifold); in wrapped_Java_com_badlogic_gdx_physics_box2d_Contact_jniGetWorldManifold()
14 int numPoints = contact->GetManifold()->pointCount; in wrapped_Java_com_badlogic_gdx_physics_box2d_Contact_jniGetWorldManifold()
47 b2Contact* contact = (b2Contact*)addr; in Java_com_badlogic_gdx_physics_box2d_Contact_jniIsTouching() local
48 return contact->IsTouching(); in Java_com_badlogic_gdx_physics_box2d_Contact_jniIsTouching()
58 b2Contact* contact = (b2Contact*)addr; in Java_com_badlogic_gdx_physics_box2d_Contact_jniSetEnabled() local
59 contact->SetEnabled(flag); in Java_com_badlogic_gdx_physics_box2d_Contact_jniSetEnabled()
69 b2Contact* contact = (b2Contact*)addr; in Java_com_badlogic_gdx_physics_box2d_Contact_jniIsEnabled() local
70 return contact->IsEnabled(); in Java_com_badlogic_gdx_physics_box2d_Contact_jniIsEnabled()
80 b2Contact* contact = (b2Contact*)addr; in Java_com_badlogic_gdx_physics_box2d_Contact_jniGetFixtureA() local
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
DContact.java26 org.jbox2d.dynamics.contacts.Contact contact; field in Contact
34 protected Contact (World world, org.jbox2d.dynamics.contacts.Contact contact) { in Contact() argument
36 this.contact = contact; in Contact()
40 contact.getWorldManifold(worldManifold2); in getWorldManifold()
41 int numContactPoints = contact.getManifold().pointCount; in getWorldManifold()
53 return contact.isTouching(); in isTouching()
59 contact.setEnabled(flag); in setEnabled()
64 return contact.isEnabled(); in isEnabled()
69 return world.fixtures.get(contact.m_fixtureA); in getFixtureA()
74 return world.fixtures.get(contact.m_fixtureB); in getFixtureB()
[all …]
DContactListener.java21 public void beginContact (Contact contact); in beginContact() argument
24 public void endContact (Contact contact); in endContact() argument
33 public void preSolve (Contact contact, Manifold oldManifold); in preSolve() argument
41 public void postSolve (Contact contact, ContactImpulse impulse); in postSolve() argument
DWorld.java93 public void beginContact (org.jbox2d.dynamics.contacts.Contact contact) { in setContactListener()
94 tmpContact.contact = contact; in setContactListener()
99 public void endContact (org.jbox2d.dynamics.contacts.Contact contact) { in setContactListener()
100 tmpContact.contact = contact; in setContactListener()
105 …public void preSolve (org.jbox2d.dynamics.contacts.Contact contact, org.jbox2d.collision.Manifold … in setContactListener()
106 tmpContact.contact = contact; in setContactListener()
112 …public void postSolve (org.jbox2d.dynamics.contacts.Contact contact, org.jbox2d.callbacks.ContactI… in setContactListener()
113 tmpContact.contact = contact; in setContactListener()
303 Contact contact = new Contact(this, contactList); in getContactList() local
304 contacts.add(contact); in getContactList()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DContactListenerTest.java179 public void beginContact (Contact contact) { in beginContact() argument
180 System.out.println(String.format("beginContact() addr=%d", getContactAddr(contact))); in beginContact()
182 getFixtureAddrA(contact), in beginContact()
183 getFixtureAddrB(contact))); in beginContact()
185 contact.getFixtureA(), in beginContact()
186 contact.getFixtureB())); in beginContact()
188 final Body toRemove = contact.getFixtureA().getBody().getType() == BodyType.DynamicBody ? in beginContact()
189 contact.getFixtureA().getBody() : in beginContact()
190 contact.getFixtureB().getBody(); in beginContact()
200 public void endContact (Contact contact) { in endContact() argument
[all …]
DConveyorBelt.java78 public void preSolve (Contact contact, Manifold oldManifold) { in preSolve() argument
79 Fixture fixtureA = contact.getFixtureA(); in preSolve()
80 Fixture fixtureB = contact.getFixtureB(); in preSolve()
83 contact.setTangentSpeed(5.0f); in preSolve()
88 public void beginContact (Contact contact) { in beginContact() argument
93 public void endContact (Contact contact) { in endContact() argument
97 public void postSolve (Contact contact, ContactImpulse impulse) { in postSolve() argument
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_contact.h65 GIM_CONTACT(const GIM_CONTACT & contact): in GIM_CONTACT() argument
66 m_point(contact.m_point), in GIM_CONTACT()
67 m_normal(contact.m_normal), in GIM_CONTACT()
68 m_depth(contact.m_depth), in GIM_CONTACT()
69 m_feature1(contact.m_feature1), in GIM_CONTACT()
70 m_feature2(contact.m_feature2) in GIM_CONTACT()
72 m_point = contact.m_point; in GIM_CONTACT()
73 m_normal = contact.m_normal; in GIM_CONTACT()
74 m_depth = contact.m_depth; in GIM_CONTACT()
75 m_feature1 = contact.m_feature1; in GIM_CONTACT()
[all …]
DbtContactProcessing.h56 GIM_CONTACT(const GIM_CONTACT & contact): in GIM_CONTACT() argument
57 m_point(contact.m_point), in GIM_CONTACT()
58 m_normal(contact.m_normal), in GIM_CONTACT()
59 m_depth(contact.m_depth), in GIM_CONTACT()
60 m_feature1(contact.m_feature1), in GIM_CONTACT()
61 m_feature2(contact.m_feature2) in GIM_CONTACT()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2WorldCallbacks.h87 virtual void BeginContact(b2Contact* contact) { B2_NOT_USED(contact); } in BeginContact() argument
90 virtual void EndContact(b2Contact* contact) { B2_NOT_USED(contact); } in EndContact() argument
102 virtual void PreSolve(b2Contact* contact, const b2Manifold* oldManifold) in PreSolve() argument
104 B2_NOT_USED(contact); in PreSolve()
114 virtual void PostSolve(b2Contact* contact, const b2ContactImpulse* impulse) in PostSolve() argument
116 B2_NOT_USED(contact); in PostSolve()
Db2World.cpp164 m_contactManager.Destroy(ce0->contact); in DestroyBody()
260 edge->contact->FlagForFiltering(); in CreateJoint()
359 edge->contact->FlagForFiltering(); in DestroyJoint()
461 b2Contact* contact = ce->contact; in Solve() local
464 if (contact->m_flags & b2Contact::e_islandFlag) in Solve()
470 if (contact->IsEnabled() == false || in Solve()
471 contact->IsTouching() == false) in Solve()
477 bool sensorA = contact->m_fixtureA->m_isSensor; in Solve()
478 bool sensorB = contact->m_fixtureB->m_isSensor; in Solve()
484 island.Add(contact); in Solve()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
DParticleSystem.java351 ParticleContact contact = m_contactBuffer[k]; in createParticleGroup() local
352 int a = contact.indexA; in createParticleGroup()
353 int b = contact.indexB; in createParticleGroup()
371 pair.flags = contact.flags; in createParticleGroup()
411 final ParticleContact contact = m_contactBuffer[k]; in joinParticleGroups() local
412 int a = contact.indexA; in joinParticleGroups()
413 int b = contact.indexB; in joinParticleGroups()
432 pair.flags = contact.flags; in joinParticleGroups()
499 final ParticleContact contact = m_contactBuffer[k]; in computeDepthForGroup() local
500 int a = contact.indexA; in computeDepthForGroup()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContactParser.java45 public ContactParser(String contact) { in ContactParser() argument
46 super(contact); in ContactParser()
59 Contact contact = new Contact(); in parse() local
64 contact.setWildCardFlag(true); in parse()
66 super.parse(contact); in parse()
69 super.parse(contact); in parse()
71 retval.add(contact); in parse()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
DContactListener.java21 public void beginContact (Contact contact); in beginContact() argument
24 public void endContact (Contact contact); in endContact() argument
33 public void preSolve (Contact contact, Manifold oldManifold); in preSolve() argument
41 public void postSolve (Contact contact, ContactImpulse impulse); in postSolve() argument
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/callbacks/
DContactListener.java49 public void beginContact(Contact contact); in beginContact() argument
55 public void endContact(Contact contact); in endContact() argument
73 public void preSolve(Contact contact, Manifold oldManifold); in preSolve() argument
86 public void postSolve(Contact contact, ContactImpulse impulse); in postSolve() argument
/external/webrtc/webrtc/libjingle/xmpp/
Drostermodule_unittest.cc129 WriteContact(std::ostream& os, const XmppRosterContact* contact) { in WriteContact() argument
130 if (contact == NULL) { in WriteContact()
136 WriteString(os, contact->jid().Str()); in WriteContact()
138 WriteString(os, contact->name()); in WriteContact()
140 WriteSubscriptionState(os, contact->subscription_state()); in WriteContact()
142 for(size_t i=0; i < contact->GetGroupCount(); ++i) { in WriteContact()
144 WriteString(os, contact->GetGroup(i)); in WriteContact()
146 os<<"]]"<<contact->raw_xml()->Str(); in WriteContact()
699 rtc::scoped_ptr<XmppRosterContact> contact(XmppRosterContact::Create()); in TEST_F() local
700 TEST_OK(contact->set_jid(Jid("brandt@example.net"))); in TEST_F()
[all …]
Drostermoduleimpl.cc714 bool operator() (XmppRosterContactImpl *& contact) { in operator ()() argument
715 return contact->jid() == jid_; in operator ()()
737 const XmppRosterContact* contact) { in RequestRosterChange() argument
738 if (!contact) in RequestRosterChange()
741 Jid jid = contact->jid(); in RequestRosterChange()
749 const XmlElement* contact_xml = contact->raw_xml(); in RequestRosterChange()
900 XmppRosterContact* contact = *pos; in DeleteContacts() local
902 delete contact; in DeleteContacts()
938 bool operator() (XmppPresenceImpl *& contact) { in operator ()() argument
939 return contact->jid() == jid_; in operator ()()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBox2DCharacterControllerTest.java240 Contact contact = contacts.get(i); in render() local
241 contact.resetFriction(); in render()
291 Contact contact = contactList.get(i); in isPlayerGrounded() local
292 if (contact.isTouching() in isPlayerGrounded()
293 …&& (contact.getFixtureA() == playerSensorFixture || contact.getFixtureB() == playerSensorFixture))… in isPlayerGrounded()
296 WorldManifold manifold = contact.getWorldManifold(); in isPlayerGrounded()
303 …if (contact.getFixtureA().getUserData() != null && contact.getFixtureA().getUserData().equals("p")… in isPlayerGrounded()
304 groundedPlatform = (Platform)contact.getFixtureA().getBody().getUserData(); in isPlayerGrounded()
307 …if (contact.getFixtureB().getUserData() != null && contact.getFixtureB().getUserData().equals("p")… in isPlayerGrounded()
308 groundedPlatform = (Platform)contact.getFixtureB().getBody().getUserData(); in isPlayerGrounded()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DTaskManager.java130 public int addAvailabilityTask(String contact, IRcsPresenceListener listener){ in addAvailabilityTask() argument
134 contacts[0] = contact; in addAvailabilityTask()
143 public int addPublishTask(String contact, IRcsPresenceListener listener){ in addPublishTask() argument
147 contacts[0] = contact; in addPublishTask()
193 public void onTerminated(String contact){ // for single number capability polling in onTerminated() argument
194 if(contact == null){ in onTerminated()
214 PhoneNumberUtils.compare(contact, capabilityTask.mContacts[0])){ in onTerminated()
364 public PresenceAvailabilityTask getAvailabilityTaskByContact(String contact){ in getAvailabilityTaskByContact() argument
380 if(PhoneNumberUtils.compare(contact, availabilityTask.mContacts[0])){ in getAvailabilityTaskByContact()
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Contacts/
Db2Contact.cpp101 void b2Contact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
105 b2Fixture* fixtureA = contact->m_fixtureA; in Destroy()
106 b2Fixture* fixtureB = contact->m_fixtureB; in Destroy()
108 if (contact->m_manifold.pointCount > 0 && in Destroy()
123 destroyFcn(contact, allocator); in Destroy()
141 m_nodeA.contact = NULL; in b2Contact()
146 m_nodeB.contact = NULL; in b2Contact()
Db2EdgeAndPolygonContact.cpp32 void b2EdgeAndPolygonContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
34 ((b2EdgeAndPolygonContact*)contact)->~b2EdgeAndPolygonContact(); in Destroy()
35 allocator->Free(contact, sizeof(b2EdgeAndPolygonContact)); in Destroy()
Db2PolygonContact.cpp35 void b2PolygonContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
37 ((b2PolygonContact*)contact)->~b2PolygonContact(); in Destroy()
38 allocator->Free(contact, sizeof(b2PolygonContact)); in Destroy()
Db2EdgeAndCircleContact.cpp32 void b2EdgeAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
34 ((b2EdgeAndCircleContact*)contact)->~b2EdgeAndCircleContact(); in Destroy()
35 allocator->Free(contact, sizeof(b2EdgeAndCircleContact)); in Destroy()
Db2CircleContact.cpp35 void b2CircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
37 ((b2CircleContact*)contact)->~b2CircleContact(); in Destroy()
38 allocator->Free(contact, sizeof(b2CircleContact)); in Destroy()
Db2PolygonAndCircleContact.cpp32 void b2PolygonAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
34 ((b2PolygonAndCircleContact*)contact)->~b2PolygonAndCircleContact(); in Destroy()
35 allocator->Free(contact, sizeof(b2PolygonAndCircleContact)); in Destroy()
Db2ChainAndCircleContact.cpp34 void b2ChainAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator) in Destroy() argument
36 ((b2ChainAndCircleContact*)contact)->~b2ChainAndCircleContact(); in Destroy()
37 allocator->Free(contact, sizeof(b2ChainAndCircleContact)); in Destroy()

12345678910>>...13