Source code of the embedded implementation of android.graphics.Canvas class

Where can I find the source code of my own implementation of the android.graphics.Canvas class?

+4
source share
3 answers

I downloaded the Android source code (not the sdk source code) from here . The native implementation of Canvas is here: frameworks \ base \ core \ jni \ android \ graphics

+2
source

Or, you can view it directly in the Git repository without downloading the entire source tree:

https://android.googlesource.com/platform/frameworks/base/+/master/core/jni/android/graphics/Canvas.cpp

+1
source

Here you can find the source code:

http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/

But I can’t guarantee that these sources are complete.

-1
source

All Articles