[android] flood fill algorithm performance tests.
android, flood fill algorithm performance tests. 위와 같은 공룡의 엉덩이, 발, 그리고 꼬리에 이르는 부분을 FloodFill algorithm 을 적용하여 색칠해보았다.avg 값은 5회의 결과를 평균 낸 값이다. 1. Very Intuitive and Simple Flood Fill Algorithm Recursive method call 을 이용하여, 한 점을 기준으로 동,서,남,북 pixel 에 대해 recursive call 을 호출하는 방식이다. private void floodFill3(Bitmap bitmap, Point fillStartPoint, int targetColor, int replacementColor){Queue queue = new L..
2014. 4. 11.
Android Transition Animation (TransitionManager, Transition, Scene) Tutorial
Android Transition Animation (TransitionManager, Transition, Scene) Tutorial 기본 참조 : http://blog.stylingandroid.com/archives/2143 Layout 의 변화에 대한 animation 을 지원한다.Layout 에 add, remove, move, resize, show, hide 등에 대한 기본 animation 을 지원한다. private ViewGroup mLayout1; @Overridepublic View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.in..
2014. 4. 8.
[android] compat version mapfragment xml example.
android, compat version mapfragment xml example. Android, CLASS, com.google.android.gms.maps.MapFragment, com.google.android.gms.maps.SupportMapFragment, compat, compat version mapfragment xml example., fragment, map, map v2, map:cameraTargetLat, map:cameraTargetLng, map:cameraZoom, V2, xmlns
2014. 4. 7.