Home
last modified time | relevance | path

Searched refs:P2 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ui/
DSortedArrayAdapterTest.java36 public static final TestData P2 = TestData.create(2, "before"); field in SortedArrayAdapterTest
58 mAdapter.add(P2); in testAdd_two()
60 assertContentsInOrder(mAdapter, P2, P1); in testAdd_two()
64 mAdapter.addAll(Arrays.asList(P1, P2)); in testAddAll_two()
66 assertContentsInOrder(mAdapter, P2, P1); in testAddAll_two()
71 mAdapter.add(P2); in testRemove()
73 assertContentsInOrder(mAdapter, P2, P1); in testRemove()
75 assertContentsInOrder(mAdapter, P2, P1); in testRemove()
76 mAdapter.remove(P2); in testRemove()
85 mAdapter.add(P2); in testChange_sorting()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.h224 double P0[2],P1[2],P2[2],P3[2]; in db_CharacteristicPolynomial4x4() local
250 P2[0]=A[10];P2[1]= -1.0; in db_CharacteristicPolynomial4x4()
261 db_MultiplyPoly1_1( neg_three0,P2,two13); in db_CharacteristicPolynomial4x4()
265 db_MultiplyPoly1_1( neg_three1,P2,two03); in db_CharacteristicPolynomial4x4()
273 db_MultiplyPoly1_2( three3,P2,two01); in db_CharacteristicPolynomial4x4()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java70 private static final float P2 = 1.0f - END_TENSION * (1.0f - INFLEXION); field in LauncherScroller
93 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
110 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java593 private static final float P2 = 1.0f - END_TENSION * (1.0f - INFLEXION); field in OverScroller.SplineOverScroller
614 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;
631 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;