/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneFilterTypeAdapter.java | 46 void onSetFilter(int filterType, String str, int time); argument 52 int time; field in class:TimeZoneFilterTypeAdapter.ViewHolder 65 public int time; field in class:TimeZoneFilterTypeAdapter.FilterTypeResult 67 public FilterTypeResult(int type, String constraint, int time) { argument 70 this.time = time; 131 vh.time = filter.time; 152 mListener.onSetFilter(vh.filterType, vh.str, vh.time); 190 // Search by local time an [all...] |
/frameworks/av/services/audioflinger/ |
H A D | test-resample.cpp | 26 #include <time.h> 228 double time = (input_freq / 2) / k; local 229 size_t input_frames = size_t(input_freq * time); 359 int64_t time = end_ns - start_ns; local 361 looplimit * 4 / (time / 1e9)); 375 time = end_ns - start_ns; 377 looplimit / (time / 1e9)); 393 * and take the minimum time. 410 int64_t time = 0; local 422 if (n == 0 || diff_ns < time) { [all...] |
H A D | AudioWatchdog.h | 18 // (a) verify that adequate CPU time is available, and log 25 #include <time.h> 37 time_t mMostRecent; // time of most recent log 76 uint32_t mMaxCycleNs; // maximum allowed time of one cycle before declaring underrun 77 struct timespec mOldTs; // monotonic time when threadLoop last ran 78 struct timespec mLogTs; // time since last log
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TestPrinter.java | 68 TestRunner.IntermediateTime time = intermediates.get(i); 69 Log.i(mTag, " intermediate: " + time.name + " = " 70 + time.timeInNS + "ns");
|
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 103 int time = 10; local 104 printf("screen should flash red/green quickly for %d s...\n", time); 118 } while (int(ns2s(t))<=time);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | TransitionDrawable.java | 137 final long time = SystemClock.uptimeMillis(); 139 if (time - mStartTimeMillis > mDuration) { 160 mDuration = (int) (mReverse ? time - mStartTimeMillis : 161 mOriginalDuration - (time - mStartTimeMillis));
|
/frameworks/base/include/androidfw/ |
H A D | ZipUtils.h | 25 #include <time.h> 65 * Utility function to convert ZIP's time format to a timespec struct.
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.h | 20 #include <time.h>
|
/frameworks/support/graphics/drawable/teststatic/src/android/support/test/vectordrawable/ |
H A D | TestActivity.java | 81 long time = android.os.SystemClock.currentThreadTimeMillis(); 85 time = android.os.SystemClock.currentThreadTimeMillis()-time; 104 // Just show the average create time as the first view. 107 t.setText("avgL=" + df.format(time / (icon.length)) + " ms");
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 41 * A class containing utility methods related to time zones. 62 * Tries to return a time zone that would have had the specified offset 76 // If the current time zone is from the right country 89 // haven't encountered the current time zone yet.) 103 * Return list of unique time zones for the country. Do not modify 106 * @return list of unique time zones, maybe empty but never null. Do not modify. 151 * Returns the time zones for the country, which is the code 221 * Returns a String indicating the version of the time zone database currently 222 * in use. The format of the string is dependent on the underlying time zone 228 * when computing the UTC time fo 410 formatDuration(long time, long now, PrintWriter pw) argument 419 formatUptime(long time) argument [all...] |
/frameworks/base/tools/preload/ |
H A D | Record.java | 100 /** Record time (ns). */ 101 final long time; field in class:Record 137 time = Long.parseLong(parts[6]);
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | genheaders.py | 24 import sys, time, pdb, string, cProfile namespace 33 # timeit - time length of registry loading & header generation 68 elif (arg == '-time'): 69 write('Enabling timing (-time)', file=sys.stderr) 85 startTime = time.clock() 88 endTime = time.clock() 238 format("/* Generated on date %s */" % time.strftime("%Y%m%d")), 244 format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")), 249 format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")), 254 format("#define GLX_GLXEXT_VERSION %s" % time [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
H A D | ObexTime.java | 30 public ObexTime(String time) { argument 32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset 37 Matcher m = p.matcher(time); 61 /* time zone offset is specified in miliseconds */
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
H A D | ObexTime.java | 30 public ObexTime(String time) { argument 32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset 37 Matcher m = p.matcher(time); 61 /* time zone offset is specified in miliseconds */
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 69 public void animateBars(float time) { argument 70 float f[] = updateMatrix(time % 1.f);
|
H A D | Grain.java | 43 public void animateBars(float time) { argument 44 mScript.set_gNoiseStrength(time % 1.f);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Convolve3x3.java | 76 public void animateBars(float time) { argument 77 float f[] = updateMatrix(time % 1.f);
|
H A D | Grain.java | 48 public void animateBars(float time) { argument 49 mScript.set_gNoiseStrength(time % 1.f);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 183 * Attribute for the choice time. 185 private static final String ATTRIBUTE_TIME = "time"; 791 * The choice time. 793 public final long time; field in class:ActivityChooserModel.HistoricalRecord 804 * @param time The time the activity was chosen. 807 public HistoricalRecord(String activityName, long time, float weight) { argument 808 this(ComponentName.unflattenFromString(activityName), time, weight); 815 * @param time The time th 818 HistoricalRecord(ComponentName activityName, long time, float weight) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserModel.java | 178 * Attribute for the choice time. 180 private static final String ATTRIBUTE_TIME = "time"; 769 * The choice time. 771 public final long time; field in class:ActivityChooserModel.HistoricalRecord 782 * @param time The time the activity was chosen. 785 public HistoricalRecord(String activityName, long time, float weight) { argument 786 this(ComponentName.unflattenFromString(activityName), time, weight); 793 * @param time The time th 796 HistoricalRecord(ComponentName activityName, long time, float weight) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 226 long time = millis >= 0 ? millis : -millis; 227 long tmp = time / 1000L; 228 long ms = time - tmp * 1000L; 230 time = tmp; 232 long s = time - tmp * 60L; 234 time = tmp; 236 long m = time - tmp * 60L;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | EventConditionProvider.java | 59 private static final String EXTRA_TIME = "time"; 250 private void rescheduleAlarm(long now, long time) { argument 251 mNextAlarmTime = time; 257 .putExtra(EXTRA_TIME, time), 260 if (time == 0 || time < now) { 261 if (DEBUG) Slog.d(TAG, "Not scheduling evaluate: " + (time == 0 ? "no time specified" 262 : "specified time in the past")); 266 ts(time), formatDuratio [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | GestureRecorder.java | 42 long time; field in class:GestureRecorder.Gesture.Record 48 this.time = when; 67 ("{\"type\":\"motion\", \"time\":%d, \"action\":\"%s\", " 69 this.time, 81 this.time = when; 86 return String.format("{\"type\":\"tag\", \"time\":%d, \"tag\":\"%s\", \"info\":\"%s\"}", 87 this.time,
|
/frameworks/native/include/input/ |
H A D | KeyCharacterMap.h | 235 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time); 237 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 240 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 244 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 250 int32_t deviceId, int32_t metaState, nsecs_t time,
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | MonthAdapter.java | 52 private Time time; field in class:MonthAdapter.CalendarDay 88 if (time == null) { 89 time = new Time(); 91 time.setJulianDay(julianDay); 92 setTime(time.toMillis(false)); 141 * Set up the gesture detector and selected time
|