/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
D | PsdFile.java | 103 final int length = width * height; in writeImage() local 104 int[] pixels = new int[length]; in writeImage() 108 byte[] a = new byte[length]; in writeImage() 109 byte[] r = new byte[length]; in writeImage() 110 byte[] g = new byte[length]; in writeImage() 111 byte[] b = new byte[length]; in writeImage() 113 for (int i = 0; i < length; i++) { in writeImage() 202 mLength = mSignature.length; in ImageResources() 252 int length = 2; in getLength() local 254 length += layer.getLength(); in getLength() [all …]
|
/sdk/find_java/src/source/ |
D | utils.h | 76 CString(const char *start, size_t length) { mStr = NULL; set(start, length); } in CString() argument 92 CString& set(const char *start, size_t length) { in set() argument 95 mStr = (char *)malloc(length + 1); in set() 96 strncpy(mStr, start, length); in set() 97 mStr[length] = 0; in set() 148 size_t length() const { in length() function 162 CString& add(const char *str, int length) { in add() argument 164 set(str, length); in add() 167 mStr = (char *)realloc((void *)mStr, l1 + length + 1); in add() 168 strncpy(mStr + l1, str, length); in add() [all …]
|
D | find_java_lib.cpp | 54 int length, in extractJavaVersion() argument 57 const char *end = start + length; in extractJavaVersion()
|
/sdk/find_java2/src/ |
D | JavaPath.cpp | 62 DWORD length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath() local 63 if (length > lenShort) { in toShortPath() 66 lenShort = length; in toShortPath() 67 shortPath = (TCHAR *)malloc(length); in toShortPath() 68 length = GetShortPathName(longPath, shortPath, lenShort); in toShortPath() 71 if (length != 0) { in toShortPath() 76 return length != 0; in toShortPath()
|
/sdk/templates/docs/ |
D | prettify.js | 2 …=="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-… 3 …length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?… 4 …length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]"… 5 …length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);r… 6 …length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return Re… 7 …ction e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n… 8 …length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;… 9 …length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p… 12 "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/…
|
D | jquery-1.8.0.min.js | 2 …length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.a… property
|
D | default.js | 33 if (!queries || !queries.length) { 102 for (var i = headerPositionCache.length - 1; i >= 0; i--) {
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ |
D | HierarchyViewer.java | 117 if (args.length > 0) { in main() 118 for (int i = 0; i < args.length; i++) { in main() 134 if (i == args.length - 1) { in main() 140 if (i < args.length - 2) { in main() 143 if (i < args.length - 1) { in main()
|
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
D | EventAnalyzer.java | 72 if (args.length == 0) { in run() 83 if (index == args.length) { in run() 91 if (index == args.length) { in run() 99 if (index == args.length) { in run() 107 if (index == args.length) { in run() 113 if (index == args.length) { in run() 123 if (index < args.length) { in run() 127 } while (index < args.length); in run() 407 public void newData(byte[] data, int offset, int length) { in newData() argument
|
/sdk/dumpeventlog/src/com/android/dumpeventlog/ |
D | DumpEventLog.java | 50 public void newData(byte[] data, int offset, int length) { in newData() argument 52 mOutputStream.write(data, offset, length); in newData() 75 if (args.length != 2) { in main()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | ViewHierarchyLoader.java | 169 int length = Integer.parseInt(data.substring(index + 1, index2)); in loadProperties() local 170 start = index2 + 1 + length; in loadProperties() 171 property.value = data.substring(index2 + 1, index2 + 1 + length); in loadProperties() 176 stop = start >= data.length(); in loadProperties()
|
D | ProfilesLoader.java | 57 double[] profiles = new double[data.length]; in loadProfiles() 58 for (int i = 0; i < data.length; i++) { in loadProfiles()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/ |
D | EditableItem.java | 85 Object[] largeIconBitmaps = new Object[bitmapResIds.length]; in loadBitmaps() 87 for (int i = 0; i < bitmapResIds.length; i++) in loadBitmaps() 195 Integer[] integers = new Integer[mAvailableValues.length]; in getAvailableValuesInteger() 196 System.arraycopy(mAvailableValues, 0, integers, 0, integers.length); in getAvailableValuesInteger()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
D | Connection.java | 307 Socket.receive(sock, handshake.array(), handshake.array().length); in onAccept() 330 Socket.receive(sock, discard, discard.length); in onAccept() 337 Socket.receive(sock, name_array, name_array.length); in onAccept()
|
D | Channel.java | 80 mMessageSize = (message != null) ? message.length : 0; in SdkControllerMessage() 458 sendMessage(socket, msg_type, msg, msg.length); in sendMessage() 582 return (qresp != null) ? sendQueryResponse(query_id, qresp, qresp.length) : in sendQueryResponse()
|
D | Socket.java | 169 receive(data, data.length); in receive()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
D | ProfilesTableModel.java | 35 return profiles == null ? 0 : profiles.length; in getRowCount()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | IconEditor.java | 113 Object[] rt = new Object[avail.length + 1]; in getAvailableValuesForDisplay() 114 System.arraycopy(avail, 0, rt, 1, avail.length); in getAvailableValuesForDisplay()
|
D | TextEditor.java | 43 Object newVal = parseValue(s.length() == 0 ? null : s.toString()); in bindEditor()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
D | DeviceBridge.java | 46 if (adbLocation != null && adbLocation.length() != 0) { in initDebugBridge() 222 if (strings.length > 0) { in processNewLines()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
D | SensorChannel.java | 187 final int required_size = 4 + name.length + 1; in onEmulatorQuery() 598 final int len = values.length; in onSensorChanged()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 311 if (mColors == null || mColors.length < pixel_num) { in onFrameBuffer() 385 mTextError.setVisibility(error.length() == 0 ? View.GONE : View.VISIBLE); in updateError()
|
D | MainActivity.java | 196 mTextError.setVisibility(error.length() == 0 ? View.GONE : View.VISIBLE); in updateError()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
D | ControllerService.java | 278 if (mServiceError.length() > 0) { in addError()
|
/sdk/testapps/testSensors/src/com/android/tests/testsensors/ |
D | TestSensorsActivity.java | 178 final int nArgs = event.values.length; in onSensorChanged()
|