Searched refs:time (Results 101 - 125 of 323) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.cpp24 #include <sys/time.h>
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp21 #include <sys/time.h>
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java152 final long time = move.getHistoricalEventTime(h);
155 final int swipe = detectSwipe(i, time, x, y);
169 private int detectSwipe(int i, long time, float x, float y) { argument
172 final long elapsed = time - mDownTime[i];
/frameworks/base/tools/aapt/
H A DMain.h26 #include <time.h>
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneResultAdapter.java45 /** SharedPref name and key for recent time zones */
120 public void onSetFilter(int filterType, String str, int time) { argument
122 Log.d(TAG, "onSetFilter: " + filterType + " [" + str + "] " + time);
127 mLastFilterTime = time;
162 ArrayList<Integer> indices = mTimeZoneData.getTimeZonesByOffset(time);
H A DTimeZoneInfo.java42 public static long time = System.currentTimeMillis() / 1000; field in class:TimeZoneInfo
64 mTransitions = getTransitions(tz, time);
134 // TODO Note: The local time is shown in current time (current GMT
135 // offset) which may be different from the time specified by
197 private static int[] getTransitions(TimeZone tz, long time) argument
208 if (objTransitions[i] < time) {
280 // if (this.mTransitions[i] < time) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java146 * Velocity is independent of the time when the events occurs,
251 long time = startime + (int) (i * dt);
252 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE);
257 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
258 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp178 ALOGD("serial: %llu, time: %lld", (long long unsigned)serialNum, (long long)time(NULL));
179 // MINOR: use modulo for counter and time, so that their sum does not
182 time_t counter = (time(NULL) / timeDivisor) % modulo + plus + serialNum % modulo;
/frameworks/base/core/java/android/widget/
H A DOverScroller.java240 * @param extend Additional time to scroll in milliseconds.
303 long time = AnimationUtils.currentAnimationTimeMillis();
304 // Any scroller can be used for time, since they were started
306 final long elapsedTime = time - mScrollerX.mStartTime;
516 * Returns the time elapsed since the beginning of the scrolling.
518 * @return The elapsed time in milliseconds.
523 final long time = AnimationUtils.currentAnimationTimeMillis();
525 return (int) (time - startTime);
557 // Animation starting time, in system milliseconds
706 final long time
[all...]
/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java146 * Add an event to the scheduler. Events with the same time will be
187 public SchedulableEvent getNextEvent(long time) { argument
192 // Is it time for this list to be processed?
193 if (lowestTime <= time) {
205 * and that the current time is System.nanoTime().
218 // Is it time for the earliest list to be processed?
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp63 /* Cache method IDs each time the class is loaded. */
134 /* EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) */
137 (JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) {
145 (EGLnsecsANDROID)time
136 android_eglPresentationTimeANDROID(JNIEnv *_env, jobject _this, jobject dpy, jobject sur, jlong time) argument
/frameworks/base/data/keyboards/
H A DAndroid.mk15 # This makefile performs build time validation of framework keymap files.
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java118 float time = (float) (System.currentTimeMillis() - start) / N * 1000;
119 System.out.println("Time: " + time + "mics");
/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/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DLevelsV4.java137 public void animateBars(float time) { argument
138 mSaturation = time % 2.f;
H A DVignette.java93 public void animateBars(float time) { argument
94 scale = time % 2.f;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DLevelsV4.java137 public void animateBars(float time) { argument
138 mSaturation = time % 2.f;
H A DVignette.java93 public void animateBars(float time) { argument
94 scale = time % 2.f;
H A DTestBase.java79 public void animateBars(float time) { argument
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.h22 #include <sys/time.h>
29 /** Number of entries in the time-stamp array */
47 /** Get time */
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp92 mDump->mMostRecent = time(NULL);
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java381 public float filter(long time, float in) { argument
398 mT[mIndex] = time;
400 mT[mIndex-COUNT] = time;
410 final float T = (mT[j]/2 + mT[j+1]/2 - time)*ns;
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp20 #include <sys/time.h>
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRRuleTest.java45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { argument
49 time.set(date);
51 out[i] = time.format2445().substring(0, 8); // Just YYMMDD
53 out[i] = time.format2445().substring(0, 15); // YYMMDDThhmmss
85 * @param tz The time zone. UTC is used if null is passed in.
125 boolean truncate = dtstartStr.length() <= 8; // Just date, not date-time
147 // we now want to finish, but in a reasonable time
268 // if the UNTIL date is timed, when the start is not, the time should be
/frameworks/rs/
H A DrsScriptIntrinsic.cpp19 #include <time.h>

Completed in 549 milliseconds

1234567891011>>