Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DVerifierDeviceIdentityTest.java56 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_1); in testVerifierDeviceIdentity_Equals_Success() local
58 assertTrue("The two VerifierDeviceIdentity instances should be equal", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Success()
63 VerifierDeviceIdentity id2 = new VerifierDeviceIdentity(TEST_2); in testVerifierDeviceIdentity_Equals_Failure() local
65 assertFalse("The two VerifierDeviceIdentity instances should be unique", id1.equals(id2)); in testVerifierDeviceIdentity_Equals_Failure()
117 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_ReadNegative() local
119 assertEquals("Parcel created should match expected value", id1, id2); in testVerifierDeviceIdentity_Parcel_ReadNegative()
129 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.CREATOR.createFromParcel(parcel); in testVerifierDeviceIdentity_Parcel_Read_Pass() local
131 assertEquals("Original identity and parceled identity should be the same", id1, id2); in testVerifierDeviceIdentity_Parcel_Read_Pass()
156 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.generate(random); in testVerifierDeviceIdentity_Generate_MinValue() local
159 + " should be the same", id1, id2); in testVerifierDeviceIdentity_Generate_MinValue()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java271 final int id2 = MotionEventCompat.getPointerId(ev, i); in onTouchEvent() local
272 final float x = x1 * VelocityTrackerCompat.getXVelocity(mVelocityTracker, id2); in onTouchEvent()
273 final float y = y1 * VelocityTrackerCompat.getYVelocity(mVelocityTracker, id2); in onTouchEvent()
/frameworks/base/core/java/android/view/
DGestureDetector.java501 final int id2 = ev.getPointerId(i); in onTouchEvent() local
502 final float x = x1 * mVelocityTracker.getXVelocity(id2); in onTouchEvent()
503 final float y = y1 * mVelocityTracker.getYVelocity(id2); in onTouchEvent()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string() argument
89 return id_to_string(id2, table[i].id2_table, table[i].id2_numEntries); in id_pair_to_string()
/frameworks/base/services/input/
DInputReader.cpp5081 uint32_t id2 = idBits.firstMarkedBit(); in preparePointerGestures() local
5083 const RawPointerData::Pointer& p2 = mCurrentRawPointerData.pointerForId(id2); in preparePointerGestures()
5098 float dist2 = dist[id2]; in preparePointerGestures()
5106 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures()