OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:xvel
(Results
1 - 14
of
14
) sorted by null
/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
...]
DrawerLayout.java
[
all
...]
SlidingPaneLayout.java
[
all
...]
/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);
Scroller.java
582
public boolean isScrollingInDirection(float
xvel
, float yvel) {
583
return !mFinished && Math.signum(
xvel
) == Math.signum(mFinalX - mStartX) &&
OverScroller.java
533
public boolean isScrollingInDirection(float
xvel
, float yvel) {
536
return !isFinished() && Math.signum(
xvel
) == Math.signum(dx) &&
[
all
...]
/frameworks/native/include/input/
VelocityTracker.h
215
float xpos,
xvel
, xaccel;
member in struct:android::IntegratingVelocityTrackerStrategy::State
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java
503
public boolean isScrollingInDirection(float
xvel
, float yvel) {
504
return !mFinished && Math.signum(
xvel
) == Math.signum(mFinalX - mStartX) &&
OverScroller.java
535
public boolean isScrollingInDirection(float
xvel
, float yvel) {
538
return !isFinished() && Math.signum(
xvel
) == Math.signum(dx) &&
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
OverScrollerSGV.java
537
public boolean isScrollingInDirection(float
xvel
, float yvel) {
540
return !isFinished() && Math.signum(
xvel
) == Math.signum(dx) &&
[
all
...]
/development/samples/training/NavigationDrawer/libs/
android-support-v4.jar
Completed in 526 milliseconds