2012-11-01から1ヶ月間の記事一覧
190 FT_CALLBACK_DEF( FT_Error ) 191 ftc_basic_family_load_glyph( FTC_Family ftcfamily, 192 FT_UInt gindex, 193 FTC_Cache cache, 194 FT_Glyph *aglyph ) 195 { 196 FTC_BasicFamily family = (FTC_BasicFamily)ftcfamily; 197 FT_Error error; 198 F…
544 private void writeToFile(MemoryCommitResult mcr) { 545 // Rename the current file so it may be used as a backup during the next read 546 if (mFile.exists()) { 547 if (!mcr.changesMade) { 548 // If the file already exists, but no change…
14745 if (!app.killedBackground) { 14746 if (app.curAdj >= ProcessList.HIDDEN_APP_MIN_ADJ) { 14747 numHidden++; 14748 if (numHidden > mProcessLimit) { 14749 Slog.i(TAG, "No longer want " + app.processName 14750 + " (pid " + app.pid + "): h…
203 void Font::render(SkPaint* paint, const char *text, uint32_t start, uint32_t len, 204 int numGlyphs, SkPath* path, float hOffset, float vOffset) { 205 if (numGlyphs == 0 || text == NULL || len == 0) { 206 return; 207 } 208 209 text += …
Error: Android source build in eclipse - Stack Overflow
development/ide/eclipse/の中に、.classpathがない。 表示>隠しファイルを表示する(Ctrl+H)にしたところ 表示されるようになった。 隠しファイルだったのか。 cd /path/to/android/root cp development/ide/eclipse/.classpath . chmod u+w .classpath
最大が32768で、制限されて5548なのかな。 shell@android:/ # cat /proc/sys/kernel/pid_max cat /proc/sys/kernel/pid_max 32768 shell@android:/ # ulimit -a ulimit -a time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) 0 data(KiB)…
>adb shell dumpsys activity > activity.log # ダンプログ出力元クラスは下記 # com.android.server.am.ActivityManagerService.dumpHistoryList # (FileDescriptor, PrintWriter, List, String, String, boolean, boolean, boolean, String) >adb shell du…
628 private boolean isInterestingProcess(ActivityManager.RunningAppProcessInfo pi) { 629 if ((pi.flags&ActivityManager.RunningAppProcessInfo.FLAG_CANT_SAVE_STATE) != 0) { 630 return true; 631 } 632 if ((pi.flags&ActivityManager.RunningAppP…
Settings>App>Running Process 110 public void onClick(View v) { 111 if (v == mReportButton) { 160 } 162 if (mManageIntent != null) { 175 } else if (mServiceItem != null) { 177 } else if (mActiveItem.mItem.mBackground) { 181 } else { 182 // …