のねのBlog

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

2014-04-01から1ヶ月間の記事一覧

Unicode サロゲートペア 計算方法

具体的には、以下の手順に従います。文字コードから0x10000を引いて1番左の桁を"2"から"1"にする。これをXとする。 Xを0x400で割ってその商を0xD800に足す。これを「上位サロゲート」とする。 Xを0x400で割ってその剰余を0xDC00に足す。これを「下位サロゲー…

adb sideload

;Google Nexus (generic) %SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_4EE0 %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D001 >adb devices List of devices attached 06238036------- sideload(Nexus 5)の場合 adb sidel…

★2 スキル回し 40耐久 HQ ローズゴールドインゴット メモ

作業精度360 加工精度342 最大CP340+食事24=362 食事カウルケニン CP+24 ■☆2 耐久40スキルまわし 【HQ50%くらい】●必要ステータス 作業精度 : 347以上 加工精度 : 320 CP : 362(食事でブースト)●スキルまわし ※1か2の工程で高品質がでたら秘訣を使って、1…

createFromAsset

CreateFromAssetの流れ

DrawTextOp

DrawTextOpあとで調べよう。

CharWrapper

CharWrapper.drawTextを呼ぶ人がみつからない。 どこで使うのだろうか?

TextView>onDraw

TextViewのonDrawまでのバックトレース

EMSが保管期限切れで返ってきた。

アメリカに着いて、4日後にすぐ返されてきた。

OpenGLRenderer::drawText

OpenGLRenderer::drawTextのバックトレース

DisplayList

DisplayListRenderer::drawTextの流れ

GLES20Canvas>jni>android_viewGLES20Canvas>hwui>

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

hwui font render

android::uirenderer::Font::getCachedGlyphのバックトレース

ubuntu Nexus5 USB

/etc/udev/rules.d # Nexus5 adb SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0600", OWNER="<USER>" # Nexus5 fastboot SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0600", OWNER="<USER>"</user></user>

sudo fastboot comand not found

sudo fastbootを行うと、コマンドが見つかりませんと言われる。 sudoのとき、pathが通っていないためのようだ。 sudoのとき、pathが通っているところへ、シンボリックリンクを貼った。 sudo ln -s ~/android-sdk/platform-tools/fastboot /usr/local/bin/fas…

build error /jni/HashSet_jni.h:10:26: error: extra tokens at end of #ifndef directive [-Werror]

In file included from external/chromium_org/content/common/android/hash_set.cc:5:0: out/target/product/hammerhead/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:10:26: error: extra tokens at end of #ifndef directive [-Werror] out/t…

SkFontConfigInterface.hをインクルードしているファイル

/external/skia/src/ports/ SkFontConfigTypeface.h 8 #include "SkFontConfigInterface.h" SkFontHost_fontconfig.cpp 8 #include "SkFontConfigInterface.h" SkFontConfigInterface_android.cpp 9 #include "SkFontConfigInterface.h" SkFontConfigInterfa…

openStream

openStreamの流れ

githubで引用すると”揃”がでる。

なんだろ。

SkGTypeface

SkGTypeface::SkGTypeface(SkTypeface* proxy, const SkPaint& paint) : SkTypeface(proxy->style(), SkTypefaceCache::NewFontID(), false) , fProxy(SkRef(proxy)) , fPaint(paint) {} SkGTypeface::~SkGTypeface() { fProxy->unref(); }start a wrapper f…

native typeface cannot be made

native typeface cannot be madeの流れ

Cursor window could not be created from binder

129 private CursorWindow(Parcel source) { 130 mStartPos = source.readInt(); 131 mWindowPtr = nativeCreateFromParcel(source); 132 if (mWindowPtr == 0) { 133 throw new CursorWindowAllocationException("Cursor window could not be " 134 + "crea…

An error occured while executing doInBackground()

303 /** 304 * Creates a new asynchronous task. This constructor must be invoked on the UI thread. 305 */ 306 public AsyncTask() { 307 mWorker = new WorkerRunnable<Params, Result>() { 308 public Result call() throws Exception { 309 mTaskInvoked.set(true); </params,>…