Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java83 public TouchEventGenerator put(int id, int x, int y, long ms) { in put() argument
95 generateEvent(action, ms); in put()
123 public TouchEventGenerator move(long ms) { in move() argument
124 generateEvent(MotionEvent.ACTION_MOVE, ms); in move()
141 public TouchEventGenerator move(int id, int x, int y, long ms) { in move() argument
142 return position(id, x, y).move(ms); in move()
155 public TouchEventGenerator lift(int id, long ms) { in lift() argument
166 generateEvent(action, ms); in lift()
174 public TouchEventGenerator lift(int id, int x, int y, long ms) { in lift() argument
177 return lift(id, ms); in lift()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeClock.java53 public void setCurrentTimeMillis(long ms) { in setCurrentTimeMillis() argument
54 if (ms < mBootTimeMillis) { in setCurrentTimeMillis()
57 mCurrentTimeMillis = ms; in setCurrentTimeMillis()
60 public void setBootTimeMillis(long ms) { in setBootTimeMillis() argument
61 if (ms > mCurrentTimeMillis) { in setBootTimeMillis()
64 mBootTimeMillis = ms; in setBootTimeMillis()
103 public void sleep(long ms) { in sleep() argument
105 mCurrentTimeMillis += ms; in sleep()
/packages/apps/Gallery2/src/com/android/photos/shims/
DMediaSetLoader.java153 MediaSet ms = mMediaSet.getSubMediaSet(index); in uriForItem() local
154 return ms == null ? null : ms.getContentUri(); in uriForItem()
160 MediaSet ms = mMediaSet.getSubMediaSet(index); in urisForSubItems() local
161 if (ms == null) return null; in urisForSubItems()
163 ms.enumerateMediaItems(new MediaSet.ItemConsumer() { in urisForSubItems()
185 MediaSet ms = mMediaSet.getSubMediaSet(index); in getPathForItem() local
186 if (ms != null) { in getPathForItem()
187 return ms.getPath(); in getPathForItem()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp100 double lz,ms,ns,mn,m,n,lz_through2; in db_SolveQuartic() local
143 ms=lz+c3c3through4_min_c2; in db_SolveQuartic()
147 if((ms>=0.0)&&(ns>=0.0)) in db_SolveQuartic()
149 m=sqrt(ms); in db_SolveQuartic()
172 double lz,ms,ns,mn,m,n,lz_through2; in db_SolveQuarticForced() local
215 ms=lz+c3c3through4_min_c2; in db_SolveQuarticForced()
219 if(ms<0.0) ms=0.0; in db_SolveQuarticForced()
222 m=sqrt(ms); in db_SolveQuarticForced()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp104 MemoryStream ms(data, size); in TestEncodedInputStream() local
105 EncodedInputStream<FileEncoding, MemoryStream> eis(ms); in TestEncodedInputStream()
144 MemoryStream ms(data, size); in TestAutoUTFInputStream() local
145 AutoUTFInputStream<unsigned, MemoryStream> eis(ms); in TestAutoUTFInputStream()
279 MemoryStream ms(json, sizeof(json)); in TEST_F() local
280 AutoUTFInputStream<unsigned, MemoryStream> eis(ms, kUTF8); in TEST_F()
Dreadertest.cpp949 MemoryStream ms("{\"a\"", 1); in TEST() local
952 EXPECT_FALSE(reader.Parse<kParseStopWhenDoneFlag>(ms, h)); in TEST()
/packages/apps/TV/common/src/com/android/tv/common/util/
DClock.java53 void sleep(long ms); in sleep() argument
69 public void sleep(long ms) {
70 SystemClock.sleep(ms);
/packages/apps/Nfc/nci/jni/
DIntervalTimer.cpp33 bool IntervalTimer::set(int ms, TIMER_FUNC cb) { in set() argument
46 ts.it_value.tv_sec = ms / 1000; in set()
47 ts.it_value.tv_nsec = (ms % 1000) * 1000000; in set()
DIntervalTimer.h29 bool set(int ms, TIMER_FUNC cb);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamFragment.java191 private void setDreamTime(int ms) { in setDreamTime() argument
192 Settings.System.putInt(getActivity().getContentResolver(), SCREEN_OFF_TIMEOUT, ms); in setDreamTime() local
201 private void setSleepTime(int ms) { in setSleepTime() argument
202 Settings.Secure.putInt(getActivity().getContentResolver(), SLEEP_TIMEOUT, ms); in setSleepTime() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java991 int ms = (int)(distance * SCROLL_DURATION_MS_PER_PIX); in getScrollDuration() local
993 if (ms < minValue) { in getScrollDuration()
994 ms = minValue; in getScrollDuration()
995 } else if (ms > SCROLL_DURATION_MAX) { in getScrollDuration()
996 ms = SCROLL_DURATION_MAX; in getScrollDuration()
998 return ms; in getScrollDuration()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DTouchEventTranslator.java135 private TouchEventTranslator put(int id, int index, float x, float y, long ms, MotionEvent ev) { in put() argument
160 generateEvent(action, ms, ev); in put()
225 private void generateEvent(int action, long ms, MotionEvent ev) { in generateEvent() argument
229 ms, in generateEvent()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp176 MemoryStream ms(json_, length_); in TEST_F() local
177 EncodedInputStream<UTF8<>, MemoryStream> is(ms); in TEST_F()
186 MemoryStream ms(json_, length_); in TEST_F() local
187 AutoUTFInputStream<unsigned, MemoryStream> is(ms); in TEST_F()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperIdleLock.java51 public boolean awaitLocked(long ms) { in awaitLocked() argument
56 mLock.wait(ms); in awaitLocked()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java82 protected void waitForMs(long ms) { in waitForMs() argument
84 Thread.sleep(ms); in waitForMs()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastActivityTestCase.java64 public static void waitForMs(long ms) { in waitForMs() argument
66 Thread.sleep(ms); in waitForMs()
DCellBroadcastServiceTestCase.java60 protected static void waitForMs(long ms) { in waitForMs() argument
62 Thread.sleep(ms); in waitForMs()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java178 String ms = String.format("Magnetic uT: (%6.2f, %6.2f, %6.2f)",
180 mTextUpdateHandler.setMagField(ms);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java169 int ms = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in DragView() local
170 measure(ms, ms); in DragView()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java221 private void recordVideo(int ms) throws Exception {
223 Thread.sleep(ms);
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java244 private void recordVideo(int ms) throws Exception {
246 Thread.sleep(ms);
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileSelectorTest.java296 public static void waitForMs(long ms) { in waitForMs() argument
298 Thread.sleep(ms); in waitForMs()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java355 private void waitForMs(long ms) {
357 Thread.sleep(ms);
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dlv_wordlist.combined.gz

12