Home
last modified time | relevance | path

Searched refs:negative (Results 1 – 23 of 23) sorted by relevance

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java511 int negative = truncatedWholePart.charAt(0) == '-' ? 1 : 0; in initPositions() local
540 + negative >= maxChars); in initPositions()
568 + negative >= maxChars); in initPositions()
666 boolean negative, int lastDisplayedOffset[], boolean forcePrecision, in formatResult() argument
668 final int minusSpace = negative ? 1 : 0; in formatResult()
672 if (truncated || (negative && result.charAt(0) != '-')) { in formatResult()
712 result = (negative ? "-" : "") + result.substring(msdIndex, msdIndex + 1) in formatResult()
819 final boolean negative[] = new boolean[1]; in getFormattedResult()
822 maxSize, truncated, negative, this); in getFormattedResult()
823 return formatResult(rawResult, requestedPrecOffset[0], maxSize, truncated[0], negative[0], in getFormattedResult()
DEvaluator.java860 final int negative = cache.charAt(0) == '-' ? 1 : 0; in getPreferredPrec() local
892 int result = msd - wholeSize + lineLength - negative - 1; in getPreferredPrec()
926 final int negative = cache.charAt(0) == '-' ? 1 : 0; in getShortString() local
927 final String negativeSign = negative == 1 ? "-" : ""; in getShortString()
942 if (lsdOffset < -1 && dotIndex - msdIndex + negative <= SHORT_TARGET_LENGTH in getShortString()
953 } else if (lsdOffset <= SHORT_TARGET_LENGTH - negative - 2 in getShortString()
967 final int totalDigits = lsdIndex - msdIndex + negative + 1; in getShortString()
979 if (dotIndex > msdIndex && dotIndex < msdIndex + SHORT_TARGET_LENGTH - negative - 1) { in getShortString()
982 + cache.substring(dotIndex, msdIndex + SHORT_TARGET_LENGTH - negative - 1) in getShortString()
987 + cache.substring(msdIndex + 1, msdIndex + SHORT_TARGET_LENGTH - negative - 4) in getShortString()
[all …]
DUnifiedReal.java378 boolean negative = false; in toStringTruncated()
383 negative = true; in toStringTruncated()
394 negative = true; in toStringTruncated()
405 return (negative ? "-" : "") + digits.substring(0, len - n) + "." in toStringTruncated()
DCalculatorExpr.java858 final boolean negative = isOperator(i, R.id.op_sub, ec); in evalSignedFactor()
859 int cpos = negative ? i + 1 : i; in evalSignedFactor()
862 final UnifiedReal result = negative ? tmp.val.negate() : tmp.val; in evalSignedFactor()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.java105 String getFormattedNumber(boolean negative, int value, int length) { in getFormattedNumber() argument
111 final int lengthCacheKey = negative ? -length : length; in getFormattedNumber()
121 final String sign = negative ? "−" : ""; in getFormattedNumber()
DUiDataModel.java152 public String getFormattedNumber(boolean negative, int value, int length) { in getFormattedNumber() argument
154 return mFormattedStringModel.getFormattedNumber(negative, value, length); in getFormattedNumber()
/packages/services/Telecomm/proto/
Dtelecom.proto98 // If the event is the first, this will be negative.
126 // If the event is the first, this will be negative.
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterNegative.java18 representation.setTextId(R.string.negative); in getDefaultRepresentation()
/packages/apps/Gallery2/jni/
DAndroid.mk38 filters/negative.c \
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dcs_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...