Home
last modified time | relevance | path

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

123

/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java114 public int compare(Cat cat, Cat cat2) { in updateCats()
115 Color.colorToHSV(cat.getBodyColor(), hsv); in updateCats()
128 private void onCatClick(Cat cat) { in onCatClick() argument
130 mPrefs.addCat(cat); in onCatClick()
136 showNameDialog(cat); in onCatClick()
141 private void onCatRemove(Cat cat) { in onCatRemove() argument
142 cat.logRemove(this); in onCatRemove()
143 mPrefs.removeCat(cat); in onCatRemove()
146 private void showNameDialog(final Cat cat) { in showNameDialog() argument
152 text.setText(cat.getName()); 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
50 mPrefs.edit().remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())).apply(); in removeCat()
59 Cat cat = new Cat(mContext, seed); in getCats() local
60 cat.setName(String.valueOf(map.get(key))); in getCats()
61 cats.add(cat); in getCats()
DNekoService.java79 final Cat cat = Cat.create(this); in onStartJob() local
81 = cat.buildNotification(this) in onStartJob()
94 Cat cat; in onStartJob() local
100 cat = Cat.create(this); in onStartJob()
101 prefs.addCat(cat); in onStartJob()
102 cat.logAdd(this); in onStartJob()
103 Log.v(TAG, "A new cat is here: " + cat.getName()); in onStartJob()
105 cat = cats.get(rng.nextInt(cats.size())); in onStartJob()
106 Log.v(TAG, "A cat has returned: " + cat.getName()); in onStartJob()
109 final Notification.Builder builder = cat.buildNotification(this); in onStartJob()
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java152 final DocumentFile cat = meow.findFile(CAT); in testTraverse()
155 assertTrue("isFile", cat.isFile()); in testTraverse()
207 final DocumentFile cat = meow.findFile(CAT); in testMimes()
214 assertEquals("image/jpeg", cat.getType()); in testMimes()
275 final DocumentFile cat = meow.findFile(CAT); in testDelete()
279 assertTrue(cat.delete()); in testDelete()
305 DocumentFile cat = meow.findFile(CAT); in testRename()
310 assertEquals("cat.jpg", cat.getName()); in testRename()
311 assertEquals("image/jpeg", cat.getType()); in testRename()
313 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/rs/perf-test-scripts/
Dtiming209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
217 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
218 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
269 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
276 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
277 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
Dget-freq13 echo `adb shell cat $1 | tr -d '\r'`
57 …frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\…
Dset-cpu-freq17 echo `adb shell cat $1 | tr -d '\r'`
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h200 device_category cat = sourceCurves.keyAt(index); in switchVolumeCurve() local
201 dstCurves.setVolumeCurve(cat, sourceCurves.getOriginVolumeCurve(cat)); in switchVolumeCurve()
204 virtual float volIndexToDb(audio_stream_type_t stream, device_category cat, int indexInUi) const in volIndexToDb() argument
206 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/native/opengl/libs/tools/
Dgenfiles35 cat /tmp/gl_entries.in \
43 cat ../../include/GLES/gl.h \
/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/
DMakefile14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
55 cat frag3.c >> $@
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DPresentationType.java17 package com.android.internal.telephony.cat;
DLaunchBrowserMode.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;
DTextAttribute.java17 package com.android.internal.telephony.cat;
DComprehensionTlvTag.java17 package com.android.internal.telephony.cat;
DResultCode.java17 package com.android.internal.telephony.cat;
DCatResponseMessage.java17 package com.android.internal.telephony.cat;
/frameworks/base/config/
Dgenerate-preloaded-classes.sh23 cat "$DIR/copyright-header"
/frameworks/base/cmds/uiautomator/library/
DAndroid.mk93 cat $(LOCAL_PATH)/apicheck_msg_last.txt, \
112 cat $(LOCAL_PATH)/apicheck_msg_current.txt, \

123