Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java104 List<Cat> cats = prefs.getCats(); in triggerFoodResponse() local
113 if (cats.size() == 0 || rng.nextFloat() <= new_cat_prob) { in triggerFoodResponse()
140 final List<Cat> cats = prefs.getCats(); in getExistingCat() local
141 if (cats.size() == 0) return null; in getExistingCat()
142 return cats.get(new Random().nextInt(cats.size())); in getExistingCat()
DNekoLand.java105 Cat[] cats; in updateCats() local
107 cats = new Cat[50]; in updateCats()
108 for (int i = 0; i < cats.length; i++) { in updateCats()
109 cats[i] = Cat.create(this); in updateCats()
124 cats = list.toArray(new Cat[0]); in updateCats()
126 mAdapter.setCats(cats); in updateCats()
127 return cats.length; in updateCats()
181 public void setCats(Cat[] cats) { in setCats() argument
182 mCats = cats; in setCats()
DPrefState.java58 ArrayList<Cat> cats = new ArrayList<>(); in getCats() local
65 cats.add(cat); in getCats()
68 return cats; in getCats()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedIntentInfoUtils.java144 final StringBuilder cats = new StringBuilder("Intent d="); in parseIntentInfo() local
145 cats.append(intentInfo.isHasDefault()); in parseIntentInfo()
146 cats.append(", cat="); in parseIntentInfo()
151 cats.append(' '); in parseIntentInfo()
152 cats.append(it.next()); in parseIntentInfo()
155 Slog.d(TAG, cats.toString()); in parseIntentInfo()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java5867 final StringBuilder cats = new StringBuilder("Intent d="); in parseIntent() local
5868 cats.append(outInfo.hasDefault); in parseIntent()
5869 cats.append(", cat="); in parseIntent()
5874 cats.append(' '); in parseIntent()
5875 cats.append(it.next()); in parseIntent()
5878 Slog.d(TAG, cats.toString()); in parseIntent()
/frameworks/base/core/java/android/content/
DIntent.java7759 HashSet<String> cats = new HashSet<String>(baseIntent.getCategories()); in parseCommandArgs() local
7760 for (String c : cats) { in parseCommandArgs()