Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 27) sorted by relevance

12

/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DEnvelopeADSR.java47 public void setAttackTime(float time) { in setAttackTime() argument
48 if (time < MIN_TIME) in setAttackTime()
49 time = MIN_TIME; in setAttackTime()
50 mAttackRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setAttackTime()
53 public void setDecayTime(float time) { in setDecayTime() argument
54 if (time < MIN_TIME) in setDecayTime()
55 time = MIN_TIME; in setDecayTime()
56 mDecayRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setDecayTime()
65 public void setReleaseTime(float time) { in setReleaseTime() argument
66 if (time < MIN_TIME) in setReleaseTime()
[all …]
/developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/
DTimerFormat.java46 private static void setTime(long time) { in setTime() argument
50 if (time < 0) { in setTime()
51 time = -time; in setTime()
54 long seconds = time / 1000; in setTime()
55 long hundreds = (time - seconds * 1000) / 10; in setTime()
113 public static String getTimeString(long time) { in getTimeString() argument
114 setTime(time); in getTimeString()
/developers/samples/android/media/HdrViewfinder/
DREADME.md5 This demo implements a real-time high-dynamic-range camera viewfinder, by alternating
6 the sensor's exposure time between two exposure values on even and odd frames, and then
14 This demo implements a real-time high-dynamic-range camera viewfinder,
15 by alternating the sensor's exposure time between two exposure values on even and odd
22 the exposure time of even frames, and the right half controls the exposure time of odd frames.
/developers/samples/android/content/webview/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/
DSampleTests.java176 long time = 0; in waitForKeyword() local
177 while (time < timeoutMs) { in waitForKeyword()
185 time += 100; in waitForKeyword()
/developers/samples/android/notification/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/
DMainActivity.java79 final String time = DateFormat.getTimeInstance().format(new Date()).toString(); in createNotification() local
80 final String text = getResources().getString(R.string.collapsed, time); in createNotification()
/developers/samples/android/deprecated/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
DCalendarQueryService.java109 Time time = new Time(); in onHandleIntent() local
110 time.setToNow(); in onHandleIntent()
111 long beginTime = time.toMillis(true); in onHandleIntent()
112 time.monthDay++; in onHandleIntent()
113 time.normalize(true); in onHandleIntent()
114 long endTime = time.normalize(true); in onHandleIntent()
/developers/samples/android/common/src/java/com/example/android/common/midi/
DEventScheduler.java191 public SchedulableEvent getNextEvent(long time) { in getNextEvent() argument
197 if (lowestTime <= time) { in getNextEvent()
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DUpdateService.java84 long time = dataMap.getLong(Constants.KEY_TIME); in onDataChanged() local
86 calendar.setTimeInMillis(time); in onDataChanged()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
DCreditCardExpirationDatePickerView.java102 long time = value.getDateValue(); in autofill() local
103 mTempCalendar.setTimeInMillis(time); in autofill()
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/
DChatAdapter.java169 private String millisToDateTime(long time) { in millisToDateTime() argument
171 cal.setTimeInMillis(time); in millisToDateTime()
/developers/build/templates/CardStream/_MODULE_/
DREADME-CardStream.txt32 -Now it's time to deal with cards. Implement a method like this in your Fragment to access the Card…
/developers/samples/android/sensors/BatchStepSensor/Application/
DREADME-CardStream.txt32 -Now it's time to deal with cards. Implement a method like this in your Fragment to access the Card…
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/
DMainActivity.java186 mTimeTextView = findViewById(R.id.time); in onCreate()
/developers/samples/android/admin/BasicManagedProfile/
DREADME.md21 time.
/developers/samples/android/ui/window/MultiWindowPlayground/kotlinApp/
DREADME.md14 to be displayed at the same time.
/developers/samples/android/ui/window/MultiWindowPlayground/
DREADME.md15 to be displayed at the same time.
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/
DREADME.md20 will only have one service as default at a time, and there is just a small number of 3rd-party apps
23 and 2) optimize their autofill performance. Most of the time, there is little to no extra code
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/ui/graphics/PdfRendererBasic/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/media/PictureInPicture/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/notification/NotificationChannels/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/ui/fonts/DownloadableFonts/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/views/EmojiCompat/kotlinApp/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so
/developers/samples/android/ui/text/
DLICENSE349 public may access the material from a place and at a time
589 distributing the Licensed Material at any time; however, doing so

12