该文被密码保护。 阅读全文
posted @ 2012-04-06 21:53
cascais
阅读(0)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-04-06 21:53
cascais
阅读(0)
评论(0)
推荐(0)
摘要:
FontSet1.FontCache.cpp[cpp] view plaincopyFontPlatformData*FontCache::getCachedFontPlatformData(constFontDescription&fontDescription,constAtomicString&familyName,boolcheckingAlternateName){...result=createFontPlatformData(fontDescription,familyName);....}2.FontCacheAndroid.cpp[cpp] view plai 阅读全文
posted @ 2012-04-06 21:52
cascais
阅读(965)
评论(0)
推荐(0)
摘要:
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, 阅读全文
posted @ 2012-04-06 21:47
cascais
阅读(202)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2012-04-06 21:44
cascais
阅读(185)
评论(0)
推荐(0)
摘要:
1. receive data to parsea .for chromium stackWebUrlLoaderClient::didReceiveDataResourceLoader::didReceiveDataMainResourceLoader::didReceiveDataResourceLoader::didReceiveDataMainResourceLoader::addDataDocumentLoader::receivedDataDocumentLoader::commitLoadFrameLoaderClient::committedLoad (FrameLoaderC 阅读全文
posted @ 2012-04-06 21:41
cascais
阅读(230)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2012-04-06 21:41
cascais
阅读(244)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-04-06 21:38
cascais
阅读(0)
评论(0)
推荐(0)

浙公网安备 33010602011771号