Searched refs:mStartIndex (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Car/Media/src/com/android/car/media/ |
D | UxrPivotFilterImpl.java | 94 mRange.mStartIndex = 0; in recompute() 99 mRange.mStartIndex = 0; in recompute() 107 mRange.mStartIndex = 0; in recompute() 116 mRange.mStartIndex = mRange.mEndIndex - mMaxItems; in recompute() 121 mRange.mStartIndex = mPivotIndex - mMaxItemsDiv2; in recompute() 190 if (mSavedRange.mStartIndex > mRange.mStartIndex) { in updatePivotIndex() 191 int insertPos = mSavedRange.indexToPosition(mSavedRange.mStartIndex); in updatePivotIndex() 192 int insertCount = mSavedRange.mStartIndex - mRange.mStartIndex; in updatePivotIndex() 195 if (mSavedRange.mStartIndex < mRange.mStartIndex) { in updatePivotIndex() 196 int delPos = mSavedRange.indexToPosition(mSavedRange.mStartIndex); in updatePivotIndex() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | RangeFilterImpl.java | 92 mAdapter.notifyItemRangeRemoved(0, mRange.mStartIndex); in applyFilter() 108 mAdapter.notifyItemRangeInserted(1, mRange.mStartIndex); in removeFilter() 128 mRange.mStartIndex = 0; in recompute() 133 mRange.mStartIndex = 0; in recompute() 141 mRange.mStartIndex = 0; in recompute() 150 mRange.mStartIndex = mRange.mEndIndex - mMaxItems; in recompute() 155 mRange.mStartIndex = mPivotIndex - mMaxItemsFirstHalf; in recompute() 170 if ((mRange.mStartIndex <= index) && (index < mRange.mEndIndex)) { in indexToPosition() 193 int mStartIndex; field in RangeFilterImpl.ListRange 213 mStartIndex = range.mStartIndex; in copyFrom() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | RangeFilterImplTest.java | 86 assertThat(range.mStartIndex).isEqualTo(10); in testRecompute_pivotPointInTheSecondHalf_clampsHeadOnly() 88 assertThat(range.mEndIndex - range.mStartIndex).isEqualTo(20); in testRecompute_pivotPointInTheSecondHalf_clampsHeadOnly() 114 assertThat(range.mStartIndex).isEqualTo(0); in testRecompute_pivotPointInTheFirstHalf_clampsTailOnly() 116 assertThat(range.mEndIndex - range.mStartIndex).isEqualTo(20); in testRecompute_pivotPointInTheFirstHalf_clampsTailOnly() 154 assertThat(range.mStartIndex).isEqualTo(pivotPoint - firstHalfCount); in verifyClampedBothEnds() 156 assertThat(range.mEndIndex - range.mStartIndex).isEqualTo(maxItemCount); in verifyClampedBothEnds() 162 .isEqualTo(range.mStartIndex); in verifyClampedBothEnds() 169 assertThat(rangeFilter.indexToPosition(range.mStartIndex)) in verifyClampedBothEnds() 180 assertThat(range.mStartIndex).isEqualTo(0); in verifyNoClamps() 182 assertThat(range.mEndIndex - range.mStartIndex).isEqualTo(unrestrictedCount); in verifyNoClamps()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlotView.java | 73 private int mStartIndex = INDEX_NONE; field in SlotView 708 mStartIndex = index; in setStartIndex() 716 if (mStartIndex != INDEX_NONE) { in setSlotCount() 717 setCenterIndex(mStartIndex); in setSlotCount() 718 mStartIndex = INDEX_NONE; in setSlotCount()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 82 mStartIndex(startIndex), in DurationMetricProducer() 212 trackerToMetricMap, mStartIndex)) { in onConfigUpdatedLocked() 259 handleMatchedLogEventValuesLocked(mStartIndex, internalDimKey.getValues(), startTimeNs); in initTrueDimensions()
|
D | DurationMetricProducer.h | 148 int mStartIndex; variable
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 420 private final int mStartIndex; field in IpServer.DhcpServerCallbacksImpl 423 mStartIndex = startIndex; in DhcpServerCallbacksImpl() 430 if (mStartIndex != mDhcpServerStartIndex) { in onDhcpServerCreated()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 2628 EXPECT_EQ(durationProducer1->mStartIndex, matcher3Index); in TEST_F() 2640 EXPECT_EQ(durationProducer2->mStartIndex, matcher1Index); in TEST_F() 2648 EXPECT_EQ(durationProducer3->mStartIndex, matcher7Index); in TEST_F() 2656 EXPECT_EQ(durationProducer4->mStartIndex, matcher7Index); in TEST_F() 2665 EXPECT_EQ(durationProducer6->mStartIndex, matcher6Index); in TEST_F()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 610 private final int mStartIndex; field in WifiP2pServiceImpl.IpClientCallbacksImpl 614 mStartIndex = startIndex; in IpClientCallbacksImpl() 621 if (mIpClientStartIndex != mStartIndex) { in onIpClientCreated()
|