Home
last modified time | relevance | path

Searched refs:isNegative (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DTimerTextController.java37 boolean isNegative = false; in setTimeString()
40 isNegative = true; in setTimeString()
53 if (!isNegative && remainder != 0) { in setTimeString()
66 if (isNegative && !(hours == 0 && minutes == 0 && seconds == 0)) { in setTimeString()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java46 boolean isNegative(float displacement) {
72 boolean isNegative(float displacement) {
139 return (mScrollDirections & DIRECTION_NEGATIVE) > 0 && mDir.isNegative(displacement); in canScrollNegative()
181 abstract boolean isNegative(float displacement); in isNegative() method in SingleAxisSwipeDetector.Direction
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DFileSizeFormatter.java81 boolean isNegative = (sizeBytes < 0); in formatBytes()
82 float result = isNegative ? -sizeBytes : sizeBytes; in formatBytes()
103 if (isNegative) { in formatBytes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DFileSizeFormatter.java81 final boolean isNegative = (sizeBytes < 0); in formatBytes()
82 float result = isNegative ? -sizeBytes : sizeBytes; in formatBytes()
103 if (isNegative) { in formatBytes()
/packages/apps/Settings/src/com/android/settings/utils/
DFileSizeFormatter.java81 final boolean isNegative = (sizeBytes < 0); in formatBytes()
82 float result = isNegative ? -sizeBytes : sizeBytes; in formatBytes()
103 if (isNegative) { in formatBytes()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp223 bool isNegative = false; in readIntAttributeValueInner() local
226 isNegative = true; in readIntAttributeValueInner()
236 return isNegative ? -value : value; in readIntAttributeValueInner()