/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
EllipsizeLayout.java | 29 int totalLength = 0; 54 totalLength += child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin; 57 outOfSpec |= (ellipView == null) || (totalLength == 0); 60 if (!outOfSpec && totalLength > parentWidth) { 61 int maxWidth = ellipView.getMeasuredWidth() - (totalLength - parentWidth);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
BerTlv.java | 134 int totalLength = 0; 138 totalLength += itemLength + 3; //3: 'tag'(1 byte) and 'length'(2 bytes). 140 totalLength += itemLength + 2; //2: 'tag'(1 byte) and 'length'(1 byte). 154 if (length != totalLength) {
|
/frameworks/base/obex/javax/obex/ |
ServerSession.java | 257 int totalLength = 3; 261 totalLength += header.length; 262 data = new byte[totalLength]; 264 data[1] = (byte)(totalLength >> 8); 265 data[2] = (byte)totalLength; 268 data = new byte[totalLength]; 271 data[2] = (byte)totalLength; 291 int totalLength = 3; 305 totalLength = 3; 378 totalLength += head.length [all...] |
ClientSession.java | 79 int totalLength = 4; 89 totalLength += head.length; 100 byte[] requestPacket = new byte[totalLength]; 289 int totalLength = 2; 315 totalLength += head.length; 317 if (totalLength > maxPacketSize) { 343 byte[] packet = new byte[totalLength];
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Spline.java | 32 private float totalLength; 179 totalLength = 0; 186 totalLength = 0; 198 totalLength += l; 221 totalLength += l; 236 totalLength += l; 329 return totalLength; 417 oc.write(totalLength, "totalLength", 0); 439 totalLength = in.readFloat("totalLength", 0) [all...] |
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
EventPlugin.cpp | 119 int totalLength = strlen(jsBegin) + length + strlen(jsEnd); 120 char* beginMem = (char*)browser->memalloc(totalLength); 129 gLogI.log(kDebug_ANPLogType, "text: %.*s\n", totalLength, (char*)beginMem); 132 NPString script = { (char*)beginMem, totalLength };
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
GCMBlockCipher.java | 45 private long totalLength; 172 this.totalLength = 0; 291 if (totalLength == 0) 310 if (totalLength == 0) 354 long c = ((totalLength * 8) + 127) >>> 7; 375 Pack.longToBigEndian(totalLength * 8, X, 8); 432 totalLength = 0; 459 totalLength += BLOCK_SIZE; 471 totalLength += len;
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Shader.cpp | 75 int totalLength = 0; 81 totalLength += length[i]; 85 totalLength += (int)strlen(string[i]); 89 mSource = new char[totalLength + 1]; 109 mSource[totalLength] = '\0';
|
/external/webkit/Source/WebCore/platform/graphics/ |
PathTraversalState.cpp | 125 float totalLength = 0.0f; 134 totalLength += length; 139 if (traversalState.m_totalLength + totalLength > traversalState.m_desiredLength) 140 return totalLength; 147 return totalLength;
|
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 677 final int totalLength = mTotalLength; 678 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); 704 final int totalLength = mTotalLength; 705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 786 final int totalLength = mTotalLength; 787 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + [all...] |
/external/webkit/Source/WebCore/editing/ |
MarkupAccumulator.h | 78 static size_t totalLength(const Vector<String>&); 79 size_t length() const { return totalLength(m_succeedingMarkup); }
|
/frameworks/base/core/jni/android/graphics/ |
Movie.cpp | 104 int totalLength = env->GetArrayLength(byteArray); 105 if ((offset | length) < 0 || offset + length > totalLength) {
|
/external/webkit/Source/WebCore/rendering/ |
RenderScrollbar.cpp | 325 int totalLength = startLength + endLength; 326 return IntRect(x() + startLength, y(), width() - totalLength, height()); 333 int totalLength = startLength + endLength; 335 return IntRect(x(), y() + startLength, width(), height() - totalLength);
|
/frameworks/av/media/libstagefright/wifi-display/ |
ParsedMessage.cpp | 160 size_t totalLength = offset + contentLength; 162 if (size < totalLength) { 168 return totalLength;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jsch.jar | |
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 282 int totalLength = 0; 287 totalLength += 1 + s.length; 289 byte[] result = new byte[totalLength];
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextControllerATSUI.cpp | 104 static void shapeArabic(const UChar* source, UChar* dest, unsigned totalLength) 107 while (shapingStart < totalLength) { 113 for (shapingEnd = shapingStart; !foundLigatureSpace && shapingEnd < totalLength - 1; ++shapingEnd) 137 shapingEnd = totalLength;
|
/packages/apps/Email/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 516 int totalLength = prefix.length() + encodedLength 518 if (totalLength <= ENCODED_WORD_MAX_LENGTH - usedCharacters) { 544 int totalLength = prefix.length() + encodedLength 546 if (totalLength <= ENCODED_WORD_MAX_LENGTH - usedCharacters) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
UsimDataDownloadHandler.java | 88 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); 90 byte[] envelope = new byte[totalLength];
|
/packages/inputmethods/LatinIME/native/jni/src/ |
correction.cpp | [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutEngine.cpp | 187 float totalLength = 0; 204 totalLength += length; 223 m_textPathSpacing = (desiredTextLength - totalLength) / totalCharacters; 225 m_textPathScaling = desiredTextLength / totalLength;
|
/frameworks/av/media/mtp/ |
MtpDataPacket.cpp | 385 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); 386 allocate(totalLength); 387 while (totalLength > length) { 389 request->buffer_length = totalLength - length;
|
/external/svox/pico/tts/ |
com_svox_picottsengine.cpp | 762 int start, totalLength, i, j; 778 start = 0; totalLength = 0; i = 0; j = 0; 788 totalLength += strlen(words[j-1]); 796 totalLength += strlen(words[j]); 797 convstring = new char[totalLength + 1]; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LinearLayoutRule.java | 780 public int totalLength; 805 totalLength = 0; 810 totalLength += preferredSize.h; 812 totalLength += preferredSize.w [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 223 int totalLength = FILE_CONTENT.length(); 227 .setHeader("Content-length", totalLength) 231 "Content-range", "bytes " + start + "-" + totalLength + "/" + totalLength); [all...] |