/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLand.java | 114 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 …]
|
D | PrefState.java | 43 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()
|
D | NekoService.java | 79 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/ |
D | DocumentFileTest.java | 152 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/ |
D | generate-all-audio.sh | 22 cat > AllAudio.mk << EOF 42 cat OriginalAudio.mk AudioPackage*.mk | 50 cat *.mk |
|
/frameworks/rs/perf-test-scripts/ |
D | timing | 209 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…
|
D | get-freq | 13 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 '\…
|
D | set-cpu-freq | 17 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/ |
D | VolumeCurve.h | 200 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/ |
D | android-commands.py | 337 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/ |
D | genfiles | 35 cat /tmp/gl_entries.in \ 43 cat ../../include/GLES/gl.h \
|
/frameworks/base/tests/backup/ |
D | test_restore.sh | 25 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/ |
D | Makefile | 14 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/ |
D | PresentationType.java | 17 package com.android.internal.telephony.cat;
|
D | LaunchBrowserMode.java | 17 package com.android.internal.telephony.cat;
|
D | CatException.java | 17 package com.android.internal.telephony.cat;
|
D | FontSize.java | 17 package com.android.internal.telephony.cat;
|
D | TextAlignment.java | 17 package com.android.internal.telephony.cat;
|
D | TextColor.java | 17 package com.android.internal.telephony.cat;
|
D | TextAttribute.java | 17 package com.android.internal.telephony.cat;
|
D | ComprehensionTlvTag.java | 17 package com.android.internal.telephony.cat;
|
D | ResultCode.java | 17 package com.android.internal.telephony.cat;
|
D | CatResponseMessage.java | 17 package com.android.internal.telephony.cat;
|
/frameworks/base/config/ |
D | generate-preloaded-classes.sh | 23 cat "$DIR/copyright-header"
|
/frameworks/base/cmds/uiautomator/library/ |
D | Android.mk | 93 cat $(LOCAL_PATH)/apicheck_msg_last.txt, \ 112 cat $(LOCAL_PATH)/apicheck_msg_current.txt, \
|