Home
last modified time | relevance | path

Searched refs:contacts (Results 1 – 25 of 65) sorted by relevance

123

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_contact.cpp36 const gim_contact_array & contacts, bool normal_contact_average) in merge_contacts() argument
40 if(contacts.size()==1) in merge_contacts()
42 push_back(contacts.back()); in merge_contacts()
46 gim_array<GIM_RSORT_TOKEN> keycontacts(contacts.size()); in merge_contacts()
47 keycontacts.resize(contacts.size(),false); in merge_contacts()
53 for (i = 0;i<contacts.size() ;i++ ) in merge_contacts()
55 keycontacts[i].m_key = contacts[i].calc_key_contact(); in merge_contacts()
70 push_back(contacts[keycontacts[0].m_value]); in merge_contacts()
78 const GIM_CONTACT * scontact = &contacts[keycontacts[i].m_value]; in merge_contacts()
116 void gim_contact_array::merge_contacts_unique(const gim_contact_array & contacts) in merge_contacts_unique() argument
[all …]
DbtContactProcessing.cpp69 const btContactArray & contacts, bool normal_contact_average) in merge_contacts() argument
74 if(contacts.size()==0) return; in merge_contacts()
77 if(contacts.size()==1) in merge_contacts()
79 push_back(contacts[0]); in merge_contacts()
85 keycontacts.reserve(contacts.size()); in merge_contacts()
89 for ( i = 0;i<contacts.size() ;i++ ) in merge_contacts()
91 keycontacts.push_back(CONTACT_KEY_TOKEN(contacts[i].calc_key_contact(),i)); in merge_contacts()
104 push_back(contacts[keycontacts[0].m_value]); in merge_contacts()
111 const GIM_CONTACT * scontact = &contacts[keycontacts[i].m_value]; in merge_contacts()
149 void btContactArray::merge_contacts_unique(const btContactArray & contacts) in merge_contacts_unique() argument
[all …]
Dgim_tri_collision.cpp326 GIM_TRIANGLE_CONTACT_DATA & contacts) in triangle_collision() argument
459 contacts.m_penetration_depth = -distances[2] + margin; in triangle_collision()
460 contacts.m_points[0] = closest_point_v; in triangle_collision()
461 contacts.m_point_count = 1; in triangle_collision()
462 VEC_COPY(contacts.m_separating_normal,edge_edge_dir); in triangle_collision()
476 contacts.merge_points(tv_plane,margin,contact_points,point_count); in triangle_collision()
482 contacts.merge_points(tu_plane,margin,contact_points,point_count); in triangle_collision()
483 contacts.m_separating_normal *= -1.f; in triangle_collision()
485 if(contacts.m_point_count == 0) return false; in triangle_collision()
DbtTriangleShapeEx.cpp126 …::find_triangle_collision_clip_method(btPrimitiveTriangle & other, GIM_TRIANGLE_CONTACT & contacts) in find_triangle_collision_clip_method() argument
175 contacts.copy_from(contacts2); in find_triangle_collision_clip_method()
179 contacts.copy_from(contacts1); in find_triangle_collision_clip_method()
DbtContactProcessing.h139 void merge_contacts(const btContactArray & contacts, bool normal_contact_average = true);
141 void merge_contacts_unique(const btContactArray & contacts);
Dgim_contact.h160 void merge_contacts(const gim_contact_array & contacts, bool normal_contact_average = true);
161 void merge_contacts_unique(const gim_contact_array & contacts);
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtContactArray.java73 public void merge_contacts(btContactArray contacts, boolean normal_contact_average) { in merge_contacts() argument
74 …rray_merge_contacts__SWIG_0(swigCPtr, this, btContactArray.getCPtr(contacts), contacts, normal_con… in merge_contacts()
77 public void merge_contacts(btContactArray contacts) { in merge_contacts() argument
78 ….btContactArray_merge_contacts__SWIG_1(swigCPtr, this, btContactArray.getCPtr(contacts), contacts); in merge_contacts()
81 public void merge_contacts_unique(btContactArray contacts) { in merge_contacts_unique() argument
82 …I.btContactArray_merge_contacts_unique(swigCPtr, this, btContactArray.getCPtr(contacts), contacts); in merge_contacts_unique()
DbtPrimitiveTriangle.java119 …ean find_triangle_collision_clip_method(btPrimitiveTriangle other, GIM_TRIANGLE_CONTACT contacts) { in find_triangle_collision_clip_method() argument
120 …this, btPrimitiveTriangle.getCPtr(other), other, GIM_TRIANGLE_CONTACT.getCPtr(contacts), contacts); in find_triangle_collision_clip_method()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DCollisionTest.java34 Array<BulletEntity> contacts = new Array<BulletEntity>(); field in CollisionTest
62 …if (ent != projectile && !contacts.contains(ent, true) && !hits.contains(ent, true)) contacts.add(… in updateContactInfo()
66 …if (ent != projectile && !contacts.contains(ent, true) && !hits.contains(ent, true)) contacts.add(… in updateContactInfo()
95 contacts.clear(); in process()
115 if (contacts.size > 0) { in process()
116 for (int i = 0; i < contacts.size; i++) { in process()
117 colors.add(colorPool.obtain().set(contacts.get(i).getColor())); in process()
118 contacts.get(i).setColor(Color.BLUE); in process()
125 for (int i = 0; i < contacts.size; i++) in process()
126 contacts.get(i).setColor(colors.get(hits.size + i)); in process()
/external/guice/examples/src/example/xml/
DPhone.java5 Contacts contacts; field in Phone
7 public void setContacts(Contacts contacts) { in setContacts() argument
8 this.contacts = contacts; in setContacts()
12 return contacts; in getContacts()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingsQueue.java82 List<Contacts.Item> contacts = new ArrayList<Contacts.Item>(); in add() local
83 contacts.clear(); in add()
88 for(int j = 0; j < contacts.size(); j++) { in add()
89 Contacts.Item item0 = contacts.get(j); in add()
113 contacts.add(item); in add()
125 if (contacts.size() <= 0) { in add()
136 int noOfIterations = contacts.size() / maxEntriesInRequest; in add()
140 entriesInRequest = contacts.size() % maxEntriesInRequest; in add()
147 Contacts.Item item = contacts.get(pos); in add()
DPollingAction.java124 List<Contacts.Item> contacts = mPollingTask.mContacts; in doInBackground() local
125 for (int i = 0; i < contacts.size(); i++) { in doInBackground()
126 Contacts.Item item = contacts.get(i); in doInBackground()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsUtils.java93 static public String toContactString(String[] contacts) { in toContactString() argument
94 if(contacts == null) { in toContactString()
99 for(int i=0; i<contacts.length; i++) { in toContactString()
100 result += contacts[i]; in toContactString()
101 if(i != contacts.length -1) { in toContactString()
DTaskManager.java118 public int addCapabilityTask(Context context, String[] contacts, in addCapabilityTask() argument
123 listener, contacts, timeout); in addCapabilityTask()
133 String[] contacts = new String[1]; in addAvailabilityTask() local
134 contacts[0] = contact; in addAvailabilityTask()
136 listener, contacts); in addAvailabilityTask()
146 String[] contacts = new String[1]; in addPublishTask() local
147 contacts[0] = contact; in addPublishTask()
148 Task task = new PresenceTask(taskId, TASK_TYPE_PUBLISH, listener, contacts); in addPublishTask()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/normal/
DDefaultWorldPool.java41 import org.jbox2d.dynamics.contacts.ChainAndCircleContact;
42 import org.jbox2d.dynamics.contacts.ChainAndPolygonContact;
43 import org.jbox2d.dynamics.contacts.CircleContact;
44 import org.jbox2d.dynamics.contacts.Contact;
45 import org.jbox2d.dynamics.contacts.EdgeAndCircleContact;
46 import org.jbox2d.dynamics.contacts.EdgeAndPolygonContact;
47 import org.jbox2d.dynamics.contacts.PolygonAndCircleContact;
48 import org.jbox2d.dynamics.contacts.PolygonContact;
/external/libmtp/examples/
Devolution-sync.sh45 mkdir $SYNC_HOME/contacts
73 --output=$SYNC_HOME/contacts/Evolution_contacts.vcf \
80 cat $SYNC_HOME/contacts/*.vcf > $SYNC_HOME/$CONTACTS_FILE
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/
Dcontrol7 PURPOSE = "Check whether there are spurious contacts."
8 CRITERIA = "Fails if there are any spurious contacts."
15 Check if there are any spurious contacts when power is cycled.
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DSolverData.java26 import org.jbox2d.dynamics.contacts.Position;
27 import org.jbox2d.dynamics.contacts.Velocity;
DIsland.java33 import org.jbox2d.dynamics.contacts.Contact;
34 import org.jbox2d.dynamics.contacts.ContactSolver;
35 import org.jbox2d.dynamics.contacts.ContactSolver.ContactSolverDef;
36 import org.jbox2d.dynamics.contacts.ContactVelocityConstraint;
37 import org.jbox2d.dynamics.contacts.Position;
38 import org.jbox2d.dynamics.contacts.Velocity;
296 solverDef.contacts = m_contacts; in solve()
448 toiSolverDef.contacts = m_contacts; in solveTOI()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
DWorld.java93 public void beginContact (org.jbox2d.dynamics.contacts.Contact contact) { in setContactListener()
99 public void endContact (org.jbox2d.dynamics.contacts.Contact contact) { in setContactListener()
105 …public void preSolve (org.jbox2d.dynamics.contacts.Contact contact, org.jbox2d.collision.Manifold … in setContactListener()
112 …public void postSolve (org.jbox2d.dynamics.contacts.Contact contact, org.jbox2d.callbacks.ContactI… in setContactListener()
296 Array<Contact> contacts = new Array<Contact>(); field in World
300 org.jbox2d.dynamics.contacts.Contact contactList = world.getContactList(); in getContactList()
301 contacts.clear(); in getContactList()
304 contacts.add(contact); in getContactList()
307 return contacts; in getContactList()
DContact.java26 org.jbox2d.dynamics.contacts.Contact contact;
34 protected Contact (World world, org.jbox2d.dynamics.contacts.Contact contact) { in Contact()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceTask.java59 public PresenceTask(int taskId, int cmdId, IRcsPresenceListener listener, String[] contacts){ in PresenceTask() argument
62 mContacts = contacts; in PresenceTask()
DPresenceSubscriber.java405 String[] contacts = ((PresenceTask)task).mContacts; in handleSipResponse() local
406 if(contacts != null && contacts.length>0){ in handleSipResponse()
407 mAvailabilityRetryNumber = contacts[0]; in handleSipResponse()
416 String[] contacts = ((PresenceTask)task).mContacts; in handleSipResponse() local
419 for(int i=0; i<contacts.length; i++){ in handleSipResponse()
420 if(TextUtils.isEmpty(contacts[i])){ in handleSipResponse()
424 RcsPresenceInfo presenceInfo = new RcsPresenceInfo(contacts[i], in handleSipResponse()
DPresenceAvailabilityTask.java67 String[] contacts){ in PresenceAvailabilityTask() argument
68 super(taskId, cmdId, listener, contacts); in PresenceAvailabilityTask()
DPresencePublishTask.java66 String[] contacts){ in PresencePublishTask() argument
67 super(taskId, cmdId, listener, contacts); in PresencePublishTask()

123