Searched refs:time (Results 51 - 75 of 292) sorted by relevance

1234567891011>>

/frameworks/base/tools/preload/
H A DRecord.java100 /** Record time (ns). */
101 final long time; field in class:Record
137 time = Long.parseLong(parts[6]);
H A DRoot.java85 loadedClass, record.time);
93 process.startOperation(record.tid, loadedClass, record.time,
98 process.startOperation(record.tid, loadedClass, record.time,
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py24 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 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/cpu_ref/linkloader/android/
H A Dtest-librsloader.c23 #include <time.h>
46 DEF("time", time)
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DConvolve3x3.java76 public void animateBars(float time) { argument
77 float f[] = updateMatrix(time % 1.f);
H A DGrain.java48 public void animateBars(float time) { argument
49 mScript.set_gNoiseStrength(time % 1.f);
H A DConvolve5x5.java95 public void animateBars(float time) { argument
96 float f[] = updateMatrix(time % 1.f);
H A DFisheye.java74 public void animateBars(float time) { argument
75 scale = time % 2.f;
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java182 * Attribute for the choice time.
184 private static final String ATTRIBUTE_TIME = "time";
790 * The choice time.
792 public final long time; field in class:ActivityChooserModel.HistoricalRecord
803 * @param time The time the activity was chosen.
806 public HistoricalRecord(String activityName, long time, float weight) { argument
807 this(ComponentName.unflattenFromString(activityName), time, weight);
814 * @param time The time th
817 HistoricalRecord(ComponentName activityName, long time, float weight) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserModel.java179 * Attribute for the choice time.
181 private static final String ATTRIBUTE_TIME = "time";
770 * The choice time.
772 public final long time; field in class:ActivityChooserModel.HistoricalRecord
783 * @param time The time the activity was chosen.
786 public HistoricalRecord(String activityName, long time, float weight) { argument
787 this(ComponentName.unflattenFromString(activityName), time, weight);
794 * @param time The time th
797 HistoricalRecord(ComponentName activityName, long time, float weight) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java42 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 DKeyCharacterMap.h235 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 DMonthAdapter.java52 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
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSmoothScroller.java110 final int time = calculateTimeForDeceleration(distance);
111 if (time > 0) {
112 action.update(-dx, -dy, time, mDecelerateInterpolator);
152 * @return The time (in ms) it should take for each pixel. For instance, if returned value is
160 * <p>Calculates the time for deceleration so that transition from LinearInterpolator to
172 // this is why we divide linear scrolling time with .3356
177 * Calculates the time it should take to scroll the given distance (in pixels)
186 // time.
241 final int time = calculateTimeForScrolling(TARGET_SEEK_SCROLL_DISTANCE_PX);
247 , (int) (time * TARGET_SEEK_EXTRA_SCROLL_RATI
[all...]
/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/java/com/android/internal/http/
H A DHttpDateTime.java118 Time time = new Time(Time.TIMEZONE_UTC);
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
121 return time.toMillis(false /* use isDst */);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerUtils.java50 // labels every time getGmtDisplayName is called), we'll cache the lists of override IDs
61 * @param millis The time (daylight savings or not)
83 Time time = new Time(tz.getID());
84 time.set(timeMillis);
88 String displayName = getDisplayName(tz, time.isDst != 0);
156 * @param daylightTime True for daylight time, false for standard 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/include/ndk/
H A DNdkMediaCodec.h134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags);
/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/native/libs/input/tests/
H A DAndroid.mk32 # NOTE: This is a compile time test, and does not need to be
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java46 * Some one-time OpenGL initialization can be made here
83 long time = SystemClock.uptimeMillis() % 4000L;
84 float angle = 0.090f * ((int) time);
96 * each time we draw, but usually a new projection needs to
/frameworks/av/include/media/nbaio/
H A DMonoPipe.h20 #include <time.h>
64 // with MonoPipeReader. Every time a MonoPipeReader reads from the pipe, it
65 // receives a "readPTS" indicating the point in time for which the reader
68 // updated read pointer. This cached value is the local time for which the
69 // reader is going to request data next time it reads data (assuming we are
87 // but it will not be an unbounded amount of time.
119 // 32-bit overflow is possible if the pipe is active for a long time, but if that happens it's
128 struct timespec mWriteTs; // time that the previous write() completed

Completed in 848 milliseconds

1234567891011>>