Home
last modified time | relevance | path

Searched refs:endPoint (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridAdapterTest.java127 int endPoint = 0; in updatePageScrollDestination_testLeftScrollDestinations() local
130 assertEquals(endPoint, mTestAppGridAdapter.getPageScrollDestination()); in updatePageScrollDestination_testLeftScrollDestinations()
134 endPoint = 0; in updatePageScrollDestination_testLeftScrollDestinations()
137 assertEquals(endPoint, mTestAppGridAdapter.getPageScrollDestination()); in updatePageScrollDestination_testLeftScrollDestinations()
141 endPoint = 15; in updatePageScrollDestination_testLeftScrollDestinations()
144 assertEquals(endPoint, mTestAppGridAdapter.getPageScrollDestination()); in updatePageScrollDestination_testLeftScrollDestinations()
162 int endPoint = 44; in updatePageScrollDestination_testRightScrollDestinations() local
165 assertEquals(endPoint, mTestAppGridAdapter.getPageScrollDestination()); in updatePageScrollDestination_testRightScrollDestinations()
169 endPoint = 29; in updatePageScrollDestination_testRightScrollDestinations()
172 assertEquals(endPoint, mTestAppGridAdapter.getPageScrollDestination()); in updatePageScrollDestination_testRightScrollDestinations()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DValueColumnAggregationData.java44 double getResultOnInterval(AggregationTimestamp startPoint, AggregationTimestamp endPoint) { in getResultOnInterval() argument
47 Math.min(getEndTime(), endPoint.getTime()) in getResultOnInterval()
58 && endPoint.getType() == AggregationTimestamp.INTERVAL_END) { in getResultOnInterval()
DPriorityRecordsAggregator.java246 AggregationTimestamp startPoint, AggregationTimestamp endPoint) { in updateAggregationResult() argument
255 + endPoint.getTime() in updateAggregationResult()
266 if (startPoint.getTime() == endPoint.getTime() in updateAggregationResult()
268 && endPoint.getType() == AggregationTimestamp.INTERVAL_END) { in updateAggregationResult()
284 + mOpenIntervals.last().getResultOnInterval(startPoint, endPoint)); in updateAggregationResult()
DSessionDurationAggregationData.java55 double getResultOnInterval(AggregationTimestamp startPoint, AggregationTimestamp endPoint) { in getResultOnInterval() argument
57 getStartTime(), startPoint.getTime(), getEndTime(), endPoint.getTime()) in getResultOnInterval()
58 - calculateDurationToExclude(startPoint.getTime(), endPoint.getTime()); in getResultOnInterval()
DAggregationRecordData.java122 AggregationTimestamp startPoint, AggregationTimestamp endPoint); in getResultOnInterval() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java902 int endPoint = startPoint + requestSize; in sendVcardListingXml() local
903 if (endPoint > nameList.size()) { in sendVcardListingXml()
904 endPoint = nameList.size(); in sendVcardListingXml()
913 for (int j = startPoint; j < endPoint; j++) { in sendVcardListingXml()
1524 int endPoint = startPoint + requestSize - 1; in pullPhonebook() local
1534 if (endPoint > lastIndex) { in pullPhonebook()
1535 endPoint = lastIndex; in pullPhonebook()
1554 + endPoint); in pullPhonebook()
1565 if (endPoint == 0) { in pullPhonebook()
1571 endPoint, in pullPhonebook()
[all …]
DBluetoothPbapVcardManager.java576 final int endPoint, in composeAndSendSelectedCallLogVcards() argument
585 if (startPoint < 1 || startPoint > endPoint) { in composeAndSendSelectedCallLogVcards()
615 if (startPoint == endPoint) { in composeAndSendSelectedCallLogVcards()
618 callsCursor.moveToPosition(endPoint - 1); in composeAndSendSelectedCallLogVcards()
638 if (startPoint == endPoint) { in composeAndSendSelectedCallLogVcards()
673 final int endPoint, in composeAndSendPhonebookVcards() argument
684 if (startPoint < 1 || startPoint > endPoint) { in composeAndSendPhonebookVcards()
715 ContactCursorFilter.filterByRange(contactCursor, startPoint, endPoint); in composeAndSendPhonebookVcards()
815 static Cursor filterByRange(Cursor contactCursor, int startPoint, int endPoint) { in filterByRange() argument
822 while (contactCursor.moveToNext() && currentOffset <= endPoint) { in filterByRange()
DBluetoothPbapSimVcardManager.java401 final int endPoint, in composeAndSendSIMPhonebookVcards() argument
404 if (startPoint < 1 || startPoint > endPoint) { in composeAndSendSIMPhonebookVcards()
423 for (int count = startPoint - 1; count < endPoint; count++) { in composeAndSendSIMPhonebookVcards()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapSimVcardManagerTest.java429 final int endPoint = 0; // Should be equal or greater than startPoint in testComposeAndSendSIMPhonebookVcards_whenEndPointIsLessThanStartpoint() local
436 endPoint, in testComposeAndSendSIMPhonebookVcards_whenEndPointIsLessThanStartpoint()
446 final int endPoint = 1; in testComposeAndSendSIMPhonebookVcards_whenCursorInitFailed() local
456 endPoint, in testComposeAndSendSIMPhonebookVcards_whenCursorInitFailed()
475 final int endPoint = 1; in testComposeAndSendSIMPhonebookVcards_success() local
483 endPoint, in testComposeAndSendSIMPhonebookVcards_success()
DBluetoothPbapVcardManagerNestedClassesTest.java227 int endPoint = 4; in ContactCursorFilter_filterByRange() local
229 ContactCursorFilter.filterByRange(contactCursor, startPoint, endPoint); in ContactCursorFilter_filterByRange()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLaunchedAppState.java156 final Point endPoint = new Point(displaySize.x / 4, displaySize.y / 4);
179 endPoint,
195 endPoint,
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessor.java1564 for (final AppUsageEndPoint endPoint : endPoints) { in getScreenOnTime()
1565 if (endPoint.getType() == AppUsageEndPointType.START) { in getScreenOnTime()
1567 startOfCurrentContiguousAppUsagePeriod = endPoint.getTimestamp(); in getScreenOnTime()
1572 (endPoint.getTimestamp() - startOfCurrentContiguousAppUsagePeriod); in getScreenOnTime()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...