Searched defs:time (Results 1 - 25 of 125) sorted by relevance

12345

/frameworks/base/core/java/android/app/usage/
H A DTimeSparseArray.java37 * 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 DMtpObjectInfo.cpp60 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 DDateSorter.java85 * @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 DZipEntryReader.java42 * 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 DObexTime.java30 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 DObexTime.java30 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 DColorMatrix.java61 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 DGrain.java48 public void animateBars(float time) { argument
49 mScript.set_gNoiseStrength(time % 1.f);
H A DGroupTest.java82 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 DConvolve3x3.java76 public void animateBars(float time) { argument
77 float f[] = updateMatrix(time % 1.f);
H A DConvolve5x5.java95 public void animateBars(float time) { argument
96 float f[] = updateMatrix(time % 1.f);
/frameworks/base/core/java/android/net/
H A DSntpClient.java29 * 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 DBluetoothStressTest.java35 /** 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 DTwilightCalculator.java46 // 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 DUnixCalendar.java32 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 DDataConnectionRealTimeInfo.java23 * 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 DProc.java88 * @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 DRecord.java100 /** 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 DLocationCluster.java56 // 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 Dswapinterval.cpp103 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 DCircleView.java17 package com.android.datetimepicker.time;
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java28 /** @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 Dvop.cpp49 // 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 DAnalogClock.java128 // 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 DDateTimeView.java40 // - 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...]

Completed in 637 milliseconds

12345