Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 7 of 7) sorted by relevance

/development/tools/repo_diff/service/repodiff/interactors/
Dstrings_test.go17 s2 := []string{
29 diff := DistinctValues(s1, s2)
35 var s2 []string
37 diff := DistinctValues(s1, s2)
43 s2 := []string{
51 diff := DistinctValues(s1, s2)
61 s2 := []string{
69 diff := SetSubtract(s1, s2)
79 s2 := []string{
90 union := SetUnion(s1, s2)
Dstrings.go72 func discardKeysFromOther(s1, s2 simpleSet) {
74 if _, exists := s2[k]; exists {
75 s2[k] = false
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSpinner1.java61 Spinner s2 = (Spinner) findViewById(R.id.spinner2); in onCreate() local
65 s2.setAdapter(adapter); in onCreate()
66 s2.setOnItemSelectedListener( in onCreate()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutListFragment.java176 (ShortcutInfo s1, ShortcutInfo s2) -> {
178 ret = getAppLabel(s1.getPackage()).compareTo(getAppLabel(s2.getPackage()));
181 ret = s1.getUserHandle().hashCode() - s2.getUserHandle().hashCode();
184 ret = s1.getId().compareTo(s2.getId());
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationCloning.java97 AnimatorSet s2 = (AnimatorSet) s1.clone(); in createAnimation() local
98 s2.setTarget(balls.get(3)); in createAnimation()
102 animation.playSequentially(s1, s2); in createAnimation()
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublisher.java135 (ShortcutInfo s1, ShortcutInfo s2) -> {
137 ret = (s1.isDeclaredInManifest() ? 0 : 1) - (s2.isDeclaredInManifest() ? 0 : 1);
140 ret = (s1.isDynamic() ? 0 : 1) - (s2.isDynamic() ? 0 : 1);
143 ret = s1.getId().compareTo(s2.getId());
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/
DGenericAccountService.java88 String s, String s2, String[] strings, Bundle bundle) in addAccount() argument