/aosp12/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
H A D | FormattedStringModel.kt | 100 fun getFormattedNumber(negative: Boolean, value: Int, length: Int): String { 104 val lengthCacheKey = if (negative) -length else length 114 val sign = if (negative) "−" else ""
|
H A D | UiDataModel.kt | 131 fun getFormattedNumber(negative: Boolean, value: Int, length: Int): String { 133 return mFormattedStringModel.getFormattedNumber(negative, value, length)
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 205 final boolean negative = mBuffer[0] == '-'; in parseAndConsumeLong() 209 for (int i = negative ? 1 : 0; i < tokenIndex; i++) { in parseAndConsumeLong() 229 return negative ? result : -result; in parseAndConsumeLong()
|
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
H A D | Utils.java | 72 boolean negative = false; in toUtcOffsetString() 74 negative = true; in toUtcOffsetString() 80 return (negative ? "-" : "") + formatter.format(hours) + ":" + formatter.format(minutes); in toUtcOffsetString()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 294 boolean negative = false; in updateText() 297 negative = true; in updateText() 300 if (negative) { in updateText()
|
H A D | SlidingDrawer.java | 442 boolean negative; in onTouchEvent() 446 negative = yVelocity < 0; in onTouchEvent() 454 negative = xVelocity < 0; in onTouchEvent() 464 if (negative) { in onTouchEvent()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | NetworkRanker.java | 99 @NonNull final List<T> positive, @NonNull final List<T> negative) { in partitionInto() argument 101 negative.clear(); in partitionInto() 106 negative.add(item); in partitionInto()
|
/aosp12/build/make/common/ |
H A D | math.mk | 91 $(if $(call math_is_number,$(1)),,$(call math-error,Only non-negative integers <= 100 are supported… 97 $(call math-expect-error,(call _math_check_valid,-1),Only non-negative integers <= 100 are supporte… 98 $(call math-expect-error,(call _math_check_valid,101),Only non-negative integers <= 100 are support… 114 $(call math-expect-error,(call int_range_list,1,101),Only non-negative integers <= 100 are supporte…
|
/aosp12/art/runtime/interpreter/mterp/arm/ |
H A D | floating_point.S | 351 adc r1, r1, #0 @ convert maxlong to minlong if exp negative 391 adc r1, r1, #0 @ convert maxlong to minlong if exp negative
|
/aosp12/art/test/472-unreachable-if-regression/ |
H A D | info.txt | 3 Also tests a packed-switch with negative offset to its data.
|
/aosp12/frameworks/base/location/java/android/location/ |
H A D | Location.java | 255 boolean negative = false; in convert() 258 negative = true; in convert() 271 return negative ? -val : val; in convert() 289 boolean isNegative180 = negative && (deg == 180) && in convert() 311 return negative ? -val : val; in convert()
|
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/resolver/ |
H A D | LRResolverRankerService.java | 106 final ArrayMap<String, Float> negative = getFeatures(targets.get(i)); in onTrainRankingModel() local 109 update(negative, negativeProbability, false); in onTrainRankingModel()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/ |
H A D | AutofillPickerFragment.java | 217 final Button negative = dialog.getButton(AlertDialog.BUTTON_NEGATIVE); in displayAlert() 218 negative.requestFocus(); in displayAlert()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterNegative.java | 18 representation.setTextId(R.string.negative); in getDefaultRepresentation()
|
/aosp12/art/libartbase/base/ |
H A D | bit_vector_test.cc | 307 for (int32_t negative : in TEST() local 309 EXPECT_TRUE(negative == -4 || negative == -8); in TEST()
|
/aosp12/frameworks/av/media/codecs/amrnb/dec/src/ |
H A D | dtx_dec.cpp | 871 Flag negative; in dtx_dec() local 1004 negative = 1; in dtx_dec() 1008 negative = 0; in dtx_dec() 1025 if (negative != 0) in dtx_dec()
|
/aosp12/packages/apps/Gallery2/jni/ |
H A D | Android.bp | 50 "filters/negative.c",
|
/aosp12/frameworks/rs/script_api/ |
H A D | rs_vector_math.spec | 162 For vectors of size 1, returns -1.f for negative values, 0.f for null values, and 1.f for 285 For vectors of size 1, returns -1.f for negative values, 0.f for null values, and 1.f for
|
/aosp12/frameworks/av/media/libaaudio/tests/ |
H A D | test_timestamps.cpp | 302 bool negative = timestamp->timestampPosition < 0; in testTimeStamps() local 305 const char *message = negative ? " <=NEGATIVE!" in testTimeStamps()
|
/aosp12/system/sepolicy/prebuilts/api/28.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|
/aosp12/system/sepolicy/prebuilts/api/27.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|
/aosp12/system/sepolicy/prebuilts/api/29.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|
/aosp12/system/sepolicy/prebuilts/api/30.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|
/aosp12/system/sepolicy/prebuilts/api/31.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|
/aosp12/system/sepolicy/prebuilts/api/32.0/public/ |
H A D | tzdatacheck.te | 14 # have negative implications for users (who may get incorrect local times)
|