센서로 전환시
PhoneWindowManager.java [onOrientationChanged] --> WindowManagerService.java [mWindowManager.setRotation(rotation, falsemFancyRotationAnimation,)] --> WindowManagerService.java [setRotationUnchecked(rotation, alwaysSendConfiguration, animFlags);] --> WindowManagerService.java [setRotationUncheckedLocked(rotation, animFlags);] |
키패드로 화면 전환시
--> InputManaer.java [notifyLidSwitchChanged(long whenNanos, boolean lidOpen)] --> WindowManagerService.java [notifyLidSwitchChanged(long whenNanos, boolean lidOpen)] --> PhoneWindowManager.java [notifyLidSwitchChanged(long whenNanos, boolean lidOpen)] --> PhoneWindowManager.java [updateRotation(int animFlags)] --> WindowManagerService.java [mWindowManager.setRotation(rotation, falsemFancyRotationAnimation,)] --> WindowManagerService.java [setRotationUnchecked(rotation, alwaysSendConfiguration, animFlags);] --> WindowManagerService.java [setRotationUncheckedLocked(rotation, animFlags);] |
'안드로이드' 카테고리의 다른 글
전체 컴파일 시 Dalvic Heap Memory Size 늘리기 (0) | 2011.03.09 |
---|---|
참고 사이트 (0) | 2011.03.09 |
GC 호출시 호출되는 함수[finalize] (0) | 2011.03.08 |
JNI 사용하기 (0) | 2011.03.08 |
Memory Analyzer 로 heap dump 해석하기 (0) | 2011.02.25 |