Bug 8150 - VelocityTracker missing methods
Summary: VelocityTracker missing methods
Status: RESOLVED FEATURE
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-11-01 14:58 UTC by Kevin McMahon
Modified: 2012-11-07 05:49 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description Kevin McMahon 2012-11-01 14:58:12 UTC
VelocityTracker is missing the following APIs that have been around since API level 1.

http://developer.android.com/reference/android/view/VelocityTracker.html#getXVelocity()
http://developer.android.com/reference/android/view/VelocityTracker.html#getYVelocity()

It does have the two methods added in API level 8 that is an overload of those methods and taks a parameter.

Version Info:
MonoDevelop [REDACTED]
Installation UUID: 42708442-2896-4bb9-9b70-6c2e26da5396
Runtime:
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.5.1 (1842)
	 Build 4G1004
Mono for Android: 4.2.8 (Starter edition)
Android SDK: /Users/kevin/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
Java SDK: /usr
MonoTouch: 6.0.4 (Starter edition)
Build information:
	Release ID: 40000000
	Git revision: 1c55a31cad6048cacc2fda4ec17df25d8ccf87ec
	Build date: 2012-10-04 17:20:55+0000
	Xamarin addins: 5dcc9ba6510b1255f2fe714ac9935bb34af598fe
Operating System:
	Mac OS X 10.8.2
	Darwin kmcmahon-mbp.local 12.2.0 Darwin Kernel Version 12.2.0
	    Sat Aug 25 00:48:52 PDT 2012
	    root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
Comment 1 Atsushi Eno 2012-11-07 05:49:54 UTC
As per our API design rule, getXVelocity() becomes a property, not a method, while getXVelocity(int) is left as a method. And VelocityTracker.XVelocity exists in our API:

http://androidapi.xamarin.com/?link=P%3aAndroid.Views.VelocityTracker.XVelocity