Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java251 int diff2 = Math.abs(pssData.get(pssData.size() - 2) - pssData.get(pssData.size() - 3)); in stabilized() local
253 Log.i(TAG, "diff1=" + diff1 + " diff2=" + diff2); in stabilized()
255 return (diff1 + diff2) < THRESHOLD; in stabilized()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DTimeClustering.java289 long diff2 = Math.abs(timeCurr - timePrev); in getPartitionIndexForCurrentCluster() local
291 float change = Math.max(diff1 / (diff2 + 0.01f), diff2 / (diff1 + 0.01f)); in getPartitionIndexForCurrentCluster()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarCommandQueueCallbacks.java294 final int diff2 = state2 ^ old2; in disable() local
309 if ((diff2 & StatusBarManager.DISABLE2_QUICK_SETTINGS) != 0) { in disable()
313 if ((diff2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) != 0) { in disable()
/aosp12/frameworks/av/media/libstagefright/rtsp/
H A DARTPSource.cpp295 uint32_t diff2 = AbsDiff(seq2, mHighestSeqNumber); in queuePacket() local
298 if (diff1 < diff2) { in queuePacket()
306 } else if (diff2 < diff3) { in queuePacket()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DCollapsedStatusBarFragment.java293 final int diff2 = state2 ^ old2; in disable() local
296 if ((diff1 & DISABLE_SYSTEM_INFO) != 0 || ((diff2 & DISABLE2_SYSTEM_ICONS) != 0)) { in disable()
/aosp12/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp4463 sp<AMessage> diff2 = format->changesFrom(mOutputFormat); in handleOutputFormatChangeIfNeeded() local
4470 numEntries = diff2->countEntries(); in handleOutputFormatChangeIfNeeded()
4472 keys.emplace(diff2->getEntryNameAt(i, &type)); in handleOutputFormatChangeIfNeeded()