/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ResizableIntArrayTests.java | 31 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/ |
D | GestureStrokeRecognitionPoints.java | 107 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()
|
D | GestureStrokeDrawingPoints.java | 68 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()
|
D | GestureTrailDrawingPoints.java | 79 final int trailSize = mEventTimes.getLength(); in addStrokeLocked() 81 if (mEventTimes.getLength() == trailSize) { in addStrokeLocked() 168 final int trailSize = mEventTimes.getLength(); in drawGestureTrailLocked()
|
D | BatchInputArbiter.java | 95 final int beforeLength = mRecognitionPoints.getLength(); in addMoveEventPoint() 98 if (mRecognitionPoints.getLength() > beforeLength) { in addMoveEventPoint()
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
D | ElementParallelTimeContainerImpl.java | 89 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()
|
D | SmilPlayer.java | 124 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()
|
D | ElementTimeImpl.java | 152 for (int i = 0; i < begin.getLength(); i++) { in getEnd() 167 if (begin.getLength() == 1 && end.getLength() == 1) { in beginAndEndAreZero()
|
D | ElementSequentialTimeContainerImpl.java | 48 for (int i = 0; i < allChildren.getLength(); i++) { in getActiveChildrenAt() 62 for (int i = 0; i < children.getLength(); ++i) { in getDur()
|
D | TimeListImpl.java | 39 public int getLength() { in getLength() method in TimeListImpl
|
D | SmilRegionMediaElementImpl.java | 38 for (int i = 0; i < regions.getLength(); i++) { in getRegion()
|
D | SmilLayoutElementImpl.java | 48 int childrenCount = childNodes.getLength(); in getRootLayout()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MeasureHelper.java | 48 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/ |
D | InputPointers.java | 46 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/ |
D | SlideshowActivity.java | 88 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/ |
D | SlideshowModel.java | 132 int regionsNum = nlRegions.getLength(); in createFromPduBody() 146 int slidesNum = slideNodes.getLength(); in createFromPduBody() 157 int mediaNum = mediaNodes.getLength(); in createFromPduBody()
|
D | MediaModelFactory.java | 172 if ((tl != null) && (tl.getLength() > 0)) { in getGenericMediaModel() 183 if ((tl != null) && (tl.getLength() > 0)) { in getGenericMediaModel()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerRingService.java | 132 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in play() 176 afd.getLength()); in setDataSourceFromResource()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | XmlDictInputOutput.java | 108 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/ |
D | TimeList.java | 38 public int getLength(); in getLength() method
|
/packages/apps/Email/src/com/android/email/ |
D | FixedLengthInputStream.java | 72 public int getLength() { in getLength() method in FixedLengthInputStream
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapMemoryLiteral.java | 37 mData = new byte[in.getLength()]; in ImapMemoryLiteral()
|
/packages/apps/Mms/src/com/android/mms/dom/ |
D | NodeListImpl.java | 63 public int getLength() { in getLength() method in NodeListImpl
|
D | NamedNodeMapImpl.java | 30 public int getLength() { in getLength() method in NamedNodeMapImpl
|
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/ |
D | SmilXmlSerializer.java | 54 for (int i = 0; i < attributes.getLength(); i++) { in writeElement()
|