Home
last modified time | relevance | path

Searched refs:comparison (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAppItem.java67 int comparison = Integer.compare(category, another.category); in compareTo() local
68 if (comparison == 0) { in compareTo()
69 comparison = Long.compare(another.total, total); in compareTo()
71 return comparison; in compareTo()
/frameworks/base/libs/hwui/
DJankTracker.cpp235 for (auto& comparison : COMPARISONS) { in finishFrame() local
236 int64_t delta = frame.duration(comparison.start, comparison.end); in finishFrame()
237 if (delta >= mThresholds[comparison.type] && delta < IGNORE_EXCEEDING) { in finishFrame()
238 mData->reportJankType(comparison.type); in finishFrame()
239 (*mGlobalData)->reportJankType(comparison.type); in finishFrame()
274 for (auto& comparison : COMPARISONS) { in recomputeThresholds() local
275 mThresholds[comparison.type] = comparison.computeThreadshold(frameBudget); in recomputeThresholds()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java950 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0); in compareTo() local
951 if (comparison != 0) return comparison; in compareTo()
954 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo()
956 if (comparison != 0) return comparison; in compareTo()
959 comparison = (another.mJustDiscovered ? 1 : 0) - (mJustDiscovered ? 1 : 0); in compareTo()
960 if (comparison != 0) return comparison; in compareTo()
963 comparison = another.mRssi - mRssi; in compareTo()
964 if (comparison != 0) return comparison; in compareTo()
/frameworks/native/services/surfaceflinger/tests/unittests/
DStrongTypingTest.cpp25 TEST(StrongTypeTest, comparison) { in TEST() argument
/frameworks/rs/script_api/
Drs_graphics.spec96 Specifies conditional drawing depending on the comparison of the incoming
Drs_math.spec37 rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of
/frameworks/rs/script_api/include/
Drs_graphics.rsh115 * Specifies conditional drawing depending on the comparison of the incoming
Drs_math.rsh39 * rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of