Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java269 int negative = truncatedWholePart.charAt(0) == '-' ? 1 : 0; in initPositions() local
300 mScrollable = (mMaxCharOffset + currentExpLen - minCharOffset + negative >= maxChars); in initPositions()
370 boolean negative, int lastDisplayedOffset[], boolean forcePrecision) { in formatResult() argument
371 final int minusSpace = negative ? 1 : 0; in formatResult()
374 if (truncated || (negative && result.charAt(0) != '-')) { in formatResult()
400 result = (negative ? "-" : "") + result.substring(msdIndex, msdIndex + 1) in formatResult()
455 final boolean negative[] = new boolean[1]; in getFormattedResult()
458 maxSize, truncated, negative); in getFormattedResult()
459 return formatResult(rawResult, requestedPrecOffset[0], maxSize, truncated[0], negative[0], in getFormattedResult()
DEvaluator.java581 final int negative = cache.charAt(0) == '-' ? 1 : 0; in getPreferredPrec() local
611 return msd - wholeSize + lineLength - negative - 1; in getPreferredPrec()
636 final int negative = cache.charAt(0) == '-' ? 1 : 0; in getShortString() local
637 final String negativeSign = negative == 1 ? "-" : ""; in getShortString()
652 if (lsdOffset < -1 && dotIndex - msdIndex + negative <= SHORT_TARGET_LENGTH in getShortString()
663 } else if (lsdOffset <= SHORT_TARGET_LENGTH - negative - 2 in getShortString()
677 final int totalDigits = lsdIndex - msdIndex + negative + 1; in getShortString()
688 if (dotIndex > msdIndex && dotIndex < msdIndex + SHORT_TARGET_LENGTH - negative - 1) { in getShortString()
690 msdIndex + SHORT_TARGET_LENGTH - negative - 1) + KeyMaps.ELLIPSIS; in getShortString()
694 + cache.substring(msdIndex + 1, msdIndex + SHORT_TARGET_LENGTH - negative - 4) in getShortString()
[all …]
DCalculatorExpr.java974 final boolean negative = isOperator(i, R.id.op_sub, ec); in evalSignedFactor()
975 int cpos = negative ? i + 1 : i; in evalSignedFactor()
978 CR crVal = negative ? tmp.val.negate() : tmp.val; in evalSignedFactor()
979 BoundedRational ratVal = negative ? BoundedRational.negate(tmp.ratVal) in evalSignedFactor()
/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_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...