Home
last modified time | relevance | path

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

123456

/aosp12/packages/apps/DeskClock/src/com/android/deskclock/uidata/
H A DFormattedStringModel.kt100 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 DUiDataModel.kt131 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 DProcFileReader.java205 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 DUtils.java72 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 DChronometer.java294 boolean negative = false; in updateText()
297 negative = true; in updateText()
300 if (negative) { in updateText()
H A DSlidingDrawer.java442 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 DNetworkRanker.java99 @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 Dmath.mk91 $(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 Dfloating_point.S351 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 Dinfo.txt3 Also tests a packed-switch with negative offset to its data.
/aosp12/frameworks/base/location/java/android/location/
H A DLocation.java255 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 DLRResolverRankerService.java106 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 DAutofillPickerFragment.java217 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 DImageFilterNegative.java18 representation.setTextId(R.string.negative); in getDefaultRepresentation()
/aosp12/art/libartbase/base/
H A Dbit_vector_test.cc307 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 Ddtx_dec.cpp871 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 DAndroid.bp50 "filters/negative.c",
/aosp12/frameworks/rs/script_api/
H A Drs_vector_math.spec162 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 Dtest_timestamps.cpp302 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 Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/aosp12/system/sepolicy/prebuilts/api/27.0/public/
H A Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/aosp12/system/sepolicy/prebuilts/api/29.0/public/
H A Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/aosp12/system/sepolicy/prebuilts/api/30.0/public/
H A Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/aosp12/system/sepolicy/prebuilts/api/31.0/public/
H A Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)
/aosp12/system/sepolicy/prebuilts/api/32.0/public/
H A Dtzdatacheck.te14 # have negative implications for users (who may get incorrect local times)

123456