2012-12-14 39 views

回答

2

我從here下載Android源代碼(不是SDK源代碼)。畫布的本地implemetation位於:框架\基地\核心\ JNI \機器人\顯卡

-1

在這裏你可以找到源代碼:

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

但我不能保證這些資源是完全

+0

謝謝。我希望** native native **方法的實現,比如像這樣的drawTextOnPath(...) –

+0

? http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/graphics/Canvas.java#Canvas.native_drawTextOnPath%28int%2Cchar[]% 2Cint%2Cint%2Cint%2Cfloat%2Cfloat%2Cint%2Cint%29 – Opiatefuchs

+0

不,這是Java!去那個班的最後。你會看到一些本地方法。我想實現這些方法:'私有靜態本機無效native_drawTextOnPath ...' –