summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23[C, iOS, Android] LayoutCompression (#1136)Stephane Delcroix1-2/+9
* [C, iOS, Android] LayoutCompression * fix docs * minor fixups
2017-09-15[Android] Restore pinch gestures and fix listview item selection (#1135)E.Z. Hart1-141/+39
* Repro * Fail test if tap command is executed more than once. * Update error message * Handle context actions and taps without breaking selection * Fix 58833 test * Prevent InnerGestureListener from swallowing clicks and preventing selection * Repro for 57515 * Add gestures category to appropriate tests * Test notes * Restore the tap gesture handling * Better test name * Simplify InnerGestureListener constructor; handle OnDown only if listening * OnInterceptTouchEvent for IsEnabled handling * Fix incorrect class filter in TapGestureHandler * Restore MotionEventHelper * Add IsEnabled check on OnTouchEvent * Reinstate pinch gestures * Checkpoint (trying to figure out how to handle button elevation) * Rip out elevation ordering in DefaultRenderer * Working version of pinch-to-zoom test * Clean up lazy initializers, remove unnecessary members * One fewer Java.Lang.Object * Fix issue number; clean up notes and issue number changes * Remove conditional * Restore correct issue number * Automate all the options for 58833 test * Remove unnecessary automation ID * Formatting cleanup; reinstate gesture detector dispose checks * Updating Xamarin UI test version to avoid iOS crashes; update test to open iOS context actions * Attempting to get 58833 test running on all iOS versions
2017-06-22[Android] Remove the ". " on empty labels (Accessibility) on Fastrenderers ↵Samantha Houts1-2/+2
(#915) * [Android] Concatenate Name/HelpText better Also remove some parameters that were added to workaround an issue that no longer exists. * Add repro * Listen to Stephane he's usually right * oops, didn't save
2017-06-22Allow Context Actions on ViewCells with TapGestures (#985)E.Z. Hart1-0/+2
* Repro * Allow context menu actions on ViewCells with tap gestures * Make context menu test work for iOS * Make the ActivateContextMenu option work for items with small text
2017-06-20Align Layout transparency behavior between Android, iOS, Windows (#935)E.Z. Hart1-0/+2
* Setting up repros * Tests for all combos of opacity, background color, and InputTransparent * Make InputTransparent work correctly for Layouts on Windows * Prevent low opacity from making Layouts implicitly input transparent * Real target values in TransparentOverlayTests * Allow layouts with transparent backgrounds to be clickable * Fix gesture bubbling behavior for layouts * Fix spacing * Remove dead code and usings * Fix spacing * Add missing using directive * Adjust transparent overlay test to work with iOS quirks * Fix spacing * Fix bugs caused by not filtering ACTION_CANCEL in MotionEventHelper * Attempting to fix the tests on iOS (where UI tests can't see the buttons) * Remove extra lines * Another attempt to get tests working on iOS * Another attempt to get iOS UI tests working for transparent overlays
2017-05-10[All] Rename Accessibility -> AutomationProperties (#912)Samantha Houts1-6/+6
* [All] Renamed Accessibility -> AutomationProperties * Update docs * Restore doc summaries * Revert unintended csproj changes
2017-04-06Android fastrenderers (#845)Rui Marinho1-0/+4
* Obsolete IVisualElementRenderer.ViewGroup in favor of .View * Fix NRE * Changing TContainer in PlatformEffect to View * Fix "View" type * new VisualElementRenderer * First attempt at a fast(er) button renderer * Fast Label Renderer * Let's try that again. Behold: Label Fast Renderer * Move FrameRenderer into Fast Renderers * Fix Disposable on VisualElementRenderer * Simplify touch and click handlers * Drop empty if clause * [Android] Add initial Image fast renderer * Split accessibility out to a separate helper class; fix tapgesture bug with label * [Android] Small fixes to VisualElementRenderer * Move accessiblity stuff to a separate class (which needs a good name) * Prevent query from looking to parent for fast renderers * [Android] ImageRenderer refactoring * Fix elevation/z-index bugs with Button (e.g., 40173) * Move SetLabeledBy to Accessibilitizer * Un-break automation IDs for Labels * Move gesture handling to its own class * Split gesture and effect management into separate classes * Remove unneeded packager from LabelRenderer * LabelRenderer inherits from FormsTextView * Batch updates to View * Fix isOnParentRenderer check for non-Android platforms * [Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj * [Android,IOS] Small fixes to rebase and use of Internals * [Android] Ignroe warning for now * Fast renderers now passing InputTransparent and IsEnabled tests * Fast and legacy renderers now pass the Enabled and InputTransparent tests * Change PlatformEffect back, default container to null * Fix mangled using directives
2017-03-23UI tests for InputTransparent and fixes for Android/Windows (#808)E.Z. Hart1-7/+21
* Set up automated UI tests for InputTransparent * Pull in Adrian's UI tests from PR 483 * Fix bugs with box/label/image gestures passing through when not transparent * Fix disabling of layouts on Windows; fix 44096 test for iOS/Windows; * Automate the 53445 test
2017-03-07Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)kingces951-3/+3
* Remove InternalsVisibleTo from Core to XF.Platforms.* * Changes per Jason's code review * Move LockableObservableListWrapper to internals namespace * Changes per Stephane's code review * update docs * Touch code to get CI to run tests * Rebase; Update documentation
2017-03-07Fixed issue where errant "." were appearing on droid controls due to hints. ↵BradChase20111-1/+1
(#801)
2017-03-03[Android] Don't crash if Control is accessed in Effect OnDetached when Page ↵Samantha Houts1-2/+0
is Disposed. (#773) * Add repro for 51505 * [Android] Don't dispose of EffectControlProvider * Oops
2017-01-31[All] Basic Accessibility Support (#713)Samantha Houts1-0/+77
* [Core] Add accessibility properties * [Controls] Add accessibility gallery * [iOS] Implement accessibility properties * [Android] Implement accessibilty properties * [Win] Implement accessibility properties * [Win] Select ListView item on selected for a11y * Update docs * TODO: macOS accessibility * [iOS] Fix failing UI Tests
2017-01-24Add check for disposed gesture detector on VisualElementRenderer (#706)E.Z. Hart1-0/+6
2017-01-09[iOS] Register effects for ScrollView and WebView (#641)adrianknight891-7/+2
* fix effects * move effect utilities to core * use core class * move to internals namespace * remove IEffectControlProvider from IVisualElementRenderer
2016-09-30[Android] InputTransparent and IsEnabled fixes on visual elements (#344)adrianknight891-25/+19
* intercepting touch event when inputtransparent and isenabled are set. also made some refactoring. * keeping tabs
2016-09-27Clean up listeners and tag on ButtonRenderer during disposal (#360)E.Z. Hart1-0/+5
Clean up OnFocusChangeListener on ViewRenderer during disposal Prevent memory leak of PageContainer/FragmentContainer when animating fragment transitions Call Destroy() on Map during disposal Rebasing
2016-08-30[A] PanGestureRecognizer will consistently send Completed event (#313)Samantha Houts1-0/+3
* Adjust gallery page for reproduction * [A] Forward OnTouchEvent to Listener... ...and end scrolling on Up.
2016-06-16Prep Page for removal of InternalsVisibleTo (#150)E.Z. Hart1-1/+1
2016-06-15[Android] Fix Api18 usage on PinchGesture (#218)Rui Marinho1-3/+3
2016-04-24Allow renderers to specify whether native controls should be eagerly ↵E.Z. Hart1-4/+13
disposed (#129)
2016-04-12Add compatibility shims to fix warnings; annotate warnings which require (#75)Jason Smith1-3/+1
more thought to fix; Fix a few more warnings VS didn't see fit to raise as errors Adding comments to `pragma warning disable` statements pragma comments Fix typo Set TabletMasterDetailRenderer back to previous version Fix incorrect config access in legacy activity
2016-03-22Initial importJason Smith1-0/+392