Searched refs:time (Results 126 - 150 of 292) sorted by relevance

1234567891011>>

/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp29 #include <sys/time.h>
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp21 #include <sys/time.h>
/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 DEdgeEffect.java356 final long time = AnimationUtils.currentAnimationTimeMillis();
357 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java295 float time = input * mDurationSeconds;
296 return time * mVelocity / mDiff;
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java84 * At the time when the constructor runs, the power manager has not yet been
203 long time = mStats.computeBatteryTimeRemaining(SystemClock.elapsedRealtime());
204 return time >= 0 ? (time/1000) : time;
210 long time = mStats.computeChargeTimeRemaining(SystemClock.elapsedRealtime());
211 return time >= 0 ? (time/1000) : time;
758 pw.println(" --history-start <num>: show only history data starting at given time offse
[all...]
/frameworks/native/include/input/
H A DVelocityTracker.h29 * Calculates the velocity of pointer movements over time.
40 // Estimator time base.
41 nsecs_t time; member in struct:android::VelocityTracker::Estimator
54 time = 0;
145 // Weight by time delta. Data points clustered together are weighted less.
/frameworks/native/libs/input/
H A DAndroid.mk17 # libinput is partially built for the host (used by build time keymap validation tool)
H A DVelocityTracker.cpp196 // time to adjust to changes in direction.
561 // Iterate over movement samples in reverse time order and collect samples.
565 float time[HISTORY_SIZE];
584 time[m] = -age * 0.000000001f;
600 if (solveLeastSquares(time, x, w, m, n, outEstimator->xCoeff, &xdet)
601 && solveLeastSquares(time, y, w, m, n, outEstimator->yCoeff, &ydet)) {
602 outEstimator->time = newestMovement.eventTime;
619 outEstimator->time = newestMovement.eventTime;
628 // Weight points based on how much time elapsed between them and the next
629 // point so that points that "cover" a shorter time spa
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp236 nsecs_t time = -systemTime(); local
239 time += systemTime();
241 //ALOGD(">>> generated new program: needs=%08X, time=%u ms (%d programs)",
242 // needs.mNeeds, uint32_t(ns2ms(time)), mCache.size());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java601 Time time = new Time(Time.TIMEZONE_UTC);
604 time.year = year >= 90 ? year + 1900 : year + 2000;
605 time.month = month - 1;
606 time.monthDay = day;
607 time.hour = hour;
608 time.minute = minute;
609 time.second = second;
612 return time.toMillis(true) - (timezoneOffset * 15 * 60 * 1000);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerView.java90 public void showFilterResults(int type, String string, int time) { argument
92 mResultAdapter.onSetFilter(type, string, time);
/frameworks/rs/
H A DrsScriptC_Lib.cpp28 #include <time.h>
85 return time(timer);
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java158 long time = SystemClock.uptimeMillis();
159 mPowerManager.userActivity(time, true /*noChangeLights*/);
160 mPowerManager.nap(time);
167 long time = SystemClock.uptimeMillis();
168 mPowerManager.userActivity(time, false /*noChangeLights*/);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java17 package com.android.datetimepicker.time;
750 * Announce the currently-selected time when launched.
755 // Clear the event's current text so that only the current time will be spoken.
757 Time time = new Time();
758 time.hour = getHours();
759 time.minute = getMinutes();
760 long millis = time.normalize(true);
773 * When scroll forward/backward events are received, jump the time to the higher/lower
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java427 final long time = ZenModeConfig.tryParseCountdownConditionId(condition.id);
428 if (time == 0) return null;
430 final long span = time - now;
433 time, Math.round(span / (float) MINUTES_MS), now, ActivityManager.getCurrentUser());
658 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId);
659 if (time > 0) {
666 final long span = time - System.currentTimeMillis();
710 // not on a known index, search for the next or prev bucket by time
712 final long time = ZenModeConfig.tryParseCountdownConditionId(conditionId);
718 if (up && bucketTime > time || !u
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiWatchdogStateMachine.java187 * Response time = confirm_count * sample_interval .
228 * Index i is incremented each time after a poor link detection.
244 * The max time to avoid a BSSID, to prevent avoiding forever.
245 * If current RSSI is at least min_rssi[i], the max avoidance time is at most max_time[i]
249 * time to be low to allow for quick turn around from temporary interference.
649 long time = mCurrentBssid.mBssidAvoidTimeMax - SystemClock.elapsedRealtime();
650 if (time <= 0) {
651 // max avoidance time is met
652 if (DBG) logd("Max avoid time elapsed");
664 if (DBG) logd("Link is still poor, time lef
971 GoodLinkTarget(int adj, int count, int time) argument
984 MaxAvoidTime(int time, int rssi) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java88 // Find current time
91 // Find boot time
94 // Find capture time (nanos since boot)
217 * The given location object must contain at least a valid time, latitude, and longitude
235 long time = location.getTime();
242 String dateTag = sExifGPSDateStamp.format(time);
243 mGPSTimeStampCalendar.setTimeInMillis(time);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java167 //Test case 1.1: test decay time and ratio
175 int time = mReverb.getDecayTime();
176 assertTrue(msg +": got incorrect decay time",
177 ((float)time > (float)(500 / DELAY_TOLERANCE)) &&
178 ((float)time < (float)(500 * DELAY_TOLERANCE)));
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java498 long time = durations[state];
501 time += now - curStartTime;
506 if (time != 0) {
515 TimeUtils.formatDuration(time, pw); pw.println(running);
517 totalTime += time;
535 long time = durations[state];
537 time += now - curStartTime;
539 if (time != 0) {
540 printAdjTagAndValue(pw, state, time);
572 long time
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp22 #include <time.h>
45 // record wall clock time at first enable
83 // was disabled, but add sample for accumulated time while enabled
89 // first time called
143 ALOGW("Can't compute elapsed time because measurements have never been enabled");
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c27 #include <time.h>
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp21 #include <sys/time.h>
H A DAMessage.cpp111 int32_t time = (ALooper::GetNowUs() / 1000); local
112 if (time / 1000 != gLastChecked / 1000) {
113 gLastChecked = time;
123 gLastChecked = time;
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.h67 static sp<WebmElement> CuePointEntry(uint64_t time, int track, uint64_t off);

Completed in 544 milliseconds

1234567891011>>