/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/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/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);
|
H A D | Convolve3x3.java | 76 public void animateBars(float time) { argument 77 float f[] = updateMatrix(time % 1.f);
|
H A D | Convolve5x5.java | 95 public void animateBars(float time) { argument 96 float f[] = updateMatrix(time % 1.f);
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 29 * Simple SNTP client class for retrieving network time. 33 * if (client.requestTime("time.foo.com")) { 56 // system time computed from NTP server response 62 // round trip time in milliseconds 86 // get current time and write it to the request packet 117 // (response rather than request time) 122 if (false) Log.d(TAG, "request time failed: " + e); 134 * Returns the time computed from the NTP transaction. 136 * @return time value computed from NTP server response. 144 * corresponding to the NTP time 193 writeTimeStamp(byte[] buffer, int offset, long time) argument [all...] |
/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 | 46 // Java time on Jan 1, 2000 12:00 UTC. 65 * calculates the civil twilight bases on time and geo-coordinates. 67 * @param time time in milliseconds. 71 public void calculateTwilight(long time, double latiude, double longitude) { argument 72 final float daysSince2000 = (float) (time - UTC_2000) / DateUtils.DAY_IN_MILLIS; 116 if (mSunrise < time && mSunset > time) {
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UnixCalendar.java | 32 public UnixCalendar(long time) { argument 33 mTime = time; 68 public void setTimeInMillis(long time) { argument 69 mTime = 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/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 17 package com.android.datetimepicker.time;
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 28 /** @hide Field length that can hold 999 days of time */ 168 public static void formatDuration(long time, long now, PrintWriter pw) { argument 169 if (time == 0) { 173 formatDuration(time-now, pw, 0);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vop.cpp | 49 // UInt time=0; 129 Int time = 0; /* follows EncodeVop value */ local 147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */ 198 Int time = 0; /* follows EncodeVop value */ local 222 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
|
/frameworks/base/core/java/android/widget/ |
H A D | AnalogClock.java | 128 // The time zone may have changed while the receiver wasn't registered, so update the Time 131 // Make sure we update to the current time 255 String tz = intent.getStringExtra("time-zone"); 265 private void updateContentDescription(Time time) { argument 268 time.toMillis(false), flags);
|
H A D | DateTimeView.java | 40 // - listen for the next threshold time to update the view. 46 * Displays a given time in a convenient human-readable foramt. 98 public void setTime(long time) { argument 100 t.set(time); 115 Date time = mTime; 173 // Currently showing the time, update at the later of twelve hours after or midnight. 178 // If the time is in the past, don't schedule an update 181 // If hte time is in the future, schedule one at the earlier of twelve hours 188 Log.d(TAG, "update needed for '" + time + "' at '" + new Date(mUpdateTimeMillis) 228 // all of the time conversion [all...] |