aboutsummaryrefslogtreecommitdiffhomepage
path: root/android_sample
Commit message (Collapse)AuthorAge
* Unify handleTouch and handleClick in SampleApp.Gravatar Scroggo2011-06-22
| | | | | | | | | | | | | | | Allow each sample to handle clicks in Android SampleApp. Remove SampleWindow::handleTouch. Allow an SkWindow to have multiple clicks. Add an owner pointer to SkView::Click. Reviewed at http://codereview.appspot.com/4643052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1673 2bbb7eff-a529-9590-31e7-b0007b416f81
* SampleApp fixes.Gravatar Scroggo2011-06-21
| | | | | | | | | | | | | | On Android, delete gWindow before calling application_term, avoiding a crash each time the app closes. Also make sure the screen is redrawn when resuming. On Linux, delete gWindow to avoid memory leak. In general, allow moving from sample 0 to the last sample. Reviewed at http://codereview.appspot.com/4639060 git-svn-id: http://skia.googlecode.com/svn/trunk@1661 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a way to save to PDF in SampleApp on Android and elsewhere.Gravatar Scroggo2011-06-21
| | | | | | | | | In Android, add the PDF file to downloads, so it can be opened. Reviewed at http://codereview.appspot.com/4638052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1659 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use SkTouchGesture to handle pinch events in Android SampleApp.Gravatar Scroggo2011-06-17
| | | | | | | http://codereview.appspot.com/4631043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1624 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better fix for changing the viewport in sample app.Gravatar Scroggo2011-06-16
| | | | | | | | | | | | | | Create a platform description and base the size on the SkWindow in order to create a RenderTarget, which results in changing the viewport. This allows us to use only GR calls. In the Android sample app, fix the problem where nothing is drawn in the first frame, and default to drawing in GL. Reviewed at http://codereview.appspot.com/4642043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1615 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improvements to the SampleApp (primarily Android).Gravatar Scroggo2011-06-15
| | | | | | | | | | | | | | | | | | Reviewed at http://codereview.appspot.com/4587042/ Android - Added buttons for interaction without a keyboard. - Added the ability to zoom in to a specific point (roughly). - Added event handling (for showing a slideshow, for example). - Allow changing screen orientation - Updated README file, explaining how to build Multiplatform changes - Added SampleApp header file - Remove FPS when turning off measure FPS mode git-svn-id: http://skia.googlecode.com/svn/trunk@1596 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updates to the Android SampleAppGravatar djsollen@google.com2011-06-13
| | | | | | | http://codereview.appspot.com/4602049/ git-svn-id: http://skia.googlecode.com/svn/trunk@1567 2bbb7eff-a529-9590-31e7-b0007b416f81
* Port the SampleApp (raster) to Android.Gravatar Scroggo2011-05-31
git-svn-id: http://skia.googlecode.com/svn/trunk@1452 2bbb7eff-a529-9590-31e7-b0007b416f81