OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:xvel
(Results
1 - 8
of
8
) sorted by null
/frameworks/native/include/input/
VelocityTracker.h
215
float xpos,
xvel
, xaccel;
member in struct:android::IntegratingVelocityTrackerStrategy::State
/frameworks/native/libs/input/
VelocityTracker.cpp
746
state.
xvel
= 0;
765
float
xvel
= (xpos - state.xpos) / dt;
local
768
state.
xvel
=
xvel
;
774
state.
xvel
+= (
xvel
- state.
xvel
) * alpha;
777
float xaccel = (
xvel
- state.
xvel
) / dt;
787
state.
xvel
+= (state.xaccel * dt) * alpha
[
all
...]
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
311
float
xvel
= mVelocityTracker.getXVelocity();
local
312
if (Math.abs(
xvel
) > mMinFlingVelocity) {
313
newState =
xvel
> 0;
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
302
float
xvel
= mVelocityTracker.getXVelocity();
local
303
if (Math.abs(
xvel
) > mMinFlingVelocity) {
304
newState =
xvel
> 0;
/frameworks/base/core/java/android/widget/
Switch.java
629
float
xvel
= mVelocityTracker.getXVelocity();
local
630
if (Math.abs(
xvel
) > mMinFlingVelocity) {
631
newState = isLayoutRtl() ? (
xvel
< 0) : (
xvel
> 0);
/frameworks/support/v4/java/android/support/v4/widget/
ViewDragHelper.java
198
* @param
xvel
X velocity of the pointer as it left the screen in pixels per second.
201
public void onViewReleased(View releasedChild, float
xvel
, float yvel) {}
572
* @param
xvel
Horizontal velocity
576
private boolean forceSettleCapturedViewAt(int finalLeft, int finalTop, int
xvel
, int yvel) {
589
final int duration = computeSettleDuration(mCapturedView, dx, dy,
xvel
, yvel);
596
private int computeSettleDuration(View child, int dx, int dy, int
xvel
, int yvel) {
597
xvel
= clampMag(
xvel
, (int) mMinVelocity, (int) mMaxVelocity);
601
final int absXVel = Math.abs(
xvel
);
606
final float xweight =
xvel
!= 0 ? (float) absXVel / addedVel
1356
final float
xvel
= clampMag(
local
[
all
...]
/developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetect/libs/
android-support-v4.jar
/development/samples/training/NavigationDrawer/libs/
android-support-v4.jar
Completed in 721 milliseconds