OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Estimator
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/include/androidfw/
VelocityTracker.h
37
struct
Estimator
{
40
//
Estimator
time base.
93
// Gets an
estimator
for the recent movements of the specified pointer id.
94
// Returns false and clears the
estimator
if there is no information available
96
bool getEstimator(uint32_t id,
Estimator
* outEstimator) const;
132
virtual bool getEstimator(uint32_t id, VelocityTracker::
Estimator
* outEstimator) const = 0;
156
// Degree must be no greater than
Estimator
::MAX_DEGREE.
164
virtual bool getEstimator(uint32_t id, VelocityTracker::
Estimator
* outEstimator) const;
207
virtual bool getEstimator(uint32_t id, VelocityTracker::
Estimator
* outEstimator) const;
225
void populateEstimator(const State& state, VelocityTracker::
Estimator
* outEstimator) const
[
all
...]
/frameworks/base/core/java/android/view/
VelocityTracker.java
65
private static native boolean nativeGetEstimator(int ptr, int id,
Estimator
outEstimator);
243
* Get an
estimator
for the movements of a pointer using past movements of the
250
* @param outEstimator The
estimator
to populate.
251
* @return True if an
estimator
was obtained, false if there is no information
256
public boolean getEstimator(int id,
Estimator
outEstimator) {
264
* An
estimator
for the movements of a pointer based on a polynomial model.
275
public static final class
Estimator
{
276
// Must match VelocityTracker::
Estimator
::MAX_DEGREE
/frameworks/base/core/jni/
android_view_VelocityTracker.cpp
53
bool getEstimator(int32_t id, VelocityTracker::
Estimator
* outEstimator);
134
bool VelocityTrackerState::getEstimator(int32_t id, VelocityTracker::
Estimator
* outEstimator) {
197
VelocityTracker::
Estimator
estimator
;
local
198
bool result = state->getEstimator(id, &
estimator
);
205
env->SetFloatArrayRegion(xCoeffObj, 0, VelocityTracker::
Estimator
::MAX_DEGREE + 1,
206
estimator
.xCoeff);
207
env->SetFloatArrayRegion(yCoeffObj, 0, VelocityTracker::
Estimator
::MAX_DEGREE + 1,
208
estimator
.yCoeff);
209
env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree,
estimator
.degree)
[
all
...]
/frameworks/base/libs/androidfw/
VelocityTracker.cpp
252
Estimator
estimator
;
local
253
getEstimator(id, &
estimator
);
255
"
estimator
(degree=%d, xCoeff=%s, yCoeff=%s, confidence=%f)",
257
int(
estimator
.degree),
258
vectorToString(
estimator
.xCoeff,
estimator
.degree + 1).string(),
259
vectorToString(
estimator
.yCoeff,
estimator
.degree + 1).string(),
260
estimator
.confidence)
337
Estimator
estimator
;
local
[
all
...]
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
64
// Position
estimator
.
65
private VelocityTracker.
Estimator
mEstimator = new VelocityTracker.
Estimator
();
66
private VelocityTracker.
Estimator
mAltEstimator = new VelocityTracker.
Estimator
();
Completed in 65 milliseconds