该文被密码保护。 阅读全文
该文被密码保护。 阅读全文
摘要:
FontSet1.FontCache.cpp[cpp] view plaincopyFontPlatformData*FontCache::getCachedFontPlatformData(constFontDescription&fontDescription,constAtomicString&familyName,boolcheckingAlternateName){...result=createFontPlatformData(fontDescription,familyName);....}2.FontCacheAndroid.cpp[cpp] view plai 阅读全文
摘要:
How can adapter display the content of the listview.1.AbsListView.java[cpp] view plaincopyprotectedvoidonMeasure(intwidthMeasureSpec,intheightMeasureSpec){.......finalViewchild=obtainView(0,mIsScrap);.....}//one item, called one time.2.AbsListView.java[java] view plaincopyViewobtainView(intposition, 阅读全文
摘要:
1.const as "const variable" 2.function parameters together with "&" int add(int &a);//can be modified int add(const int &a);//can't be modified //but more efficient than int add(int a); no value copy 3.override function int add(); int add() const; //different func 阅读全文
摘要:
1. receive data to parsea .for chromium stackWebUrlLoaderClient::didReceiveDataResourceLoader::didReceiveDataMainResourceLoader::didReceiveDataResourceLoader::didReceiveDataMainResourceLoader::addDataDocumentLoader::receivedDataDocumentLoader::commitLoadFrameLoaderClient::committedLoad (FrameLoaderC 阅读全文
摘要:
1.sensor type TYPE_ACCELEROMETER=1 TYPE_MAGNETIC_FIELD=2 (what's value mean at x and z axis) TYPE_ORIENTATION=3 TYPE_GYROSCOPE=4 TYPE_LIGHT=5(in ) TYPE_PRESSURE=6 TYPE_TEMPERATURE=7 TYPE_PROXIMITY=8 TYPE_GRAVITY=9TYPE_LINEAR_ACCELERATION=10TYPE_ROTATION_VECTOR=11some function of the sensor may b 阅读全文
该文被密码保护。 阅读全文