/frameworks/base/core/java/android/app/usage/ |
H A D | TimeSparseArray.java | 37 * the given time. 39 * @param time The timestamp for which to search the array. 42 public int closestIndexOnOrAfter(long time) { argument 54 if (time > key) { 56 } else if (time < key) { 63 if (time < key) { 65 } else if (time > key && lo < size) { 74 * the given time. 76 * @param time The timestamp for which to search the array. 79 public int closestIndexOnOrBefore(long time) { argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpObjectInfo.cpp | 60 time_t time; local 82 if (parseDateTime((const char*)string, time)) 83 mDateCreated = time; 86 if (parseDateTime((const char*)string, time)) 87 mDateModified = time;
|
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 85 * @param time time since the Epoch in milliseconds, such as that 90 public int getIndex(long time) { argument 93 if (time > mBins[i]) return i;
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
H A D | ZipEntryReader.java | 42 * Note: The only bit that we will enforce at this time 65 int time = in.getShort() & 0xffff; 87 entry.setTime(getTime(time, modDate)); 111 private static long getTime(int time, int modDate) { argument 115 modDate & 0x1f, (time >> 11) & 0x1f, (time >> 5) & 0x3f, 116 (time & 0x1f) << 1);
|
/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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ColorMatrix.java | 54 public void animateBars(float time) { argument 56 m.set(1, 0, (time + 0.2f) % 1.0f); 57 m.set(1, 1, (time + 0.9f) % 1.0f); 58 m.set(1, 2, (time + 0.4f) % 1.0f);
|
H A D | Grain.java | 43 public void animateBars(float time) { argument 44 mScript.set_gNoiseStrength(time % 1.f);
|
H A D | GroupTest.java | 75 public void animateBars(float time) { argument 77 m.set(1, 0, (time + 0.2f) % 1.0f); 78 m.set(1, 1, (time + 0.9f) % 1.0f); 79 m.set(1, 2, (time + 0.4f) % 1.0f);
|
H A D | Convolve3x3.java | 69 public void animateBars(float time) { argument 70 float f[] = updateMatrix(time % 1.f);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ColorMatrix.java | 61 public void animateBars(float time) { argument 63 m.set(1, 0, (time + 0.2f) % 1.0f); 64 m.set(1, 1, (time + 0.9f) % 1.0f); 65 m.set(1, 2, (time + 0.4f) % 1.0f);
|
H A D | Grain.java | 48 public void animateBars(float time) { argument 49 mScript.set_gNoiseStrength(time % 1.f);
|
H A D | GroupTest.java | 82 public void animateBars(float time) { argument 84 m.set(1, 0, (time + 0.2f) % 1.0f); 85 m.set(1, 1, (time + 0.9f) % 1.0f); 86 m.set(1, 2, (time + 0.4f) % 1.0f);
|
/frameworks/base/core/java/android/os/health/ |
H A D | TimerStat.java | 23 * A TimerStat object stores a count and a time. 49 * Construct an empty TimerStat object with the count and time set to 0. 55 * Construct a TimerStat object with the supplied count and time fields. 58 * @param time The time 60 public TimerStat(int count, long time) { argument 62 mTime = time; 104 * Set the time for this timer in milliseconds. 106 public void setTime(long time) { argument 107 mTime = time; [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UnixCalendar.java | 30 public UnixCalendar(long time) { argument 31 mTime = time; 50 public void setTimeInMillis(long time) { argument 51 mTime = time;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 76 struct timespec time; local 77 if (mStream->get_presentation_position(mStream, &position64, &time) != OK) { 82 time.tv_sec * 1000000000LL + time.tv_nsec;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothStressTest.java | 35 /** The amount of time to sleep between issuing start/stop SCO in ms. */ 395 private void sleep(long time) { argument 397 Thread.sleep(time);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TwilightCalculator.java | 45 // Java time on Jan 1, 2000 12:00 UTC. 64 * calculates the civil twilight bases on time and geo-coordinates. 66 * @param time time in milliseconds. 70 public void calculateTwilight(long time, double latiude, double longitude) { argument 71 final float daysSince2000 = (float) (time - UTC_2000) / DateUtils.DAY_IN_MILLIS; 115 if (mSunrise < time && mSunset > time) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | SystemConditionProviderService.java | 40 protected static String ts(long time) { argument 41 return new Date(time) + " (" + time + ")"; 50 protected static void dumpUpcomingTime(PrintWriter pw, String var, long time, long now) { argument 52 if (time > 0) { 53 pw.printf("%s, in %s, now=%s", ts(time), formatDuration(time - now), ts(now)); 55 pw.print(time);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | DataConnectionRealTimeInfo.java | 23 * Data connection real time information 43 public DataConnectionRealTimeInfo(long time, int dcPowerState) { argument 44 mTime = time; 67 * @return time the information was collected or Long.MAX_VALUE if unknown
|
/frameworks/base/tools/preload/ |
H A D | Proc.java | 88 * @param time the operation started 90 void startOperation(int threadId, LoadedClass loadedClass, long time, argument 93 this, loadedClass, time, operationCount++, type); 114 * @param time the operation ended 117 LoadedClass loadedClass, long time) { 133 o.endTimeNanos = time; 116 endOperation(int threadId, String className, LoadedClass loadedClass, long time) argument
|
H A D | Record.java | 100 /** Record time (ns). */ 101 final long time; field in class:Record 137 time = Long.parseLong(parts[6]);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 56 // use time field to store duation of this location 94 // centers. Note that if the cluster is consolidated for the first time, 136 private void updateTemporalHistogram(long time, long duration) { argument 137 HashMap<String, String> timeFeatures = TimeStatsAggregator.getAllTimeFeatures(time);
|
/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/native/services/surfaceflinger/ |
H A D | FenceTracker.cpp | 79 static inline bool isValidTimestamp(nsecs_t time) { argument 80 return time > 0 && time < INT64_MAX; 87 nsecs_t time = frame.retireFence->getSignalTime(); local 88 if (isValidTimestamp(time)) { 89 frame.retireTime = time; 94 nsecs_t time = frame.glesCompositionDoneFence->getSignalTime(); local 95 if (isValidTimestamp(time)) { 96 frame.glesCompositionDoneTime = time; 103 nsecs_t time local 110 nsecs_t time = layer.releaseFence->getSignalTime(); local [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 17 package com.android.datetimepicker.time;
|