Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java39 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() local
40 assertNotNull(vt); in testInitialCondiditions()
41 vt.recycle(); in testInitialCondiditions()
51 VelocityTracker vt = VelocityTracker.obtain(); in testClear() local
52 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear()
53 vt.computeCurrentVelocity(1); in testClear()
54 assertFalse("Velocity should not be null", vt.getXVelocity() == 0.0f); in testClear()
55 assertFalse("Velocity should not be null", vt.getYVelocity() == 0.0f); in testClear()
56 vt.clear(); in testClear()
57 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dmap_util.h268 const typename Collection::value_type& vt) {
269 std::pair<typename Collection::iterator, bool> ret = collection->insert(vt);
272 ret.first->second = vt.second;
322 const typename Collection::value_type& vt) {
323 return collection->insert(vt).second;
396 const typename Collection::value_type& vt) {
397 return collection->insert(vt).first->second;
600 const typename Collection::value_type& vt,
602 std::pair<typename Collection::iterator, bool> ret = collection->insert(vt);
608 ret.first->second = vt.second;
[all …]
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp246 HVendorTag vt; in getCameraVendorTagSections() local
247 vt.tagId = tags[i]; in getCameraVendorTagSections()
248 vt.tagName = desc->getTagName(tags[i]); in getCameraVendorTagSections()
249 vt.tagType = (HCameraMetadataType) desc->getTagType(tags[i]); in getCameraVendorTagSections()
251 tagsBySection[sectionIdx].push_back(vt); in getCameraVendorTagSections()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp194 VelocityTracker vt(strategy); in computeAndCheckVelocity() local
199 vt.addMovement(&event); in computeAndCheckVelocity()
202 vt.getVelocity(DEFAULT_POINTER_ID, &Vx, &Vy); in computeAndCheckVelocity()
218 VelocityTracker vt("lsq2"); in computeAndCheckQuadraticEstimate() local
221 vt.addMovement(&event); in computeAndCheckQuadraticEstimate()
224 EXPECT_TRUE(vt.getEstimator(0, &estimator)); in computeAndCheckQuadraticEstimate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java144 private float getVelocity(VelocityTracker vt) { in getVelocity() argument
145 return mSwipeDirection == X ? vt.getXVelocity() : in getVelocity()
146 vt.getYVelocity(); in getVelocity()
155 private float getPerpendicularVelocity(VelocityTracker vt) { in getPerpendicularVelocity() argument
156 return mSwipeDirection == X ? vt.getYVelocity() : in getPerpendicularVelocity()
157 vt.getXVelocity(); in getPerpendicularVelocity()
/frameworks/av/include/media/
DVolumeShaper.h648 std::tuple<T /* volume */, S /* position */, bool /* active */> vt = in getVolume() local
651 mLastVolume = std::get<0>(vt); in getVolume()
652 mLastXOffset = std::get<1>(vt); in getVolume()
653 const bool active = std::get<2>(vt); in getVolume()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py168 def __init__(self, vt, dimensions, scale, zeroPoint, name="type", skipRenaming=False, argument
171 self.type = vt
180 def GetType(vt, dimensions, scale=0, zeroPoint=0, extraParams=None): argument
181 key = ",".join([vt, str(dimensions), str(scale), str(zeroPoint), str(extraParams)])
183 Type.typesMap[key] = Type(vt, dimensions, scale, zeroPoint, extraParams=extraParams)
193 def GetTypeFromString(vt, shape, extraParams=None): argument
197 return Type.GetType(vt, dimensions, scale, zeroPoint, extraParams)
/frameworks/base/core/java/android/widget/
DAbsListView.java4664 final VelocityTracker vt = mVelocityTracker;
4666 if (vt == null || activeId == INVALID_POINTER) {
4670 vt.computeCurrentVelocity(1000, mMaximumVelocity);
4671 final float yvel = -vt.getYVelocity(activeId);