Home
last modified time | relevance | path

Searched refs:vt (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java41 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() local
42 assertNotNull(vt); in testInitialCondiditions()
43 vt.recycle(); in testInitialCondiditions()
53 VelocityTracker vt = VelocityTracker.obtain(); in testClear() local
54 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear()
55 vt.computeCurrentVelocity(1); in testClear()
56 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear()
57 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
58 vt.clear(); in testClear()
59 vt.computeCurrentVelocity(1); in testClear()
[all …]
/frameworks/rs/
Drsg_generator.c42 void printVarType(FILE *f, const VarType *vt) { in printVarType() argument
44 if (vt->isConst) { in printVarType()
48 switch (vt->type) { in printVarType()
53 fprintf(f, "int%i_t", vt->bits); in printVarType()
56 fprintf(f, "uint%i_t", vt->bits); in printVarType()
59 if (vt->bits == 32) in printVarType()
65 fprintf(f, "%s", vt->typeName); in printVarType()
69 if (vt->ptrLevel) { in printVarType()
71 for (ct=0; ct < vt->ptrLevel; ct++) { in printVarType()
77 void printVarTypeAndName(FILE *f, const VarType *vt) { in printVarTypeAndName() argument
[all …]
/frameworks/base/core/java/android/widget/
DDifferentialMotionFlingHelper.java102 float getCurrentVelocity(VelocityTracker vt, MotionEvent event, int axis); in getCurrentVelocity() argument
254 private static float getCurrentVelocity(VelocityTracker vt, MotionEvent event, int axis) { in getCurrentVelocity() argument
255 vt.addMovement(event); in getCurrentVelocity()
256 vt.computeCurrentVelocity(1000); in getCurrentVelocity()
257 return vt.getAxisVelocity(axis); in getCurrentVelocity()
DAbsListView.java4940 final VelocityTracker vt = mVelocityTracker;
4942 if (vt == null || activeId == INVALID_POINTER) {
4946 vt.computeCurrentVelocity(1000, mMaximumVelocity);
4947 final float yvel = -vt.getYVelocity(activeId);
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp305 HVendorTag vt; in getCameraVendorTagSections() local
306 vt.tagId = tags[i]; in getCameraVendorTagSections()
307 vt.tagName = desc->getTagName(tags[i]); in getCameraVendorTagSections()
308 vt.tagType = (HCameraMetadataType) desc->getTagType(tags[i]); in getCameraVendorTagSections()
310 tagsBySection[sectionIdx].push_back(vt); in getCameraVendorTagSections()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.cpp314 SVendorTag vt; in getCameraVendorTagSections() local
315 vt.tagId = tags[i]; in getCameraVendorTagSections()
316 vt.tagName = desc->getTagName(tags[i]); in getCameraVendorTagSections()
317 vt.tagType = (SCameraMetadataType) desc->getTagType(tags[i]); in getCameraVendorTagSections()
319 tagsBySection[sectionIdx].push_back(vt); in getCameraVendorTagSections()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp234 VelocityTracker vt(strategy); in computeVelocity() local
237 vt.addMovement(event); in computeVelocity()
240 return vt.getVelocity(axis, pointerId); in computeVelocity()
414 VelocityTracker vt(VelocityTracker::Strategy::IMPULSE); in TEST_F() local
417 vt.addMovement(event); in TEST_F()
422 computedVelocity = vt.getComputedVelocity(/*units=*/1000, maxFloat); in TEST_F()
427 computedVelocity = vt.getComputedVelocity(/*units=*/1000000, maxFloat); in TEST_F()
432 computedVelocity = vt.getComputedVelocity(/*units=*/1000000, 1000); in TEST_F()
443 VelocityTracker vt(VelocityTracker::Strategy::DEFAULT); in TEST_F() local
445 EXPECT_FALSE(vt.getVelocity(AMOTION_EVENT_AXIS_X, DEFAULT_POINTER_ID)); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteDatabaseTest.java186 String vt = String.format("text%02dvalue", i); in testAutomaticCounters() local
189 s.bindText(3, vt); in testAutomaticCounters()
211 String vt = String.format("text%02dvalue", i); in testAutomaticCounters() local
214 s.bindText(3, vt); in testAutomaticCounters()
DSQLiteRawStatementTest.java218 String vt = String.format("text%02dvalue", row); in testInsert() local
222 s.bindText(3, vt); in testInsert()
266 String vt = s.getColumnText(2); in testInsert() local
272 assertEquals("text03value", vt); in testInsert()
731 String vt = String.format("text%02dvalue", i); in testSpeedSimple() local
734 s.bindText(3, vt); in testSpeedSimple()
807 String vt = String.format("text%02dvalue", i); in testSpeedSingleQuery() local
810 s.bindText(3, vt); in testSpeedSingleQuery()
/frameworks/base/core/tests/coretests/src/android/widget/
DDifferentialMotionFlingHelperTest.java44 (vt, event, axis) -> {
/frameworks/av/include/media/
DVolumeShaper.h819 std::tuple<T /* volume */, S /* position */, bool /* active */> vt = in getVolume() local
822 mLastVolume = std::get<0>(vt); in getVolume()
823 mLastXOffset = std::get<1>(vt); in getVolume()
824 const bool active = std::get<2>(vt); in getVolume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java190 private float getVelocity(VelocityTracker vt) { in getVelocity() argument
191 return vt.getXVelocity(); in getVelocity()
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dmaster_playlist363 …�8K=�<#�43Lm<���{�<z��>kA��#;M���p%��ۙc#�A�����s<'��G��ϻ�_�..5vt�y����G=����������…
1921 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex91125 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex131124 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex151137 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex111125 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex101129 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex181123 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex161142 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…
Dindex121128 ��S<x�)��bCd3�p@�[q5��G�sP�3�ޜ�h Q"A�u�6�����hY�i($��6�}������+��vt��.s���eH��3�ľ…