Home
last modified time | relevance | path

Searched refs:cat (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java104 private void onCatClick(Cat cat) { in onCatClick() argument
106 mPrefs.addCat(cat); in onCatClick()
112 showNameDialog(cat); in onCatClick()
117 private void onCatRemove(Cat cat) { in onCatRemove() argument
118 mPrefs.removeCat(cat); in onCatRemove()
121 private void showNameDialog(final Cat cat) { in showNameDialog() argument
127 text.setText(cat.getName()); in showNameDialog()
128 text.setSelection(cat.getName().length()); in showNameDialog()
129 Drawable catIcon = cat.createLargeIcon(this).loadDrawable(this); in showNameDialog()
137 cat.setName(text.getText().toString().trim()); in showNameDialog()
[all …]
DPrefState.java43 public void addCat(Cat cat) { in addCat() argument
45 .putString(CAT_KEY_PREFIX + String.valueOf(cat.getSeed()), cat.getName()) in addCat()
49 public void removeCat(Cat cat) { in removeCat() argument
51 .remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())) in removeCat()
61 Cat cat = new Cat(mContext, seed); in getCats() local
62 cat.setName(String.valueOf(map.get(key))); in getCats()
63 cats.add(cat); in getCats()
DNekoService.java63 final Cat cat = Cat.create(this); in onStartJob() local
65 = cat.buildNotification(this) in onStartJob()
77 Cat cat; in onStartJob() local
83 cat = Cat.create(this); in onStartJob()
84 prefs.addCat(cat); in onStartJob()
85 Log.v(TAG, "A new cat is here: " + cat.getName()); in onStartJob()
87 cat = cats.get(rng.nextInt(cats.size())); in onStartJob()
88 Log.v(TAG, "A cat has returned: " + cat.getName()); in onStartJob()
91 final Notification.Builder builder = cat.buildNotification(this); in onStartJob()
/frameworks/support/tests/java/android/support/v4/provider/
DDocumentFileTest.java146 final DocumentFile cat = meow.findFile(CAT); in testTraverse()
149 assertTrue("isFile", cat.isFile()); in testTraverse()
201 final DocumentFile cat = meow.findFile(CAT); in testMimes()
208 assertEquals("image/jpeg", cat.getType()); in testMimes()
269 final DocumentFile cat = meow.findFile(CAT); in testDelete()
273 assertTrue(cat.delete()); in testDelete()
299 DocumentFile cat = meow.findFile(CAT); in testRename()
304 assertEquals("cat.jpg", cat.getName()); in testRename()
305 assertEquals("image/jpeg", cat.getType()); in testRename()
307 assertTrue(cat.renameTo("music.aAc")); in testRename()
[all …]
/frameworks/base/data/sounds/
Dgenerate-all-audio.sh22 cat > AllAudio.mk << EOF
42 cat OriginalAudio.mk AudioPackage*.mk |
50 cat *.mk |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h201 device_category cat = sourceCurves.keyAt(index); in switchVolumeCurve() local
202 dstCurves.setVolumeCurve(cat, sourceCurves.getOriginVolumeCurve(cat)); in switchVolumeCurve()
205 virtual float volIndexToDb(audio_stream_type_t stream, device_category cat, int indexInUi) const in volIndexToDb() argument
207 return getCurvesFor(stream).volIndexToDb(cat, indexInUi); in volIndexToDb()
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py337 def __init__(self, adb, name="android-status", cat=gdb.COMMAND_OBSCURE, verbose=False): argument
338 super (AndroidStatus, self).__init__(name, cat)
427 def __init__ (self, adb, name="start-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
428 super (StartAndroidApp, self).__init__(adb, name, cat, verbose)
581 def __init__(self, adb, name="run-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
582 super (RunAndroidApp, self).__init__(adb, name, cat, verbose)
591 def __init__(self, adb, name="attach-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
592 super (AttachAndroidApp, self).__init__(adb, name, cat, verbose)
658 def __init__(self, adb, name="load-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
659 super (LoadApp, self).__init__(adb, name, cat, verbose)
[all …]
/frameworks/rs/
DAndroid.mk105 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
121 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
208 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
224 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
276 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
291 $(GEN) : PRIVATE_CUSTOM_TOOL = cat $(PRIVATE_PATH)/rs.spec $(PRIVATE_PATH)/rsg.spec | $(RSG_GENERAT…
/frameworks/native/opengl/libs/tools/
Dgenfiles35 cat /tmp/gl_entries.in \
43 cat ../../include/GLES/gl.h \
/frameworks/compile/libbcc/lib/Renderscript/
Dgenerate-whitelist.sh35 cat > $OUT_HEADER << EOF
50 cat > $OUT_CPP << EOF
/frameworks/base/tests/backup/
Dtest_restore.sh25 data=$(a shell cat /data/data/com.android.backuptest/$1)
108 a shell cat /data/data/com.android.backuptest/files/3.txt | tail -n 3
/frameworks/wilhelm/tools/hashgen/
DMakefile13 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
54 cat frag3.c >> $@
/frameworks/support/
Dapicheck.mk84 cat $(api_check_last_msg_file), \
100 cat $(api_check_current_msg_file), \
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DLaunchBrowserMode.java17 package com.android.internal.telephony.cat;
DPresentationType.java17 package com.android.internal.telephony.cat;
DCatException.java17 package com.android.internal.telephony.cat;
DFontSize.java17 package com.android.internal.telephony.cat;
DTextAlignment.java17 package com.android.internal.telephony.cat;
DTextColor.java17 package com.android.internal.telephony.cat;
DComprehensionTlvTag.java17 package com.android.internal.telephony.cat;
DTextAttribute.java17 package com.android.internal.telephony.cat;
DCommandParamsFactory.java17 package com.android.internal.telephony.cat;
28 import static com.android.internal.telephony.cat.CatCmdMessage.
30 import static com.android.internal.telephony.cat.CatCmdMessage.
32 import static com.android.internal.telephony.cat.CatCmdMessage.
34 import static com.android.internal.telephony.cat.CatCmdMessage.
36 import static com.android.internal.telephony.cat.CatCmdMessage.
/frameworks/base/cmds/uiautomator/library/
DAndroid.mk93 cat $(LOCAL_PATH)/apicheck_msg_last.txt, \
112 cat $(LOCAL_PATH)/apicheck_msg_current.txt, \
/frameworks/av/services/mediaextractor/minijail/
DAndroid.mk26 $(hide) cat > $@ $^
/frameworks/av/services/mediacodec/minijail/
DAndroid.mk26 $(hide) cat > $@ $^

123