Home
last modified time | relevance | path

Searched refs:MAX_VALUE (Results 1 – 25 of 260) sorted by relevance

1234567891011

/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java83 private int todayHeaderPosition = Integer.MAX_VALUE;
85 private int yesterdayHeaderPosition = Integer.MAX_VALUE;
87 private int olderHeaderPosition = Integer.MAX_VALUE;
89 private int voicemailAlertPosition = Integer.MAX_VALUE;
143 todayHeaderPosition = Integer.MAX_VALUE; in updateHeaderPositions()
144 yesterdayHeaderPosition = Integer.MAX_VALUE; in updateHeaderPositions()
145 olderHeaderPosition = Integer.MAX_VALUE; in updateHeaderPositions()
174 if (voicemailAlertPosition != Integer.MAX_VALUE) { in updateHeaderPositions()
182 todayHeaderPosition = numItemsInToday > 0 ? alertOffSet : Integer.MAX_VALUE; in updateHeaderPositions()
184 numItemsInYesterday > 0 ? numItemsInToday + alertOffSet : Integer.MAX_VALUE; in updateHeaderPositions()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java25 import static java.lang.Integer.MAX_VALUE;
42 private int mWidthConstraint = MAX_VALUE;
45 private int mHeightConstraint = MAX_VALUE;
56 int widthConstraint = MAX_VALUE; in onMeasure()
62 int heightConstraint = MAX_VALUE; in onMeasure()
93 if (text.length() > 0 && (mWidthConstraint < MAX_VALUE || mHeightConstraint < MAX_VALUE)) { in adjustTextSize()
DTextSizeHelper.kt37 private var mWidthConstraint = Int.MAX_VALUE
40 private var mHeightConstraint = Int.MAX_VALUE
46 var widthConstraint = Int.MAX_VALUE in onMeasure()
52 var heightConstraint = Int.MAX_VALUE in onMeasure()
84 (mWidthConstraint < Int.MAX_VALUE || mHeightConstraint < Int.MAX_VALUE)) { in adjustTextSize()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java361 || mScrollMax == Integer.MAX_VALUE) { in updateScrollMax()
369 mScrollMax = Integer.MAX_VALUE; in invalidateScrollMax()
370 mMaxEdge = Integer.MAX_VALUE; in invalidateScrollMax()
371 mTouchScrollMax = Integer.MAX_VALUE; in invalidateScrollMax()
423 mScrollMax = Integer.MAX_VALUE; in reset()
424 mMaxEdge = Integer.MAX_VALUE; in reset()
425 mTouchScrollMax = Integer.MAX_VALUE; in reset()
435 return mScrollMax == Integer.MAX_VALUE; in isMaxUnknown()
775 Integer.MAX_VALUE, in fling()
777 Integer.MAX_VALUE); in fling()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DNotificationModel.kt44 get() = Int.MAX_VALUE - 1
50 get() = Int.MAX_VALUE - 2
56 get() = Int.MAX_VALUE - 3
62 get() = Int.MAX_VALUE - 6
DNotificationModel.java53 return Integer.MAX_VALUE - 1; in getStopwatchNotificationId()
60 return Integer.MAX_VALUE - 2; in getUnexpiredTimerNotificationId()
67 return Integer.MAX_VALUE - 3; in getExpiredTimerNotificationId()
74 return Integer.MAX_VALUE - 6; in getMissedTimerNotificationId()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java263 int removedCol = Integer.MAX_VALUE;
264 int removedRow = Integer.MAX_VALUE;
271 float removeWt = Float.MAX_VALUE;
272 float moveWt = Float.MAX_VALUE;
376 col = mShouldRemoveX ? col : Integer.MAX_VALUE;
377 row = mShouldRemoveY ? row : Integer.MAX_VALUE;
416 float lowestWeightLoss = Float.MAX_VALUE;
417 float lowestMoveCost = Float.MAX_VALUE;
548 int newDistance = Integer.MAX_VALUE;
549 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE;
[all …]
/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java173 return loadBitmap(context, uriString, Integer.MAX_VALUE, Integer.MAX_VALUE, callback); in loadBitmap()
312 return (other.mMaxHeight != Integer.MAX_VALUE && mMaxHeight >= other.mMaxHeight * 2) in isReloadNeeded()
313 || (other.mMaxWidth != Integer.MAX_VALUE && mMaxWidth >= other.mMaxWidth * 2); in isReloadNeeded()
455 context, uriString, Integer.MAX_VALUE, Integer.MAX_VALUE); in getAspectRatioFromPosterArtUri()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DColorMatcher.java21 private static final int MAX_VALUE = 0xff; field in ColorMatcher
29 return Color.argb(MAX_VALUE, r, g, b); in findClosestColor()
34 return Math.min(MAX_VALUE, result); in bucketize()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java38 long mMaxBytesOverMobile = Long.MAX_VALUE;
39 long mRecommendedMaxBytesOverMobile = Long.MAX_VALUE;
51 mMaxBytesOverMobile = Long.MAX_VALUE; in setUp()
52 mRecommendedMaxBytesOverMobile = Long.MAX_VALUE; in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DCellInfoUtil.java146 Integer.MAX_VALUE /* lac */, in convertOperatorInfoToCellInfo()
147 Integer.MAX_VALUE /* cid */, in convertOperatorInfoToCellInfo()
148 Integer.MAX_VALUE /* arfcn */, in convertOperatorInfoToCellInfo()
149 Integer.MAX_VALUE /* bsic */, in convertOperatorInfoToCellInfo()
/packages/services/Telephony/src/com/android/phone/
DCellInfoUtil.java146 Integer.MAX_VALUE /* lac */, in convertOperatorInfoToCellInfo()
147 Integer.MAX_VALUE /* cid */, in convertOperatorInfoToCellInfo()
148 Integer.MAX_VALUE /* arfcn */, in convertOperatorInfoToCellInfo()
149 Integer.MAX_VALUE /* bsic */, in convertOperatorInfoToCellInfo()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DCellInfoUtil.java147 Integer.MAX_VALUE /* lac */, in convertOperatorInfoToCellInfo()
148 Integer.MAX_VALUE /* cid */, in convertOperatorInfoToCellInfo()
149 Integer.MAX_VALUE /* arfcn */, in convertOperatorInfoToCellInfo()
150 Integer.MAX_VALUE /* bsic */, in convertOperatorInfoToCellInfo()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java234 private int mTouchBoxIndex = Integer.MAX_VALUE;
241 private int mUndoIndexHint = Integer.MAX_VALUE;
408 if (mTouchBoxIndex != Integer.MAX_VALUE) { in notifyDataChange()
410 mTouchBoxIndex = Integer.MAX_VALUE; in notifyDataChange()
420 if (mUndoIndexHint != Integer.MAX_VALUE) { in notifyDataChange()
1048 if (mTouchBoxIndex == Integer.MAX_VALUE) return true; in onScroll()
1102 if (!mFilmMode || mTouchBoxIndex == Integer.MAX_VALUE in flingImages()
1123 mTouchBoxIndex = Integer.MAX_VALUE; in flingImages()
1261 mTouchBoxIndex = Integer.MAX_VALUE;
1267 mTouchBoxIndex = Integer.MAX_VALUE;
[all …]
DPositionController.java705 Integer.MIN_VALUE, Integer.MAX_VALUE, 0, 0); in flingFilmX()
759 return Integer.MAX_VALUE; in hitTest()
989 if (j == Integer.MAX_VALUE) { in debugMoveBox()
1045 if (j == Integer.MAX_VALUE) continue; in moveBox()
1053 if (j == Integer.MAX_VALUE) continue; in moveBox()
1055 if (k == Integer.MAX_VALUE) continue; in moveBox()
1079 if (from.get(first) != Integer.MAX_VALUE) break; in moveBox()
1082 if (from.get(last) != Integer.MAX_VALUE) break; in moveBox()
1097 if (from.get(i) != Integer.MAX_VALUE) continue; in moveBox()
1113 if (from.get(i) != Integer.MAX_VALUE) continue; in moveBox()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentsAdapter.java49 public static final int ITEM_TYPE_SECTION_BREAK = Integer.MAX_VALUE;
50 public static final int ITEM_TYPE_HEADER_MESSAGE = Integer.MAX_VALUE - 1;
51 public static final int ITEM_TYPE_INFLATED_MESSAGE = Integer.MAX_VALUE - 2;
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacPolicy.java39 mMaxHardwareFanSpeed = Integer.MAX_VALUE; in HvacPolicy()
52 mMaxHardwareTemp = Float.MAX_VALUE; in HvacPolicy()
53 mMinHardwareTemp = -Float.MAX_VALUE; in HvacPolicy()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java60 final long millisRemaining = secondsRemaining <= Long.MAX_VALUE / 1000 in fromJson()
62 : Long.MAX_VALUE; in fromJson()
64 refreshTimeMs + Math.min(Long.MAX_VALUE - refreshTimeMs, millisRemaining); in fromJson()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSecureAlbum.java37 private int mMinImageId = Integer.MAX_VALUE; // the smallest id of images
39 private int mMinVideoId = Integer.MAX_VALUE; // the smallest id of videos
135 if (minId == Integer.MAX_VALUE || maxId == Integer.MIN_VALUE) return ids; in queryExistingIds()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeSliderController.java28 public static final int MAX_VALUE = 9; field in FakeSliderController
48 return MAX_VALUE; in getMax()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java194 final int position = FakeSliderController.MAX_VALUE - 1; in onReceive_sliderChanged()
195 final int oldPosition = FakeSliderController.MAX_VALUE; in onReceive_sliderChanged()
313 final int position = FakeSliderController.MAX_VALUE - 1; in sliderUpdate_unavailableUriNotified()
314 final int oldPosition = FakeSliderController.MAX_VALUE; in sliderUpdate_unavailableUriNotified()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DPreferenceImageView.java51 if (maxWidth != Integer.MAX_VALUE in onMeasure()
61 if (maxHeight != Integer.MAX_VALUE in onMeasure()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/
DExecutors.java74 return new UniqueExecutor(0, Integer.MAX_VALUE, 60, TimeUnit.SECONDS, in newCachedUniqueThreadPool()
80 return new UniqueExecutor(0, Integer.MAX_VALUE, 60, TimeUnit.SECONDS, in newCachedUniqueThreadPool()
/packages/modules/ExtServices/src/android/ext/services/autofill/
DEditDistanceScorer.java66 return editDistance(s, t, Integer.MAX_VALUE); in editDistance()
94 return Integer.MAX_VALUE; in editDistance()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java58 if (mRssi == Integer.MAX_VALUE) { in onBindViewHolder()
88 if (mRssi == Integer.MAX_VALUE) { in getLevel()

1234567891011