Searched refs:time (Results 76 - 100 of 350) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java183 * 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/widget/
H A DActivityChooserModel.java176 * Attribute for the choice time.
178 private static final String ATTRIBUTE_TIME = "time";
767 * The choice time.
769 public final long time; field in class:ActivityChooserModel.HistoricalRecord
780 * @param time The time the activity was chosen.
783 public HistoricalRecord(String activityName, long time, float weight) { argument
784 this(ComponentName.unflattenFromString(activityName), time, weight);
791 * @param time The time th
794 HistoricalRecord(ComponentName activityName, long time, float weight) argument
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java247 long time = millis >= 0 ? millis : -millis;
248 long tmp = time / 1000L;
249 long ms = time - tmp * 1000L;
251 time = tmp;
253 long s = time - tmp * 60L;
255 time = tmp;
257 long m = time - tmp * 60L;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java247 long time = millis >= 0 ? millis : -millis;
248 long tmp = time / 1000L;
249 long ms = time - tmp * 1000L;
251 time = tmp;
253 long s = time - tmp * 60L;
255 time = tmp;
257 long m = time - tmp * 60L;
/frameworks/base/services/core/java/com/android/server/notification/
H A DEventConditionProvider.java63 private static final String EXTRA_TIME = "time";
267 private void rescheduleAlarm(long now, long time) { argument
268 mNextAlarmTime = time;
274 .putExtra(EXTRA_TIME, time),
277 if (time == 0 || time < now) {
278 if (DEBUG) Slog.d(TAG, "Not scheduling evaluate: " + (time == 0 ? "no time specified"
279 : "specified time in the past"));
283 ts(time), formatDuratio
[all...]
H A DZenModeFiltering.java68 private static String ts(long time) { argument
69 return new Date(time) + " (" + time + ")";
250 final long time = mCalls.valueAt(i);
251 if (time > now || (now - time) > mThresholdMinutes * 1000 * 60) {
/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.h246 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time);
248 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
251 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
255 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
261 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);
153 * @return The time (in ms) it should take for each pixel. For instance, if returned value is
161 * <p>Calculates the time for deceleration so that transition from LinearInterpolator to
173 // this is why we divide linear scrolling time with .3356
178 * Calculates the time it should take to scroll the given distance (in pixels)
187 // time.
242 final int time = calculateTimeForScrolling(TARGET_SEEK_SCROLL_DISTANCE_PX);
248 , (int) (time * TARGET_SEEK_EXTRA_SCROLL_RATI
[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/base/services/core/java/com/android/server/job/
H A DJobPackageTracker.java78 long time = pastActiveTime;
80 time += now - activeStartTime;
82 return time;
86 long time = pastActiveTopTime;
88 time += now - activeTopStartTime;
90 return time;
94 long time = pastPendingTime;
96 time += now - pendingStartTime;
98 return time;
398 long time
[all...]
/frameworks/base/tools/preload/
H A DRoot.java85 loadedClass, record.time);
93 process.startOperation(record.tid, loadedClass, record.time,
98 process.startOperation(record.tid, loadedClass, record.time,
/frameworks/ex/common/java/com/android/common/
H A DLegacyHttpDateTime.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/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyboardShortcutsTestCase.java120 long time = SystemClock.uptimeMillis();
122 KeyEvent controlKey = new KeyEvent(time, time, event.getAction(), event.getKeyCode(),
/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.mk27 # 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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DConvolve5x5.java88 public void animateBars(float time) { argument
89 float f[] = updateMatrix(time % 1.f);
H A DFisheye.java71 public void animateBars(float time) { argument
72 scale = time % 2.f;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
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;

Completed in 537 milliseconds

1234567891011>>