Searched refs:time (Results 151 - 175 of 323) sorted by relevance

1234567891011>>

/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp21 #include <sys/time.h>
/frameworks/base/core/java/android/widget/
H A DAnalogClock.java130 // The time zone may have changed while the receiver wasn't registered, so update the Time
133 // Make sure we update to the current time
257 String tz = intent.getStringExtra("time-zone");
267 private void updateContentDescription(Time time) { argument
270 time.toMillis(false), flags);
H A DEdgeEffect.java357 final long time = AnimationUtils.currentAnimationTimeMillis();
358 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java294 float time = input * mDurationSeconds;
295 return time * mVelocity / mDiff;
/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java183 * At the time when the constructor runs, the power manager has not yet been
333 long time = mStats.computeBatteryTimeRemaining(SystemClock.elapsedRealtime());
334 return time >= 0 ? (time/1000) : time;
340 long time = mStats.computeChargeTimeRemaining(SystemClock.elapsedRealtime());
341 return time >= 0 ? (time/1000) : time;
982 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/libs/ui/
H A DAndroid.mk23 LOCAL_CPPFLAGS += -Wno-exit-time-destructors
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp234 nsecs_t time = -systemTime(); local
237 time += systemTime();
239 //ALOGD(">>> generated new program: needs=%08X, time=%u ms (%d programs)",
240 // 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/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/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp26 #include <sys/time.h>
1202 // Right now, the only valid time to set a retransmit endpoint is before
1516 // slightly prematurely to allow time for the gapless track switch
2125 int32_t time = systemTime() / 1000000L; local
2150 mBatteryAudio.lastTime[i] += time;
2154 mBatteryAudio.lastTime[i] = 0 - time;
2166 // record the start time only if currently no other audio
2171 mBatteryAudio.lastTime[i] -= time;
2185 // record the stop time only if currently this is the only
2190 mBatteryAudio.lastTime[i] += time;
2265 int32_t time = systemTime() / 1000000L; //in ms local
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java92 // Find current time
95 // Find boot time
98 // Find capture time (nanos since boot)
224 * The given location object must contain at least a valid time, latitude, and longitude
243 long time = location.getTime();
250 String dateTag = sExifGPSDateStamp.format(time);
251 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.java502 long time = durations[state];
505 time += now - curStartTime;
510 if (time != 0) {
519 TimeUtils.formatDuration(time, pw); pw.println(running);
521 totalTime += time;
539 long time = durations[state];
541 time += now - curStartTime;
543 if (time != 0) {
544 printAdjTagAndValue(pw, state, time);
576 long time
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp23 #include <time.h>
46 // 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/codecs/avcdec/
H A DSoftAVCDec.h22 #include <sys/time.h>
29 /** Number of entries in the time-stamp array */
47 /** Get time */
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp24 #include <sys/time.h>
H A DAMessage.cpp133 int32_t time = (ALooper::GetNowUs() / 1000); local
134 if (time / 1000 != gLastChecked / 1000) {
135 gLastChecked = time;
145 gLastChecked = time;

Completed in 635 milliseconds

1234567891011>>