/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
Base64.java | 80 int dataIndex = 0; 94 dataIndex = i * 4; 95 marker0 = base64Data[dataIndex + 2]; 96 marker1 = base64Data[dataIndex + 3]; 98 b1 = base64Alphabet[base64Data[dataIndex]]; 99 b2 = base64Alphabet[base64Data[dataIndex + 1]];
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/ |
SAX2DTM2.java | [all...] |
SAX2DTM.java | 513 int dataIndex = m_dataOrQName.elementAt(identity); 514 int offset = m_data.elementAt(dataIndex); 515 int length = m_data.elementAt(dataIndex + 1); 539 int dataIndex = _dataOrQName(identity); 543 offset = m_data.elementAt(dataIndex); 546 length += m_data.elementAt(dataIndex + 1); 562 int dataIndex = _dataOrQName(identity); 564 if (dataIndex < 0) 566 dataIndex = -dataIndex; [all...] |
/external/apache-http/src/org/apache/commons/codec/binary/ |
Base64.java | 263 int dataIndex = 0; 270 dataIndex = i * 3; 271 b1 = binaryData[dataIndex]; 272 b2 = binaryData[dataIndex + 1]; 273 b3 = binaryData[dataIndex + 2]; 319 dataIndex = i * 3; 322 b1 = binaryData[dataIndex]; 334 b1 = binaryData[dataIndex]; 335 b2 = binaryData[dataIndex + 1]; 388 int dataIndex = 0 [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderDDS.java | 48 int dataIndex = 0;
53 newData.putLong(dataIndex, data.getLong());// just copy the
56 dataIndex += 8;
80 newData.putShort(dataIndex, rgb565);
81 dataIndex += 2;
85 newData.putInt(dataIndex, data.getInt());
86 dataIndex += 4;
|
TextureBlenderAWT.java | 57 int dataIndex = 0;
61 newData.put(dataIndex++, (byte) (resultPixel[0] * 255.0f));
62 newData.put(dataIndex++, (byte) (resultPixel[1] * 255.0f));
63 newData.put(dataIndex++, (byte) (resultPixel[2] * 255.0f));
64 newData.put(dataIndex++, (byte) (pixelColor[3] * 255.0f));
|
TextureBlenderLuminance.java | 48 int dataIndex = 0;
52 newData.put(dataIndex++, (byte) (resultPixel[0] * 255.0f));
53 newData.put(dataIndex++, (byte) (resultPixel[1] * 255.0f));
54 newData.put(dataIndex++, (byte) (resultPixel[2] * 255.0f));
55 newData.put(dataIndex++, (byte) (tinAndAlpha[1] * 255.0f));
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
ContactsExpansion.java | 63 private void addContact(ViewGroup container, int dataIndex, int thumbnailID) { 69 ((TextView)contactItem.findViewById(R.id.contact_name)).setText(contactsData[dataIndex++]); 71 setText(contactsData[dataIndex++]); 72 ((TextView)contactItem.findViewById(R.id.contact_city)).setText(contactsData[dataIndex++]); 73 ((TextView)contactItem.findViewById(R.id.contact_phone)).setText(contactsData[dataIndex++]); 74 ((TextView)contactItem.findViewById(R.id.contact_email)).setText(contactsData[dataIndex++]);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 80 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); 96 if (dataIndex >= 0) { 97 data.thumbnailUrl = cursor.getString(dataIndex); 143 int dataIndex = data.cursor.getColumnIndex(MediaStore.Images.Media.DATA); 146 String url = data.cursor.getString(dataIndex); 164 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); 168 data.url = cursor.getString(dataIndex); 210 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); 217 if (dataIndex < 0) {
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtptngts.cpp | 553 int32_t dataIndex=0; 563 while (patternData[dataIndex].length() > 0) { 564 log(patternData[dataIndex]); 565 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); 572 errln(UnicodeString("\nERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + 590 int32_t dataIndex=0; 607 while (patternTests2[dataIndex].length() > 0) { 608 logln(patternTests2[dataIndex]); 609 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); 615 errln(UnicodeString("\nERROR: Test various skeletons[") + dataIndex [all...] |
/external/icu4c/test/intltest/ |
dtptngts.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLObjectElement.cpp | 128 int srcIndex = -1, dataIndex = -1; 133 dataIndex = i; 136 if (srcIndex == -1 && dataIndex != -1) { 138 paramValues->append((*paramValues)[dataIndex]);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
WapPushOverSms.java | 167 int dataIndex = headerStartIndex + headerLength; 168 intentData = new byte[pdu.length - dataIndex]; 169 System.arraycopy(pdu, dataIndex, intentData, 0, intentData.length);
|
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/ |
plotter.js | 606 * @param {number} dataIndex The index into the |this.plotData| array of the 610 cursorDiv, dataIndex) { 620 coordinateSystem.xPixel(this.plotData_[dataIndex][0][0]); 624 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex - 1][0]); 626 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]); 634 if (currentIndex == this.plotData_[dataIndex].length - 1) { 636 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]); 641 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex + 1][0]); 643 coordinateSystem.xPixel(this.plotData_[dataIndex][currentIndex][0]); [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StorageManager.java | 326 final int dataIndex = cursor.getColumnIndex(Downloads.Impl._DATA); 328 final String data = cursor.getString(dataIndex);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppNotification.java | 234 final int dataIndex = cursor.getColumnIndexOrThrow(BluetoothShare._DATA); 249 String fileName = cursor.getString(dataIndex);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zIn.cpp | 176 int dataIndex = (int)archive->ReadNum();
177 if (dataIndex < 0 || dataIndex >= dataVector->Size())
179 Set(archive, (*dataVector)[dataIndex]);
[all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.commons.codec_1.3.0.v20100518-1140.jar | |
org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar | |
org.eclipse.equinox.preferences_3.3.0.v20100503.jar | |
/external/chromium_org/third_party/flot/ |
jquery.flot.pie.min.js | 56 */(function(e){function r(r){function p(t,n,r){l||(l=!0,s=t.getCanvas(),o=e(s).parent(),i=t.getOptions(),t.setData(d(t.getData())))}function d(t){var n=0,r=0,s=0,o=i.series.pie.combine.color,u=[];for(var a=0;a<t.length;++a){var f=t[a].data;e.isArray(f)&&f.length==1&&(f=f[0]),e.isArray(f)?!isNaN(parseFloat(f[1]))&&isFinite(f[1])?f[1]=+f[1]:f[1]=0:!isNaN(parseFloat(f))&&isFinite(f)?f=[1,+f]:f=[1,0],t[a].data=[f]}for(var a=0;a<t.length;++a)n+=t[a].data[0][1];for(var a=0;a<t.length;++a){var f=t[a].data[0][1];f/n<=i.series.pie.combine.threshold&&(r+=f,s++,o||(o=t[a].color))}for(var a=0;a<t.length;++a){var f=t[a].data[0][1];(s<2||f/n>i.series.pie.combine.threshold)&&u.push({data:[[1,f]],color:t[a].color,label:t[a].label,angle:f*Math.PI*2/n,percent:f/(n/100)})}return s>1&&u.push({data:[[1,r]],color:o,label:i.series.pie.combine.label,angle:r*Math.PI*2/n,percent:r/(n/100)}),u}function v(r,s){function y(){c.clearRect(0,0,h,p),o.children().filter(".pieLabel, .pieLabelBackground").remove()}function b(){var e=i.series.pie.shadow.left,t=i.series.pie.shadow.top,n=10,r=i.series.pie.shadow.alpha,s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;if(s>=h/2-e||s*i.series.pie.tilt>=p/2-t||s<=n)return;c.save(),c.translate(e,t),c.globalAlpha=r,c.fillStyle="#000",c.translate(a,f),c.scale(1,i.series.pie.tilt);for(var o=1;o<=n;o++)c.beginPath(),c.arc(0,0,s,0,Math.PI*2,!1),c.fill(),s-=o;c.restore()}function w(){function l(e,t,i){if(e<=0||isNaN(e))return;i?c.fillStyle=t:(c.strokeStyle=t,c.lineJoin="round"),c.beginPath(),Math.abs(e-Math.PI*2)>1e-9&&c.moveTo(0,0),c.arc(0,0,n,r,r+e/2,!1),c.arc(0,0,n,r+e/2,r+e,!1),c.closePath(),r+=e,i?c.fill():c.stroke()}function d(){function l(t,n,s){if(t.data[0][1]==0)return!0;var u=i.legend.labelFormatter,l,c=i.series.pie.label.formatter;u?l=u(t.label,t):l=t.label,c&&(l=c(l,t));var d=(n+t.angle+n)/2,v=a+Math.round(Math.cos(d)*r),m=f+Math.round(Math.sin(d)*r)*i.series.pie.tilt,g="<span class='pieLabel' id='pieLabel"+s+"' style='position:absolute;top:"+m+"px;left:"+v+"px;'>"+l+"</span>";o.append(g);var y=o.children("#pieLabel"+s),b=m-y.height()/2,w=v-y.width()/2;y.css("top",b),y.css("left",w);if(0-b>0||0-w>0||p-(b+y.height())<0||h-(w+y.width())<0)return!1;if(i.series.pie.label.background.opacity!=0){var E=i.series.pie.label.background.color;E==null&&(E=t.color);var S="top:"+b+"px;left:"+w+"px;";e("<div class='pieLabelBackground' style='position:absolute;width:"+y.width()+"px;height:"+y.height()+"px;"+S+"background-color:"+E+";'></div>").css("opacity",i.series.pie.label.background.opacity).insertBefore(y)}return!0}var n=t,r=i.series.pie.label.radius>1?i.series.pie.label.radius:u*i.series.pie.label.radius;for(var s=0;s<v.length;++s){if(v[s].percent>=i.series.pie.label.threshold*100&&!l(v[s],n,s))return!1;n+=v[s].angle}return!0}var t=Math.PI*i.series.pie.startAngle,n=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;c.save(),c.translate(a,f),c.scale(1,i.series.pie.tilt),c.save();var r=t;for(var s=0;s<v.length;++s)v[s].startAngle=r,l(v[s].angle,v[s].color,!0);c.restore();if(i.series.pie.stroke.width>0){c.save(),c.lineWidth=i.series.pie.stroke.width,r=t;for(var s=0;s<v.length;++s)l(v[s].angle,i.series.pie.stroke.color,!1);c.restore()}return m(c),c.restore(),i.series.pie.label.show?d():!0}if(!o)return;var h=r.getPlaceholder().width(),p=r.getPlaceholder().height(),d=o.children().filter(".legend").children().width()||0;c=s,l=!1,u=Math.min(h,p/i.series.pie.tilt)/2,f=p/2+i.series.pie.offset.top,a=h/2,i.series.pie.offset.left=="auto"?i.legend.position.match("w")?a+=d/2:a-=d/2:a+=i.series.pie.offset.left,a<u?a=u:a>h-u&&(a=h-u);var v=r.getData(),g=0;do g>0&&(u*=n),g+=1,y(),i.series.pie.tilt<=.8&&b();while(!w()&&g<t);g>=t&&(y(),o.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>")),r.setSeries&&r.insertLegend&&(r.setSeries(v),r.insertLegend())}function m(e){if(i.series.pie.innerRadius>0){e.save();var t=i.series.pie.innerRadius>1?i.series.pie.innerRadius:u*i.series.pie.innerRadius;e.globalCompositeOperation="destination-out",e.beginPath(),e.fillStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.fill(),e.closePath(),e.restore(),e.save(),e.beginPath(),e.strokeStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.stroke(),e.closePath(),e.restore()}}function g(e,t){for(var n=!1,r=-1,i=e.length,s=i-1;++r<i;s=r)(e[r][1]<=t[1]&&t[1]<e[s][1]||e[s][1]<=t[1]&&t[1]<e[r][1])&&t[0]<(e[s][0]-e[r][0])*(t[1]-e[r][1])/(e[s][1]-e[r][1])+e[r][0]&&(n=!n);return n}function y(e,t){var n=r.getData(),i=r.getOptions(),s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius,o,l;for(var h=0;h<n.length;++h){var p=n[h];if(p.pie.show){c.save(),c.beginPath(),c.moveTo(0,0),c.arc(0,0,s,p.startAngle,p.startAngle+p.angle/2,!1),c.arc(0,0,s,p.startAngle+p.angle/2,p.startAngle+p.angle,!1),c.closePath(),o=e-a,l=t-f;if(c.isPointInPath){if(c.isPointInPath(e-a,t-f))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}else{var d=s*Math.cos(p.startAngle),v=s*Math.sin(p.startAngle),m=s*Math.cos(p.startAngle+p.angle/4),y=s*Math.sin(p.startAngle+p.angle/4),b=s*Math.cos(p.startAngle+p.angle/2),w=s*Math.sin(p.startAngle+p.angle/2),E=s*Math.cos(p.startAngle+p.angle/1.5),S=s*Math.sin(p.startAngle+p.angle/1.5),x=s*Math.cos(p.startAngle+p.angle),T=s*Math.sin(p.startAngle+p.angle),N=[[0,0],[d,v],[m,y],[b,w],[E,S],[x,T]],C=[o,l];if(g(N,C))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}c.restore()}}return null}function b(e){E("plothover",e)}function w(e){E( (…)
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_fixup.cpp | 402 /** Copy @len bytes of data from @src into the @dataIndex'th argument of the message. */ 403 void addGlBufferData(GLMessage *glmsg, int dataIndex, GLvoid *src, GLsizeiptr len) { 404 GLMessage_DataType *arg_datap = glmsg->mutable_args(dataIndex); [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
WapPushTest.java | [all...] |