のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

GLES20Canvas>jni>android_viewGLES20Canvas>hwui>

GLES20Canvas>jni>android_viewGLES20Canvas>hwuiまでの流れ


/frameworks/base/core/java/android/view/GLES20Canvas.java

   1232     @Override
   1233     public void drawText(char[] text, int index, int count, float x, float y, Paint paint) {
   1234         if ((index | count | (index + count) | (text.length - index - count)) < 0) {
   1235             throw new IndexOutOfBoundsException();
   1236         }
   1237 
   1238         int modifiers = setupModifiers(paint);
   1239         try {
   1240             nDrawText(mRenderer, text, index, count, x, y, paint.mBidiFlags, paint.mNativePaint);
   1241         } finally {
   1242             if (modifiers != MODIFIER_NONE) nResetModifiers(mRenderer, modifiers);
   1243         }
   1244     }

/frameworks/base/core/jni/android_view_GLES20Canvas.cpp
>