/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | box_decoration_test.dart | 29 …expect(decoration.hitTest(size, const Offset(10.0, 10.0), textDirection: TextDirection.rtl), isTru… 30 …expect(decoration.hitTest(size, const Offset(990.0, 10.0), textDirection: TextDirection.rtl), isFa… 42 …expect(decoration.hitTest(size, const Offset(10.0, 10.0), textDirection: TextDirection.ltr), isFal… 43 …expect(decoration.hitTest(size, const Offset(990.0, 10.0), textDirection: TextDirection.ltr), isTr…
|
D | shape_decoration_test.dart | 54 expect(a.hitTest(size, const Offset(20.0, 50.0)), isFalse); 55 expect(Decoration.lerp(a, b, 0.1).hitTest(size, const Offset(20.0, 50.0)), isFalse); 56 expect(Decoration.lerp(a, b, 0.5).hitTest(size, const Offset(20.0, 50.0)), isFalse); 57 expect(Decoration.lerp(a, b, 0.9).hitTest(size, const Offset(20.0, 50.0)), isTrue); 58 expect(b.hitTest(size, const Offset(20.0, 50.0)), isTrue);
|
/third_party/flutter/skia/samplecode/ |
D | SampleXfer.cpp | 60 bool hitTest(SkScalar x, SkScalar y) { in hitTest() function 72 bool hitTest(SkScalar x, SkScalar y) { in hitTest() function in ModeDrawable 166 if (fModeButtons[i].hitTest(x, y)) { in onFindClickHandler() 174 if (fDrs[i]->hitTest(x, y)) { in onFindClickHandler()
|
D | SampleHT.cpp | 80 bool hitTest(SkScalar x, SkScalar y) { in hitTest() function in HTDrawable 162 if (fArray[i].fDrawable->hitTest(x, y)) { in onFindClickHandler()
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | box_test.dart | 702 hitTest: (BoxHitTestResult result, Offset position) { 715 hitTest: (BoxHitTestResult result, Offset position) { 729 hitTest: (BoxHitTestResult result, Offset position) { 742 hitTest: (BoxHitTestResult result, Offset position) { 755 hitTest: (BoxHitTestResult result, Offset position) { 768 hitTest: (BoxHitTestResult result, Offset position) { 786 hitTest: (BoxHitTestResult result, Offset position) { 799 hitTest: (BoxHitTestResult result, Offset position) { 813 hitTest: (BoxHitTestResult result, Offset position) { 826 hitTest: (BoxHitTestResult result, Offset position) { [all …]
|
D | slivers_test.dart | 208 root.hitTest(result, position: const Offset(130.0, 150.0)); 262 root.hitTest(result, position: const Offset(150.0, 350.0)); 351 root.hitTest(result, position: const Offset(150.0, 450.0)); 405 root.hitTest(result, position: const Offset(550.0, 150.0)); 479 root.hitTest(result, position: const Offset(130.0, 150.0)); 533 root.hitTest(result, position: const Offset(150.0, 350.0)); 587 root.hitTest(result, position: const Offset(150.0, 450.0)); 641 root.hitTest(result, position: const Offset(550.0, 150.0)); 872 … hitTest: (SliverHitTestResult result, { double mainAxisPosition, double crossAxisPosition }) { 891 … hitTest: (SliverHitTestResult result, { double mainAxisPosition, double crossAxisPosition }) { [all …]
|
/third_party/skia/samplecode/ |
D | SampleXfer.cpp | 60 bool hitTest(SkScalar x, SkScalar y) { in hitTest() function 72 bool hitTest(SkScalar x, SkScalar y) { in hitTest() function in ModeDrawable 166 if (fModeButtons[i].hitTest(x, y)) { in onFindClickHandler() 174 if (fDrs[i]->hitTest(x, y)) { in onFindClickHandler()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testhittesting.c | 18 hitTest(SDL_Window *window, const SDL_Point *pt, void *data) in hitTest() function 71 if (SDL_SetWindowHitTest(window, hitTest, NULL) == -1) { in main()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | box.dart | 620 /// * [RenderBox.hitTest], which documents more details around hit testing 626 /// An instance of this class is provided to [RenderBox.hitTest] to record the 655 /// provided `hitTest` callback, which is invoked with the transformed 666 /// `position` is provided to the `hitTest` callback as-is. If `transform` 667 /// cannot be inverted, the `hitTest` callback is not invoked and false is 668 /// returned. Otherwise, the return value of the `hitTest` callback is 672 /// `hitTest` callback as-is. Using null as the position can be useful if 695 /// hitTest: (BoxHitTestResult result, Offset position) { 713 @required BoxHitTest hitTest, 715 assert(hitTest != null); [all …]
|
D | rotated_box.dart | 100 hitTest: (BoxHitTestResult result, Offset position) { 101 return child.hitTest(result, position: position);
|
D | sliver.dart | 779 /// * [RenderSliver.hitTest], which documents more details around hit testing 785 /// An instance of this class is provided to [RenderSliver.hitTest] to record 815 /// provided `hitTest` callback, which is invoked with the transformed 830 /// The function returns the return value of `hitTest`. 837 @required SliverHitTest hitTest, 843 assert(hitTest != null); 847 final bool isHit = hitTest( 1080 /// [hitTest] method directly. 1246 /// having been called in [hitTest] but cannot rely upon [paint] having been 1248 /// object, which calls [hitTest] on its children when its opacity is zero [all …]
|
D | binding.dart | 362 void hitTest(HitTestResult result, Offset position) { 364 renderView.hitTest(result, position: position); 365 super.hitTest(result, position);
|
D | proxy_box.dart | 114 return child?.hitTest(result, position: position) ?? false; 158 bool hitTest(BoxHitTestResult result, { Offset position }) { 1299 bool hitTest(BoxHitTestResult result, { Offset position }) { 1306 return super.hitTest(result, position: position); 1377 bool hitTest(BoxHitTestResult result, { Offset position }) { 1384 return super.hitTest(result, position: position); 1444 bool hitTest(BoxHitTestResult result, { Offset position }) { 1454 return super.hitTest(result, position: position); 1511 bool hitTest(BoxHitTestResult result, { Offset position }) { 1518 return super.hitTest(result, position: position); [all …]
|
D | view.dart | 170 bool hitTest(HitTestResult result, { Offset position }) { 172 child.hitTest(BoxHitTestResult.wrap(result), position: position);
|
D | sliver_padding.dart | 272 hitTest: child.hitTest,
|
D | custom_paint.dart | 33 /// implement the [hitTest] and [shouldRebuildSemantics] methods, and the 57 /// The [hitTest] method is called when the user interacts with the underlying 268 bool hitTest(Offset position) => null; 506 if (_foregroundPainter != null && (_foregroundPainter.hitTest(position) ?? false)) 513 return _painter != null && (_painter.hitTest(position) ?? true);
|
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/ |
D | binding.dart | 27 /// [PointerEventConverter]), a [hitTest] is performed to determine which 29 /// implement [hitTest] to defer to [HitTestable] objects. For example, the 128 hitTest(hitTestResult, event.position); 162 void hitTest(HitTestResult result, Offset position) {
|
/third_party/flutter/flutter/dev/manual_tests/lib/ |
D | material_arc.dart | 96 bool hitTest(Offset position) { 208 // fail _PointDemoPainter.hitTest() will still be recognized because 264 bool hitTest(Offset position) { 381 // fail _RectDemoPainter.hitTest() will still be recognized because
|
/third_party/flutter/flutter/packages/flutter_driver/lib/src/extension/ |
D | extension.dart | 474 final HitTestResult hitTest = HitTestResult(); 476 _prober.binding.hitTest(hitTest, startLocation); 477 _prober.binding.dispatchEvent(pointer.down(startLocation), hitTest); 481 _prober.binding.dispatchEvent(pointer.move(currentLocation), hitTest); 484 _prober.binding.dispatchEvent(pointer.up(), hitTest);
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | button.dart | 471 bool hitTest(BoxHitTestResult result, { Offset position }) { 472 if (super.hitTest(result, position: position)) { 479 hitTest: (BoxHitTestResult result, Offset position) { 481 return child.hitTest(result, position: center);
|
/third_party/flutter/flutter/examples/layers/rendering/src/ |
D | sector_layout.dart | 146 bool hitTest(SectorHitTestResult result, { double radius, double theta }) { 209 if (child.hitTest(result, radius: radius, theta: theta)) 547 bool hitTest(BoxHitTestResult result, { Offset position }) { 564 child.hitTest(SectorHitTestResult.wrap(result), radius: radius, theta: theta);
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | sliver_layout_builder.dart | 78 …&& child.hitTest(result, mainAxisPosition: mainAxisPosition, crossAxisPosition: crossAxisPosition);
|
D | placeholder.dart | 40 bool hitTest(Offset position) => false;
|
D | grid_paper.dart | 47 bool hitTest(Offset position) => false;
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/ |
D | HelloCanvasAR.java | 413 for (HitResult hit : frame.hitTest(tap)) { in handleSingleTaps() 445 for (HitResult hit : frame.hitTest(holdTap.event)) { in handleHoldTaps()
|