HomeSort by relevance Sort by last modified time
    Searched defs:totalLength (Results 1 - 25 of 35) sorted by null

1 2

  /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) {
  /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/av/media/libstagefright/wifi-display/
ParsedMessage.cpp 160 size_t totalLength = offset + contentLength;
162 if (size < totalLength) {
168 return totalLength;
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 104 int totalLength = env->GetArrayLength(byteArray);
105 if ((offset | length) < 0 || offset + length > totalLength) {
  /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/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/editing/
MarkupAccumulator.cpp 138 size_t MarkupAccumulator::totalLength(const Vector<String>& strings)
  /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/base/core/java/android/net/
SSLCertificateSocketFactory.java 282 int totalLength = 0;
287 totalLength += 1 + s.length;
289 byte[] result = new byte[totalLength];
  /frameworks/base/obex/javax/obex/
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];
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...]
  /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];
  /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/WebCore/rendering/svg/
SVGTextLayoutEngine.cpp 187 float totalLength = 0;
204 totalLength += length;
223 m_textPathSpacing = (desiredTextLength - totalLength) / totalCharacters;
225 m_textPathScaling = desiredTextLength / 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) {
  /packages/inputmethods/LatinIME/native/jni/src/
correction.cpp     [all...]
  /external/icu4c/common/
utrie2_builder.cpp 350 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
352 indexLength, dataLength, totalLength);
359 long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
361 which, indexLength, dataLength, totalLength);
    [all...]
  /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...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-jsch.jar 
  /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...]
  /external/webkit/Source/JavaScriptCore/runtime/
StringPrototype.cpp 263 int totalLength = 0;
265 totalLength += substringRanges[i].length;
267 totalLength += separators[i].length();
269 if (totalLength == 0)
273 PassRefPtr<StringImpl> impl = StringImpl::tryCreateUninitialized(totalLength, buffer);
    [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...]
  /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...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 499 int totalLength = 0;
502 totalLength += length;
504 Log.v(TAG, "Wrote " + totalLength + " bytes for photo " + photoFile.toString());
    [all...]

Completed in 1463 milliseconds

1 2