Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 28) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java31 assertEquals("new instance length", 0, src.getLength()); in testNewInstance()
44 assertEquals("length after add " + i, i + 1, src.getLength()); in testAdd()
71 assertEquals("length after add at " + i, i + 1, src.getLength()); in testAddAt()
97 assertEquals("legth after add at " + index, index + 1, src.getLength()); in testGet()
101 src.get(src.getLength()); in testGet()
114 assertEquals("length after add " + i, i + 1, src.getLength()); in testReset()
120 assertEquals("length after reset", 0, src.getLength()); in testReset()
127 assertEquals("length after add " + i, i + 1, src.getLength()); in testReset()
145 assertEquals("length after add " + i, i + 1, src.getLength()); in testSetLength()
151 assertEquals("length after larger setLength", largerLength, src.getLength()); in testSetLength()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java107 public int getLength() { in getLength() method in GestureStrokeRecognitionPoints
108 return mEventTimes.getLength(); in getLength()
153 final int size = getLength(); in isStartOfAGesture()
181 final int lastIndex = getLength() - 1; in duplicateLastPointWith()
207 final int lastIndex = getLength() - 1; in appendPoint()
233 final int size = getLength(); in detectFastMove()
274 final int size = getLength(); in addEventPoint()
301 mIncrementalRecognitionSize = getLength(); in updateIncrementalRecognitionSize()
313 appendBatchPoints(out, getLength()); in appendAllBatchPoints()
DGestureStrokeDrawingPoints.java68 final boolean isDownEvent = (mPreviewEventTimes.getLength() == 0); in needsSampling()
96 final int length = mPreviewEventTimes.getLength() - mLastPreviewSize; in appendPreviewStroke()
104 types.fill(GestureTrailDrawingPoints.POINT_TYPE_SAMPLED, types.getLength(), length); in appendPreviewStroke()
106 mLastPreviewSize = mPreviewEventTimes.getLength(); in appendPreviewStroke()
127 final int size = mPreviewEventTimes.getLength(); in interpolateStrokeAndReturnStartIndexOfLastSegment()
DGestureTrailDrawingPoints.java79 final int trailSize = mEventTimes.getLength(); in addStrokeLocked()
81 if (mEventTimes.getLength() == trailSize) { in addStrokeLocked()
168 final int trailSize = mEventTimes.getLength(); in drawGestureTrailLocked()
DBatchInputArbiter.java95 final int beforeLength = mRecognitionPoints.getLength(); in addMoveEventPoint()
98 if (mRecognitionPoints.getLength() > beforeLength) { in addMoveEventPoint()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java351 final int len = start.getLength(); in appendEncodedString()
562 final int flen = fstart.getLength(); in appendHeader()
644 final int valueLength = valueStart.getLength(); in appendHeader()
954 final int ctLength = ctStart.getLength(); in makeMessageBody()
1021 final int contentTypeLength = contentTypeBegin.getLength(); in makeMessageBody()
1046 final int headerLength = attachment.getLength(); in makeMessageBody()
1082 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody()
1116 int getLength() { in getLength() method in PduComposer.PositionMarker
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMeasureHelper.java48 getLength(widthSpec, mPreferredWidth + p.left + p.right), in measure()
49 getLength(heightSpec, mPreferredHeight + p.top + p.bottom)); in measure()
52 private static int getLength(int measureSpec, int prefered) { in getLength() method in MeasureHelper
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java42 final int fromIndex = mTimes.getLength(); in fillWithLastTimeUntil()
107 mPointerIds.fill(pointerId, mPointerIds.getLength(), length); in append()
132 return mXCoordinates.getLength(); in getPointerSize()
DResizableIntArray.java82 public int getLength() { in getLength() method in ResizableIntArray
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java131 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in play()
175 afd.getLength()); in setDataSourceFromResource()
/packages/services/Telephony/src/com/android/phone/common/mail/
DFixedLengthInputStream.java71 public int getLength() { in getLength() method in FixedLengthInputStream
/packages/apps/Email/provider_src/com/android/email/
DFixedLengthInputStream.java72 public int getLength() { in getLength() method in FixedLengthInputStream
/packages/apps/Messaging/src/com/android/messaging/util/
DMediaUtilImpl.java42 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in playSound()
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
DImapMemoryLiteral.java38 mData = new byte[in.getLength()]; in ImapMemoryLiteral()
DImapTempFileLiteral.java46 mSize = stream.getLength(); in ImapTempFileLiteral()
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapMemoryLiteral.java37 mData = new byte[in.getLength()]; in ImapMemoryLiteral()
DImapTempFileLiteral.java46 mSize = stream.getLength(); in ImapTempFileLiteral()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
DSyncMessage.java103 public int getLength() { in getLength() method in SyncMessage
DOmtpMessageReceiver.java110 .setDuration(message.getLength()) in processSync()
/packages/apps/Email/provider_src/com/android/email/service/
DImapTempFileLiteral.java49 mSize = stream.getLength(); in ImapTempFileLiteral()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFactory.java146 return new ReadOnlyBinaryDictionary(sourceDir, afd.getStartOffset(), afd.getLength(), in createReadOnlyBinaryDictionary()
DBinaryDictionaryGetter.java107 context.getApplicationInfo().sourceDir, afd.getStartOffset(), afd.getLength()); in loadFallbackResource()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java159 public int getLength() { in getLength() method in SnepMessage
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java153 long statLength = fd.getLength(); in generateFileInfo()
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java140 int length = Array.getLength(object); in metadataValueToString()

12