HomeSort by relevance Sort by last modified time
    Searched full:duration (Results 301 - 325 of 1213) sorted by null

<<11121314151617181920>>

  /frameworks/base/docs/html/guide/topics/ui/notifiers/
toasts.jd 44 the text message, and the duration for the toast. It returns a properly initialized Toast
51 int duration = Toast.LENGTH_SHORT;
53 Toast toast = Toast.makeText(context, text, duration);
63 <pre>Toast.makeText(context, text, duration).show();</pre>
145 of the toast, such as the gravity and duration. Then call
  /frameworks/base/media/libstagefright/
Prefetcher.cpp 136 // fill the cache up to the max duration again.
176 LOGI("max duration reached, size = %d bytes", cacheSizeBytes);
259 int64_t duration; local
268 duration = getCachedDurationUs(&noMoreData);
269 } while (!noMoreData && duration < 2000000ll);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java 114 Events.DURATION
147 // window, we need to assume a maximum duration, since we only know
1051 Duration duration = new Duration(); local
1449 String duration = updatedValues.getAsString(Events.DURATION); local
2146 Duration duration = new Duration(); local
    [all...]
CalendarDatabaseHelper.java 241 // TODO: do we need both dtend and duration?
263 "duration TEXT," +
573 // eventTimezone is set to UTC, tries to make sure duration is in days, and that dtstart2
575 Cursor cursor = db.rawQuery("SELECT _id, dtstart, dtend, duration, dtstart2, dtend2, " +
582 String duration; local
598 duration = cursor.getString(3);
602 // and duration should be null.
638 if (!TextUtils.isEmpty(duration)) {
643 // enforce duration being null
645 "SET dtstart=?, dtend=?, dtstart2=?, dtend2=?, duration=?, "
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
ImageSourceAndroid.cpp 384 float duration = 0; local
391 duration = buffer->duration() / 1000.0f;
397 // Many annoying ads specify a 0 duration to make an image flash as quickly as possible.
398 // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify
399 // a duration of <= 10 ms. See gfxImageFrame::GetTimeout in Gecko or Radar 4051389 for more.
400 if (duration <= 0.010f)
401 duration = 0.100f;
402 return duration;
  /external/webkit/WebCore/platform/graphics/qt/
MediaPlayerPrivatePhonon.cpp 227 if (position > duration())
228 position = duration();
238 float MediaPlayerPrivate::duration() const function in class:WebCore::MediaPlayerPrivate
243 float duration = m_mediaObject->totalTime() / 1000.0f; local
245 if (duration == 0.0f) // We are streaming
246 duration = std::numeric_limits<float>::infinity();
248 LOG(Media, "MediaPlayerPrivatePhonon::duration() --> %f", duration);
249 return duration;
  /frameworks/base/test-runner/src/android/test/
TestRunner.java 398 long duration = 0; local
458 duration = endTime - mStartTime;
462 if (duration <= 1) {
464 } else if (duration <= 10) {
466 } else if (duration < 100) {
468 } else if (duration < 1000) {
469 iterations *= (int) ((1000 / duration) + 2);
475 if (duration != 0) {
477 performance(testNameInDb, (duration * 1000000) / iterations,
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_Playlists_MembersTest.java 52 Members.DURATION,
81 Members.DURATION,
212 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
260 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
  /external/netperf/
netcpu_ntperf.c 300 int duration; // in 100 usecs local
338 // Re-calculate duration, since we may have stoped early due to cntr-C.
344 duration = ActualDuration.LowPart;
348 fprintf(where,"ActualDuration (ms): %d\n", duration/10);
427 (double)DeltaInfo[MAXCPUS].InterruptCount*10000.0/(double)duration);
434 (double)DeltaInfo[i].InterruptCount*10000.0/(double)duration);
  /external/webkit/WebKit/android/WebCoreSupport/
MediaPlayerPrivateAndroid.cpp 134 float MediaPlayerPrivate::duration() const function in class:WebCore::MediaPlayerPrivate
352 void MediaPlayerPrivate::onPrepared(int duration, int width, int height) {
353 m_duration = duration / 1000.0f;
362 m_currentTime = duration();
394 static void OnPrepared(JNIEnv* env, jobject obj, int duration, int width, int height, int pointer) {
397 player->onPrepared(duration, width, height);
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
ValueParser.java 21 import com.android.internal.telephony.gsm.stk.Duration.TimeUnit;
78 * Retrieves Duration information from the Duration COMPREHENSION-TLV
82 * @return A Duration object
85 static Duration retrieveDuration(ComprehensionTlv ctlv) throws ResultException {
98 return new Duration(timeInterval, timeUnit);
  /packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java 334 long duration = doNoOpLookup(uri); local
335 if (duration < 0) {
339 sumNanos += duration;
420 long duration = System.nanoTime() - startTime; local
421 //Log.v(TAG, "got value: " + value + " in " + duration);
422 return duration;
553 long duration = mode == MODE_READ ? settingsRead(innerSleep) : settingsWrite(mode); local
554 if (duration < 0) {
558 sumMillis += duration;
581 long duration = SystemClock.uptimeMillis() - startTime local
611 long duration = SystemClock.uptimeMillis() - startTime; local
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
View_AnimationTest.java 42 private static final int DURATION = 2000;
57 mAnimation.setDuration(DURATION);
  /external/opencore/fileformats/mp4/composer/src/
editlistatom.cpp 43 void PVA_FF_EditListAtom::addEditEntry(uint32 duration, int32 time, uint16 rate)
45 _psegmentDurations->push_back(duration);
slconfigdescriptor.cpp 111 contents += 2; // (16 bits for AU duration)
112 contents += 2; // (16 bits for CU duration)
  /external/opencore/nodes/common/include/
pvmf_download_progress_interface.h 73 * Sets the clip duration for the objects with download support interface
75 * @param aClipDurationMsec - the unit of the duration is milli-seconds
  /external/opencore/protocols/systems/3g-324m_pvterminal/h324/tsc/src/
tsc_indication.cpp 236 // uint16 dtmf_duration (duration of pulse in mSec; 0 means no duration)
262 pUserInputIndication->signal->duration = dtmf_duration;
304 uint16 duration = 0; local
322 duration = pUserInputIndication->signal->duration;
325 false, duration));
469 //Obtain logical channel #1, and transmit the skew duration
  /external/tcpdump/
oakley.h 121 u_int8_t life_t; /* type of duration of lifetime */
122 u_int32_t ldur; /* life duration */
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 61 return J2Movie(env, movie)->duration();
126 { "duration", "()I", (void*)movie_duration },
  /frameworks/base/include/media/
ToneGenerator.h 206 static const unsigned int TONEGEN_INF = 0xFFFFFFFF; // Represents infinite time duration
218 // The data stored in segments[] is the duration of the corresponding period in ms.
219 // The first segment encountered with a 0 duration indicates that no more segment follows.
223 // When the tone generator encounters the first 0 duration segment, it will compare repeatCnt to mCurCount.
230 unsigned int duration; member in class:android::ToneGenerator::ToneSegment
249 // only if tone duration is less than about 27 Hours(@44100Hz sampling rate). If this time is exceeded,
251 unsigned int mMaxSmp; // Maximum number of audio samples played (maximun tone duration)
252 int mDurationMs; // Maximum tone duration in ms
  /frameworks/base/include/utils/
Timers.h 102 * Time the duration of something.
115 // Get the duration in microseconds.
  /hardware/ti/wlan/wl1271/TWD/MacServices/
measurementSrvDbgPrint.c 87 TRACE4( pMeasurementSRV->hReport, REPORT_SEVERITY_INFORMATION, "Measurement type request: type: %d, duration:%d, scan mode: %d, reserved: %d", pMsrTypeRequest->msrType, pMsrTypeRequest->duration, pMsrTypeRequest->scanMode, pMsrTypeRequest->reserved);
  /packages/apps/Calculator/src/com/android/calculator2/
ColorButton.java 87 private void drawMagicFlame(int duration, Canvas canvas) {
88 int alpha = 255 - 255 * duration / CLICK_FEEDBACK_DURATION;
  /packages/apps/Music/src/com/android/music/
RepeatingImageButton.java 134 * @param duration The number of milliseconds the button has been pressed so far.
139 void onRepeat(View v, long duration, int repeatcount);
  /system/wlan/ti/wilink_6_1/TWD/MacServices/
measurementSrvDbgPrint.c 87 TRACE4( pMeasurementSRV->hReport, REPORT_SEVERITY_INFORMATION, "Measurement type request: type: %d, duration:%d, scan mode: %d, reserved: %d", pMsrTypeRequest->msrType, pMsrTypeRequest->duration, pMsrTypeRequest->scanMode, pMsrTypeRequest->reserved);

Completed in 573 milliseconds

<<11121314151617181920>>