Home
last modified time | relevance | path

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

/development/tools/repo_diff/service/repodiff/interactors/
Dstrings_test.go29 diff := DistinctValues(s1, s2)
30 assert.Equal(t, expectedDiff, diff, "Output differential of s1 and s2")
37 diff := DistinctValues(s1, s2)
38 assert.Equal(t, 0, len(diff), "Output differential of s1 and s2")
51 diff := DistinctValues(s1, s2)
52 assert.Equal(t, expectedDiff, diff, "Output differential of s1 and s2")
69 diff := SetSubtract(s1, s2)
70 assert.Equal(t, expected, diff, "Discard of s2 from s1")
/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/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.bp117 name: "header-abi-diff",
125 "src/diff/abi_diff.cpp",
126 "src/diff/abi_diff_wrappers.cpp",
127 "src/diff/header_abi_diff.cpp",
132 name: "merge-abi-diff",
DREADME.md7 [header-abi-diff](#Header-ABI-Diff). The first two commands generate ABI dumps
60 `header-abi-diff` compares two header ABI dumps produced by
67 header-abi-diff -old <old-abi-dump> -new <new-abi-dump> -o <report>
70 For more command line options, run `header-abi-diff --help`.
/development/tools/repo_diff/
Drepo_diff_android.py138 def diff(manifest_url, manifest_branch, tag, function
181 repo_diff_trees.diff(
193 diff(args.manifest_url,
Drepo_diff_trees.py470 def diff(upstream_source_tree, downstream_source_tree, project_output_file, function
522 diff(upstream_source_tree, downstream_source_tree, project_output_file,
/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()
DContentBrowserNavActivity.java104 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
106 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
DContentBrowserActivity.java103 int diff = mLastSystemUiVis ^ visibility; in onSystemUiVisibilityChange() local
105 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0 in onSystemUiVisibilityChange()
/development/vndk/tools/header-checker/src/diff/
Dabi_diff_wrappers.h23 namespace diff {
Dabi_diff_wrappers.cpp23 namespace diff { namespace
Dabi_diff.h26 namespace diff {
Dheader_abi_diff.cpp29 using header_checker::diff::HeaderAbiDiff;
Dabi_diff.cpp29 namespace diff { namespace
/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/tools/repo_diff/service/repodiff/
DREADME.md63 [--execute-diff=false][--denormalize-data=false][--generate-report=false]`
/development/tools/winscope/
Dyarn.lock155 arr-diff@^2.0.0:
157 …resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256a…
2580 arr-diff "^2.0.0"