Home
last modified time | relevance | path

Searched refs:mStart (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java186 return mScrollerX.mStart; in getStartX()
195 return mScrollerY.mStart; in getStartY()
533 final int dx = mScrollerX.mFinal - mScrollerX.mStart; in isScrollingInDirection()
534 final int dy = mScrollerY.mFinal - mScrollerY.mStart; in isScrollingInDirection()
541 private int mStart; field in OverScroller.SplineOverScroller
653 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
685 mStart = start; in startScroll()
719 mStart = mFinal = start; in springback()
738 mStart = start; in startSpringback()
754 mCurrentPosition = mStart = start; in fling()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java151 return mScroller.mStart; in getStartPos()
387 private int mStart; field in OverScroller.SplineOverScroller
515 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
551 mCurrentPosition = mStart = start; in startScroll()
594 mSplineDistance = mFinal - mStart; in setFinalPosition()
608 mCurrentPosition = mStart = mFinal = start; in springback()
627 mCurrentPosition = mStart = start; in startSpringback()
643 mCurrentPosition = mStart = start; in fling()
663 adjustDuration(mStart, mFinal, min); in fling()
668 adjustDuration(mStart, mFinal, max); in fling()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java49 private long mStart; field in ChartDataUsagePreference
73 chart.configureGraph(toInt(mEnd - mStart), top); in onBindViewHolder()
76 Utils.formatDateRange(getContext(), mStart, mStart), in onBindViewHolder()
111 points.put(toInt(startTime - mStart) - 1, -1); in calcPoints()
113 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints()
114 points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION)); in calcPoints()
167 return mStart; in getInspectStart()
176 mStart = data.getStartTime(); in setNetworkCycleData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DChartDataUsagePreference.java49 private long mStart; field in ChartDataUsagePreference
73 chart.configureGraph(toInt(mEnd - mStart), top); in onBindViewHolder()
76 Utils.formatDateRange(getContext(), mStart, mStart), in onBindViewHolder()
111 points.put(toInt(startTime - mStart) - 1, -1); in calcPoints()
113 points.put(toInt(startTime - mStart + 1), (int) (totalData / RESOLUTION)); in calcPoints()
114 points.put(toInt(endTime - mStart), (int) (totalData / RESOLUTION)); in calcPoints()
167 return mStart; in getInspectStart()
176 mStart = data.getStartTime(); in setNetworkCycleData()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java151 public final int mStart; field in LevenshteinDistance.Token
156 mStart = start; in Token()
161 return mEnd - mStart; in length()
173 final int thisStart = mStart; in prefixOf()
174 final int thatStart = that.mStart; in prefixOf()
186 return mContainer[index + mStart]; in charAt()
190 return new String(mContainer, mStart + start, length()); in subSequence()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DHeaderTextSelectorTest.java64 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testSimpleFileName()
80 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testLotsOfPeriodsInFileName()
93 testSequence.subSequence(mTestSelector.mStart, mTestSelector.mStop); in testNoPeriodsInFileName()
118 private int mStart; field in HeaderTextSelectorTest.TestSelector
123 mStart = -1; in TestSelector()
130 mStart = start; in select()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleRuleSettings.java63 private TimePickerPreference mStart; field in ZenModeScheduleRuleSettings
96 mStart = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
97 mStart.setKey(KEY_START_TIME); in onCreateInternal()
98 mStart.setTitle(R.string.zen_mode_start_time); in onCreateInternal()
99 mStart.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
115 root.addPreference(mStart); in onCreateInternal()
116 mStart.setDependency(mDays.getKey()); in onCreateInternal()
191 mStart.setTime(mSchedule.startHour, mSchedule.startMinute); in updateControlsInternal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeScheduleRuleSettings.java63 private TimePickerPreference mStart; field in ZenModeScheduleRuleSettings
96 mStart = new TimePickerPreference(getPrefContext(), mgr); in onCreateInternal()
97 mStart.setKey(KEY_START_TIME); in onCreateInternal()
98 mStart.setTitle(R.string.zen_mode_start_time); in onCreateInternal()
99 mStart.setCallback(new TimePickerPreference.Callback() { in onCreateInternal()
115 root.addPreference(mStart); in onCreateInternal()
116 mStart.setDependency(mDays.getKey()); in onCreateInternal()
191 mStart.setTime(mSchedule.startHour, mSchedule.startMinute); in updateControlsInternal()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DLevenshteinFormatterTest.java340 private final int mStart; field in LevenshteinFormatterTest.SpanFormat
345 mStart = start; in SpanFormat()
351 String spannedText = spanned.subSequence(mStart, mEnd).toString(); in verify()
353 MockStyleSpan[] spans = spanned.getSpans(mStart, mEnd, MockStyleSpan.class); in verify()
355 assertEquals("Wrong style for '" + spannedText + "' at position " + mStart, in verify()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMultiValueUpdateListener.java41 prop.value = prop.mEnd * newPercent + prop.mStart * (1 - newPercent); in onAnimationUpdate()
52 private final float mStart; field in MultiValueUpdateListener.FloatProp
59 value = mStart = start; in FloatProp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBlueUnderlineTests.java36 assertEquals("show blue underline, span start", EXPECTED_SPAN_START, span.mStart); in testBlueUnderline()
53 assertEquals("extend blue underline, span start", EXPECTED_SPAN_START, spanBefore.mStart); in testBlueUnderlineDisappears()
87 EXPECTED_UNDERLINE_SPAN_START, underlineSpan.mStart); in testBlueUnderlineOnBackspace()
DInputTestsBase.java88 final int mStart; field in InputTestsBase.SpanGetter
100 mStart = -1; in SpanGetter()
104 mStart = mInputText.getSpanStart(mSpan); in SpanGetter()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java61 applySuggestedTextStyle(str, t.mStart + sourceLen, t.mEnd); in formatSuggestion()
62 applyQueryTextStyle(str, t.mStart, t.mStart + sourceLen); in formatSuggestion()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DContactsExecutors.java178 private final AtomicLong mStart = new AtomicLong(-1); field in ContactsExecutors.HandlerFuture
193 long start = mStart.get(); in getDelay()
220 if (!mStart.compareAndSet(-1, System.currentTimeMillis())) { in run()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java55 public final int mStart; field in SentenceLevelAdapter.SentenceWordItem
59 mStart = start; in SentenceWordItem()
191 offsets[i] = item.mStart;
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java281 private long mStart; field in SourceLatency.LiveSourceCheck.MyDataSetObserver
287 mStart = start; in MyDataSetObserver()
294 long elapsed = end - mStart; in onChanged()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java52 public long mStart; field in GlobalDismissManager.AlarmId
56 mStart = start; in AlarmId()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java325 private int mStart = 0; in setValues()
340 + displayNameField.substring(mStart, displayNameField.length()); in setValues()
363 mStart = start; in setValues()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java194 private final long mStart = SystemClock.elapsedRealtime(); field in ApfFilter.ReceiveThread
266 .setDurationMs(nowMs - mStart) in logStats()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java1516 private final Time mStart; field in DayView.GotoBroadcaster
1521 mStart = start; in GotoBroadcaster()
1533 mController.sendEvent(this, EventType.GO_TO, mStart, mEnd, null, -1, in onAnimationEnd()