Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 16 of 16) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSensorTest.java86 float[] diff = new float[3];
89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
90 if (Math.abs(diff[i]) > 0) {
101 event.values[2] + ")" + " diff(" + diff[0] +
102 " " + diff[1] + " " + diff[2] + ")");
109 float x = diff[0];
110 float y = diff[1];
/development/vndk/tools/header-checker/header-abi-diff/src/
Dabi_diff_wrappers.cpp169 ElementDiff *diff = dst->Add(); in GetElementDiffs() local
172 if (!diff || !(old_elementp = diff->mutable_old()) || in GetElementDiffs()
173 !(new_elementp = diff->mutable_new_())) { in GetElementDiffs()
179 diff->set_index(i); in GetElementDiffs()
201 ElementDiff *diff = dst->Add(); in GetExtraElementDiffs() local
203 if (!diff || !(old_elementp = diff->mutable_old())) { in GetExtraElementDiffs()
208 diff->set_index(i); in GetExtraElementDiffs()
213 ElementDiff *diff = dst->Add(); in GetExtraElementDiffs() local
215 if (!diff || !(new_elementp = diff->mutable_new_())) { in GetExtraElementDiffs()
220 diff->set_index(j); in GetExtraElementDiffs()
/development/tools/etc1tool/
Detc1tool.cpp378 int diff = *pSrc++ - *pDest; in encode() local
379 diff *= diff; in encode()
380 diff <<= 3; in encode()
381 if (diff < 0) { in encode()
382 diff = 0; in encode()
383 } else if (diff > 255) { in encode()
384 diff = 255; in encode()
386 *pDest++ = (png_byte) diff; in encode()
/development/vndk/tools/header-checker/
DAndroid.bp184 name: "header-abi-diff",
192 "header-abi-diff/src/*.cpp",
216 name: "merge-abi-diff",
224 "merge-abi-diff/src/*.cpp",
DREADME.md22 `header-abi-diff` is a tool which compares two header abi dumps produced by
32 header-abi-diff -old <old-abi-dump> -new <new-abi-dump> -o <report>
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetFrameRateEvent.java132 long diff = mEndTime - mStartTime; in injectEvent() local
133 mDuration = (float)(diff/1000.0); in injectEvent()
DMonkeyGetAppFrameRateEvent.java145 long diff = sEndTime - sStartTime; in injectEvent() local
146 sDuration = (float) (diff / 1000.0); in injectEvent()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameActivity.java95 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
97 if (!mPaused && (diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0 in onSystemUiVisibilityChange()
DVideoPlayerActivity.java117 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
119 if ((diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0 in onSystemUiVisibilityChange()
DContentBrowserActivity.java103 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
105 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
DContentBrowserNavActivity.java104 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
106 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
/development/ndk/tools/
Dheaders-diff-bionic-vs-ndk.py196 diff = self.diffs[arch][root][include]
197 diff_fd.write(diff)
243 app.diff_file = args.diff[0]
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java480 float diff = i > index ? -yTranslateBottom : yTranslateTop;
481 animations.add(getAnimation(v, diff, diff));
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/tools/checkcolor/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...