Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
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 final int value = 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/Mms/src/com/android/mms/dom/smil/
DElementParallelTimeContainerImpl.java89 for (int i = 0; i < children.getLength(); ++i) { in getImplicitDuration()
92 for (int j = 0; j < endTimeList.getLength(); ++j) { in getImplicitDuration()
117 int childrenLen = children.getLength(); in getActiveChildrenAt()
124 int len = beginList.getLength(); in getActiveChildrenAt()
137 len = endList.getLength(); in getActiveChildrenAt()
DSmilPlayer.java124 for (int i = 0; i < children.getLength(); ++i) { in getParTimeline()
135 for (int i = 0; i < activeChildrenAtEnd.getLength(); ++i) { in getParTimeline()
183 for (int i = 0; i < children.getLength(); ++i) { in getSeqTimeline()
195 for (int i = 0; i < activeChildrenAtEnd.getLength(); ++i) { in getSeqTimeline()
218 for (int i = 0; i < beginList.getLength(); ++i) { in getTimeline()
231 for (int i = 0; i < endList.getLength(); ++i) { in getTimeline()
DElementTimeImpl.java152 for (int i = 0; i < begin.getLength(); i++) { in getEnd()
167 if (begin.getLength() == 1 && end.getLength() == 1) { in beginAndEndAreZero()
DElementSequentialTimeContainerImpl.java48 for (int i = 0; i < allChildren.getLength(); i++) { in getActiveChildrenAt()
62 for (int i = 0; i < children.getLength(); ++i) { in getDur()
DTimeListImpl.java39 public int getLength() { in getLength() method in TimeListImpl
DSmilRegionMediaElementImpl.java38 for (int i = 0; i < regions.getLength(); i++) { in getRegion()
DSmilLayoutElementImpl.java48 int childrenCount = childNodes.getLength(); in getRootLayout()
/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/java/src/com/android/inputmethod/latin/
DInputPointers.java46 final int fromIndex = mTimes.getLength(); in fillWithLastTimeUntil()
109 mPointerIds.fill(pointerId, mPointerIds.getLength(), length); in append()
133 return mXCoordinates.getLength(); in getPointerSize()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowActivity.java88 if (children == null || children.getLength() != 1) { in isMMSConformance()
102 int num = layoutChildren.getLength(); in isMMSConformance()
118 for (int j = 0; j < map.getLength(); j++) { in isMMSConformance()
/packages/apps/Mms/src/com/android/mms/model/
DSlideshowModel.java132 int regionsNum = nlRegions.getLength(); in createFromPduBody()
146 int slidesNum = slideNodes.getLength(); in createFromPduBody()
157 int mediaNum = mediaNodes.getLength(); in createFromPduBody()
DMediaModelFactory.java172 if ((tl != null) && (tl.getLength() > 0)) { in getGenericMediaModel()
183 if ((tl != null) && (tl.getLength() > 0)) { in getGenericMediaModel()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java132 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in play()
176 afd.getLength()); in setDataSourceFromResource()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DXmlDictInputOutput.java108 for (int attrIndex = 0; attrIndex < attrs.getLength(); ++attrIndex) { in startElement()
116 for (int attrIndex = 0; attrIndex < attrs.getLength(); ++attrIndex) { in startElement()
/packages/apps/Mms/src/org/w3c/dom/smil/
DTimeList.java38 public int getLength(); in getLength() method
/packages/apps/Email/provider_src/com/android/email/
DFixedLengthInputStream.java72 public int getLength() { in getLength() method in FixedLengthInputStream
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapMemoryLiteral.java37 mData = new byte[in.getLength()]; in ImapMemoryLiteral()
/packages/apps/Mms/src/com/android/mms/dom/
DNodeListImpl.java63 public int getLength() { in getLength() method in NodeListImpl
DNamedNodeMapImpl.java30 public int getLength() { in getLength() method in NamedNodeMapImpl
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/
DSmilXmlSerializer.java54 for (int i = 0; i < attributes.getLength(); i++) { in writeElement()

12