Home
last modified time | relevance | path

Searched refs:mEnd (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUtils.java115 private int mEnd = 0; field in Utils.RingCharBuffer
142 mCharBuf[mEnd] = c; in push()
143 mXBuf[mEnd] = x; in push()
144 mYBuf[mEnd] = y; in push()
145 mEnd = normalize(mEnd + 1); in push()
154 mEnd = normalize(mEnd - 1); in pop()
156 return mCharBuf[mEnd]; in pop()
163 return mCharBuf[normalize(mEnd - n - 1)]; in getBackwardNthChar()
167 int index = normalize(mEnd - 2 - back); in getPreviousX()
176 int index = normalize(mEnd - 2 - back); in getPreviousY()
[all …]
/packages/apps/Phone/src/com/android/phone/
DDataUsageListener.java59 private Calendar mEnd; field in DataUsageListener
83 mEnd = GregorianCalendar.getInstance(); in initialize()
151 mEnd.setTimeInMillis(endTime); in updateUsageStats()
160 long cycleTime = mEnd.getTimeInMillis() - mStart.getTimeInMillis(); in updateUI()
188 DateFormat.getDateInstance(DateFormat.SHORT).format(mEnd.getTime()))); in updateUI()
208 DateFormat.getDateInstance(DateFormat.SHORT).format(mEnd.getTime()))); in updateUI()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java35 assertEquals("show blue underline, span end", EXPECTED_SPAN_END, span.mEnd); in testBlueUnderline()
52 assertEquals("extend blue underline, span end", EXPECTED_SPAN_END, spanBefore.mEnd); in testBlueUnderlineDisappears()
86 EXPECTED_UNDERLINE_SPAN_END, underlineSpan.mEnd); in testBlueUnderlineOnBackspace()
DInputTestsBase.java65 final int mEnd; field in InputTestsBase.SpanGetter
77 mEnd = -1; in SpanGetter()
81 mEnd = mInputText.getSpanEnd(mSpan); in SpanGetter()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java109 private long mEnd; field in EditEventFragment
173 mModel.mOriginalEnd = mEnd; in onQueryComplete()
176 mModel.mEnd = mEnd; in onQueryComplete()
352 mEnd = -1; in startQuery()
365 mEnd = mEvent.endTime.toMillis(true); in startQuery()
373 mEnd = mEventBundle.end; in startQuery()
380 if (mEnd < mBegin) { in startQuery()
382 mEnd = mHelper.constructDefaultEndTime(mBegin); in startQuery()
401 mModel.mEnd = mEnd; in startQuery()
686 long end = mModel.mEnd; in run()
[all …]
DEditEventHelper.java598 long newEnd = model.mEnd; in checkTimeDependentFields()
874 long end = model.mEnd; in addRecurrenceRule()
1052 model.mEnd = cursor.getLong(EVENT_INDEX_DTEND); in setModelFromCursor()
1176 endTime.set(model.mEnd); in getContentValuesFromModel()
DEditEventView.java784 mModel.mEnd = mModel.mStart + DateUtils.DAY_IN_MILLIS; in fillModelFromUI()
786 mModel.mEnd = normalizedEndTimeMillis; in fillModelFromUI()
792 mModel.mEnd = mEndTime.toMillis(true); in fillModelFromUI()
1039 long end = model.mEnd; in setModel()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java152 public final int mEnd; field in LevenshteinDistance.Token
157 mEnd = end; in Token()
161 return mEnd - mStart; in length()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java341 private final int mEnd; field in LevenshteinFormatterTest.SpanFormat
346 mEnd = start + expectedText.length(); in SpanFormat()
351 String spannedText = spanned.subSequence(mStart, mEnd).toString(); in verify()
353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java64 private long mEnd; field in ChartNetworkSeriesView
145 mEnd = end; in setBounds()
202 final int end = mStats.getIndexAfter(mEnd); in generatePath()
310 final NetworkStatsHistory.Entry entry = mStats.getValues(mStart, mEnd, null); in getMaxVisible()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java234 public long mEnd = -1; field in CalendarEventModel
400 mEnd = -1; in clear()
475 result = prime * result + (int) (mEnd ^ (mEnd >>> 32)); in hashCode()
564 if (mEnd != other.mEnd) { in equals()
653 if (mEnd != mOriginalEnd) { in isUnchanged()
DDayView.java1787 private final Time mEnd; field in DayView.GotoBroadcaster
1792 mEnd = end; in GotoBroadcaster()
1803 mController.sendEvent(this, EventType.GO_TO, mStart, mEnd, null, -1, in onAnimationEnd()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java463 mModel1.mEnd = TEST_END; in testSaveEventRecurringToNonRecurring()
518 mModel2.mEnd = TEST_END; in testSaveEventNonRecurringToRecurring()
552 mModel2.mEnd = TEST_END2; in testSaveEventUpdateNonRecurring()
554 mModel1.mEnd = TEST_END2; in testSaveEventUpdateNonRecurring()
601 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifySingleInstance()
662 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifyAllFollowingWithNonRecurring()
721 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifyAllFollowingFirstWithNonRecurring()
1225 mModel1.mEnd = 60001; in testAddRecurrenceRule()
1323 mModel2.mEnd = TEST_END; in testSetModelFromCursor()
1336 mModel2.mEnd = TEST_END; // Tuesday, May 4th, midnight in testSetModelFromCursor()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java198 long mEnd; field in AlertServiceTest.Alert
209 mEnd = end; in Alert()
245 a.mEnd, in getAlertCursor()
287 assertEquals("End time", a.mEnd, nw.mEnd); in verifyNotification()
300 a.mEnd, nw.mNw.get(i).mEnd); in verifyNotification()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java61 applySuggestedTextStyle(str, t.mStart + sourceLen, t.mEnd); in formatSuggestion()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java120 long mEnd; field in AlertService.NotificationWrapper
128 mEnd = endMillis; in NotificationWrapper()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java606 long mEnd; field in CalendarProvider2Test.InstanceInfo
616 mEnd = time.toMillis(false /* use isDst */); in InstanceInfo()
1464 cursor = queryInstances(instance.mBegin, instance.mEnd); in testInstanceRange()
1468 + " [begin,end]: [" + instance.mBegin + " " + instance.mEnd + "]" in testInstanceRange()