Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DRange.java34 private int mEnd = UNDEFINED; field in Range
45 if (mEnd == UNDEFINED || mEnd == mBegin) { in snapSelection()
47 mEnd = UNDEFINED; in snapSelection()
55 assert(mEnd == UNDEFINED); in establishRange()
58 mEnd = position; in establishRange()
67 mEnd = position; in establishRange()
71 assert(mEnd != UNDEFINED); in reviseRange()
72 assert(mBegin != mEnd); in reviseRange()
74 if (position == mEnd) { in reviseRange()
78 if (mEnd > mBegin) { in reviseRange()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java44 private long mEnd; field in ChartDataUsagePreference
65 chart.configureGraph(toInt(mEnd - mStart), top); in onBindViewHolder()
69 Utils.formatDateRange(getContext(), mEnd, mEnd), in onBindViewHolder()
79 final int end = mNetwork.getIndexAfter(mEnd); in getTop()
98 final int end = mNetwork.getIndexAfter(mEnd); in calcPoints()
166 mEnd = end; in setVisibleRange()
175 return mEnd; in getInspectEnd()
DAppDataUsage.java94 private long mEnd; field in AppDataUsage
296 entry = mChartData.detailDefault.getValues(mStart, mEnd, now, entry); in bindData()
298 entry = mChartData.detailForeground.getValues(mStart, mEnd, now, entry); in bindData()
366 mEnd = cycle.end;
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java61 private TimePickerPreference mEnd; field in ZenModeScheduleRuleSettings
121 mEnd = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
122 mEnd.setKey(KEY_END_TIME); in onCreateInternal()
123 mEnd.setTitle(R.string.zen_mode_end_time); in onCreateInternal()
124 mEnd.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
140 root.addPreference(mEnd); in onCreateInternal()
141 mEnd.setDependency(mDays.getKey()); in onCreateInternal()
189 mEnd.setSummaryFormat(summaryFormat); in updateEndSummary()
196 mEnd.setTime(mSchedule.endHour, mSchedule.endMinute); in updateControlsInternal()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java124 private long mEnd; field in EditEventFragment
195 mModel.mOriginalEnd = mEnd; in onQueryComplete()
198 mModel.mEnd = mEnd; in onQueryComplete()
464 mEnd = -1; in startQuery()
477 mEnd = mEvent.endTime.toMillis(true); in startQuery()
488 mEnd = mEventBundle.end; in startQuery()
503 if (mEnd < mBegin) { in startQuery()
505 mEnd = mHelper.constructDefaultEndTime(mBegin); in startQuery()
524 mModel.mOriginalEnd = mEnd; in startQuery()
526 mModel.mEnd = mEnd; in startQuery()
[all …]
DEditEventHelper.java636 long newEnd = model.mEnd; in checkTimeDependentFields()
912 long end = model.mEnd; in addRecurrenceRule()
1098 model.mEnd = cursor.getLong(EVENT_INDEX_DTEND); in setModelFromCursor()
1226 endTime.set(model.mEnd); in getContentValuesFromModel()
1373 model.mEnd = newEndTime; in offsetStartTimeIfNecessary()
DEditEventView.java739 mModel.mEnd = mModel.mStart + DateUtils.DAY_IN_MILLIS; in fillModelFromUI()
741 mModel.mEnd = normalizedEndTimeMillis; in fillModelFromUI()
747 mModel.mEnd = mEndTime.toMillis(true); in fillModelFromUI()
1073 long end = model.mEnd; in setModel()
DCreateEventDialogFragment.java209 mModel.mEnd = mDateInMillis + DateUtils.DAY_IN_MILLIS; in createAllDayEvent()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java243 public long mEnd = -1; field in CalendarEventModel
415 mEnd = -1; in clear()
490 result = prime * result + (int) (mEnd ^ (mEnd >>> 32)); in hashCode()
579 if (mEnd != other.mEnd) { in equals()
668 if (mEnd != mOriginalEnd) { in isUnchanged()
DDayView.java1788 private final Time mEnd; field in DayView.GotoBroadcaster
1793 mEnd = end; in GotoBroadcaster()
1804 mController.sendEvent(this, EventType.GO_TO, mStart, mEnd, null, -1, in onAnimationEnd()
/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/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java491 mModel1.mEnd = TEST_END; in testSaveEventRecurringToNonRecurring()
545 mModel2.mEnd = TEST_END; in testSaveEventNonRecurringToRecurring()
578 mModel2.mEnd = TEST_END2; in testSaveEventUpdateNonRecurring()
580 mModel1.mEnd = TEST_END2; in testSaveEventUpdateNonRecurring()
627 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifySingleInstance()
687 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifyAllFollowingWithNonRecurring()
745 mModel1.mEnd = TEST_END + dayInMs; in testSaveEventModifyAllFollowingFirstWithNonRecurring()
1248 mModel1.mEnd = 60001; in testAddRecurrenceRule()
1346 mModel2.mEnd = TEST_END; in testSetModelFromCursor()
1359 mModel2.mEnd = TEST_END; // Tuesday, May 4th, midnight in testSetModelFromCursor()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java66 private long mEnd; field in ChartNetworkSeriesView
152 mEnd = end; in setBounds()
203 final int end = mStats.getIndexAfter(mEnd); in generatePath()
311 final NetworkStatsHistory.Entry entry = mStats.getValues(mStart, mEnd, null); in getMaxVisible()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java37 assertEquals("show blue underline, span end", EXPECTED_SPAN_END, span.mEnd); in testBlueUnderline()
54 assertEquals("extend blue underline, span end", EXPECTED_SPAN_END, spanBefore.mEnd); in testBlueUnderlineDisappears()
89 EXPECTED_UNDERLINE_SPAN_END, underlineSpan.mEnd); in testBlueUnderlineOnBackspace()
DInputTestsBase.java89 final int mEnd; field in InputTestsBase.SpanGetter
101 mEnd = -1; in SpanGetter()
105 mEnd = mInputText.getSpanEnd(mSpan); in SpanGetter()
/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/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()
317 a.mEnd, actual.mEnd); in validateNotificationsAndReset()
331 + debugStr, a.mEnd, actual.mNw.get(i).mEnd); in validateNotificationsAndReset()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java474 private final int mEnd; field in ConversationViewAdapter.SuperCollapsedBlockItem
479 mEnd = end; in SuperCollapsedBlockItem()
528 return mEnd; in getEnd()
/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.java128 long mEnd; field in AlertService.NotificationWrapper
136 mEnd = endMillis; in NotificationWrapper()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java619 long mEnd; field in CalendarProvider2Test.InstanceInfo
629 mEnd = time.toMillis(false /* use isDst */); in InstanceInfo()
1611 cursor = queryInstances(instance.mBegin, instance.mEnd); in testInstanceRange()
1615 + " [begin,end]: [" + instance.mBegin + " " + instance.mEnd + "]" in testInstanceRange()