Home
last modified time | relevance | path

Searched refs:difference (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DAnglesClassifier.java148 float difference = angle - mPreviousAngle; in addPoint() local
161 mSecondSum += difference; in addPoint()
162 mSecondSumSquares += difference * difference; in addPoint()
166 mSum += difference; in addPoint()
167 mSumSquares += difference * difference; in addPoint()
DSpeedAnglesClassifier.java134 float difference = angle - mPreviousAngle; in addPoint() local
135 mSum += difference; in addPoint()
136 mSumSquares += difference * difference; in addPoint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java235 int difference = Math.abs(ownIndex - changingIndex); in calculateChildAnimationDelay() local
236 difference = Math.max(0, Math.min(DELAY_EFFECT_MAX_INDEX_DIFFERENCE, in calculateChildAnimationDelay()
237 difference - 1)); in calculateChildAnimationDelay()
238 long delay = (DELAY_EFFECT_MAX_INDEX_DIFFERENCE - difference) * delayPerElement; in calculateChildAnimationDelay()
262 int difference = Math.abs(ownIndex - nextIndex); in calculateChildAnimationDelay() local
263 difference = Math.max(0, Math.min(DELAY_EFFECT_MAX_INDEX_DIFFERENCE, in calculateChildAnimationDelay()
264 difference - 1)); in calculateChildAnimationDelay()
265 long delay = difference * delayPerElement; in calculateChildAnimationDelay()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java260 int[] difference = new int[a.length]; in cpuTimeDiff() local
262 difference[i] = a[i] - b[i]; in cpuTimeDiff()
264 return difference; in cpuTimeDiff()
/frameworks/native/libs/ui/include/ui/
DBufferHubDefs.h120 uint32_t difference = incremented ^ lowUnion; in findNextAvailableClientStateMask() local
121 uint32_t newLowBit = (difference + 1U) >> 1; in findNextAvailableClientStateMask()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_agree.rscript81 rsDebug("ULP difference", dist);
97 rsDebug("ULP difference .x", dist.x);
98 rsDebug("ULP difference .y", dist.y);
119 rsDebug("ULP difference .x", dist.x);
120 rsDebug("ULP difference .y", dist.y);
121 rsDebug("ULP difference .z", dist.z);
147 rsDebug("ULP difference .x", dist.x);
148 rsDebug("ULP difference .y", dist.y);
149 rsDebug("ULP difference .z", dist.z);
150 rsDebug("ULP difference .w", dist.w);
Dshared.rsh104 /* Calculate the difference in ULPs between the two values. (Return zero on
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath_agree.rscript65 rsDebug("ULP difference", dist);
81 rsDebug("ULP difference .x", dist.x);
82 rsDebug("ULP difference .y", dist.y);
103 rsDebug("ULP difference .x", dist.x);
104 rsDebug("ULP difference .y", dist.y);
105 rsDebug("ULP difference .z", dist.z);
131 rsDebug("ULP difference .x", dist.x);
132 rsDebug("ULP difference .y", dist.y);
133 rsDebug("ULP difference .z", dist.z);
134 rsDebug("ULP difference .w", dist.w);
Dshared.rsh85 /* Calculate the difference in ULPs between the two values. (Return zero on
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath_agree.rscript83 rsDebug("ULP difference", dist);
99 rsDebug("ULP difference .x", dist.x);
100 rsDebug("ULP difference .y", dist.y);
121 rsDebug("ULP difference .x", dist.x);
122 rsDebug("ULP difference .y", dist.y);
123 rsDebug("ULP difference .z", dist.z);
149 rsDebug("ULP difference .x", dist.x);
150 rsDebug("ULP difference .y", dist.y);
151 rsDebug("ULP difference .z", dist.z);
152 rsDebug("ULP difference .w", dist.w);
Dshared.rsh106 /* Calculate the difference in ULPs between the two values. (Return zero on
/frameworks/base/core/java/android/widget/
DTableLayout.java517 final int difference = newLength - length; in findLargestCells() local
520 if (difference > 0) { in findLargestCells()
526 mMaxWidths, oldMaxWidths.length, difference); in findLargestCells()
/frameworks/opt/setupwizard/library/
Dbuild.gradle7 * Build the file with local dependencies. The difference between this and standalone.gradle is that
/frameworks/base/core/java/android/gesture/
DGestureUtils.java411 float difference = vector1[i] - vector2[i]; in squaredEuclideanDistance() local
412 squaredDistance += difference * difference; in squaredEuclideanDistance()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp101 BitSet32 difference(pointers.value ^ otherPointers.value); in getChangingPointerId() local
102 uint32_t pointerId = difference.clearFirstMarkedBit(); in getChangingPointerId()
103 EXPECT_EQ(0U, difference.value) << "Only 1 pointer can enter or leave at a time"; in getChangingPointerId()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette_f.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dcamera_response_fast.rsh13 // The difference here is that we use a normalized model such
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java451 int difference = WifiManager.calculateSignalLevel(other.mRssi, SIGNAL_LEVELS) in compareTo() local
453 if (difference != 0) { in compareTo()
454 return difference; in compareTo()
458 difference = getTitle().compareToIgnoreCase(other.getTitle()); in compareTo()
459 if (difference != 0) { in compareTo()
460 return difference; in compareTo()

12