HomeSort by relevance Sort by last modified time
    Searched refs:duration (Results 676 - 700 of 2651) sorted by null

<<21222324252627282930>>

  /packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
SearchBarView.java 115 int duration = animate ? ANIMATION_DURATION : 0; local
117 AnimUtils.crossFadeViews(searchBoxExpanded, searchBoxCollapsed, duration);
120 animator.setDuration(duration);
149 int duration = animate ? ANIMATION_DURATION : 0; local
150 AnimUtils.crossFadeViews(searchBoxCollapsed, searchBoxExpanded, duration);
153 animator.setDuration(duration);
  /packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 189 int duration = verify(getActivity(), uri); local
190 // The duraion should be close to to the limit. The last video duration
191 // also has duration, so the total duration may exceeds the limit a
193 Log.v(TAG, "Video length is " + duration + " ms.");
194 assertTrue(duration < (durationLimit + 1) * 1000);
227 // Verify result code, result data, and the duration.
235 String duration = retriever.extractMetadata(
237 assertNotNull(duration);
238 int durationValue = Integer.parseInt(duration);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
Dates.java 240 final long duration = Math.abs(now - time); local
247 if (duration < HOUR_IN_MILLIS) {
248 count = duration / MINUTE_IN_MILLIS;
250 } else if (duration < DAY_IN_MILLIS) {
251 count = duration / HOUR_IN_MILLIS;
253 } else if (duration < WEEK_IN_MILLIS) {
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 20 import com.android.calendarcommon2.Duration;
117 Events.DURATION,
126 // window, we need to assume a maximum duration, since we only know
172 int durationColumn = entries.getColumnIndex(Events.DURATION);
189 Duration duration = new Duration(); local
225 duration.parse(durationStr);
229 Log.w(CalendarProvider2.TAG, "error parsing duration for event "
232 duration.sign = 1
    [all...]
  /toolchain/binutils/
build.py 250 print('Clean: {}'.format(clean_timer.duration))
251 print('Configure: {}'.format(configure_timer.duration))
252 print('Build: {}'.format(build_timer.duration))
253 print('Install: {}'.format(install_timer.duration))
254 print('Package: {}'.format(package_timer.duration))
255 print('Total: {}'.format(total_timer.duration))
  /external/deqp/modules/gles3/performance/
es3pBufferDataUploadTests.cpp 208 SampleType duration; member in struct:deqp::gles3::Performance::__anon18603::UploadSampleResult
220 SampleT duration; member in struct:deqp::gles3::Performance::__anon18603::RenderSampleResult
674 values[ndx] = samples[ndx].duration.*target;
693 values[ndx] = samples[ndx].duration.fitResponseDuration;
918 point.y() = (float)(samples[sampleNdx].duration.*target);
936 point.y() = (float)(samples[sampleNdx].duration.*target);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DragLayer.java 251 int duration) {
258 onFinishRunnable, animationEndStyle, duration, null);
265 public void animateViewIntoPosition(DragView dragView, final View child, int duration,
322 onCompleteRunnable, ANIMATION_END_DISAPPEAR, duration, anchorView);
328 int animationEndStyle, int duration, View anchorView) {
332 animateView(view, from, to, finalAlpha, initScaleX, initScaleY, finalScaleX, finalScaleY, duration,
348 * @param duration The duration of the animation.
360 final float finalScaleX, final float finalScaleY, int duration,
364 // Calculate the duration of the animation based on the object's distanc
    [all...]
  /frameworks/base/core/java/android/bluetooth/le/
BluetoothLeAdvertiser.java 150 int duration = 0; local
153 duration = (timeoutMillis < 10) ? 1 : timeoutMillis / 10;
159 duration, 0, wrapped); local
290 * @param duration advertising duration, in 10ms unit. Valid range is from 1 (10ms) to 65535
294 * duration has not expired. Valid range is from 1 to 255. 0 means no maximum.
303 AdvertiseData periodicData, int duration,
307 periodicData, duration, maxExtendedAdvertisingEvents, callback,
327 * @param duration advertising duration, in 10ms unit. Valid range is from 1 (10ms) to 6553
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DurationMinimap.java 58 /** Scale font size by this amount to get the max display length of call duration. */
114 CALL_DURATION_CLAMP /* max duration */);
300 * The x-axis shows two pieces of information: the duration of the call, and the context
301 * in which the call was made. The duration controls how long the displayed line is, and
316 long duration = c.getWallDuration(); local
324 duration = mPositionHelper.getMaxDuration();
332 duration = mPositionHelper.getMaxDuration();
338 duration);
422 /** Left Margin after which duration lines are drawn. */
428 /** # of pixels of padding between duration markers for different contexts. *
    [all...]
  /external/v8/src/heap/
gc-tracer.cc 253 double duration = current_.end_time - current_.start_time; local
259 MakeBytesAndDuration(current_.new_space_object_size, duration));
261 current_.survived_new_space_object_size, duration));
268 current_.scopes[i] = incremental_marking_scopes_[i].duration;
273 MakeBytesAndDuration(current_.start_object_size, duration));
281 MakeBytesAndDuration(current_.start_object_size, duration));
289 heap_->UpdateTotalGCTime(duration);
330 double duration = current_ms - allocation_time_ms_; local
334 allocation_duration_since_gc_ += duration;
361 void GCTracer::AddCompactionEvent(double duration,
399 double duration = current_.end_time - current_.start_time; local
435 double duration = current_.end_time - current_.start_time; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/
ccbench.py 166 duration = 0.0
179 return niters, duration
181 duration = t2 - start_time
182 if duration >= min_duration:
184 return niters, duration
258 # Taking the max duration rather than average gives pessimistic
308 duration = LATENCY_DURATION
309 nb_pings = int(duration / interval)
332 loop(start_time, duration * 1.5, end_event, do_yield=False)
403 def bandwidth_client(addr, packet_size, duration):
    [all...]
  /external/lisa/libs/wlgen/wlgen/
rta.py 34 :param duration_s: the phase duration in [s].
231 '__DURATION__' : str(self.duration),
238 if '__DURATION__' in line and self.duration is None:
239 raise ValueError('Workload duration not specified')
273 'duration': -1,
278 if self.duration is not None:
279 global_conf['duration'] = self.duration
280 self._log.warn('Limiting workload duration to %d [s]',
281 global_conf['duration'])
    [all...]
  /external/python/cpython2/Tools/ccbench/
ccbench.py 166 duration = 0.0
179 return niters, duration
181 duration = t2 - start_time
182 if duration >= min_duration:
184 return niters, duration
258 # Taking the max duration rather than average gives pessimistic
308 duration = LATENCY_DURATION
309 nb_pings = int(duration / interval)
332 loop(start_time, duration * 1.5, end_event, do_yield=False)
403 def bandwidth_client(addr, packet_size, duration)
    [all...]
  /external/python/cpython3/Tools/ccbench/
ccbench.py 164 duration = 0.0
177 return niters, duration
179 duration = t2 - start_time
180 if duration >= min_duration:
182 return niters, duration
256 # Taking the max duration rather than average gives pessimistic
309 duration = LATENCY_DURATION
310 nb_pings = int(duration / interval)
333 loop(start_time, duration * 1.5, end_event, do_yield=False)
405 def bandwidth_client(addr, packet_size, duration)
    [all...]
  /external/sonivox/arm-wt-22k/lib_src/
eas_rtttl.c 303 ticks = pData->duration * pData->tick;
398 /* duration or octave */
403 /* duration comes before note */
828 EAS_I32 duration; local
831 /* get the duration */
832 if ((result = RTTTL_GetNumber(hwInstData, pData, &duration)) != EAS_SUCCESS)
835 if ((duration != 1) && (duration != 2) && (duration != 4) && (duration != 8) && (duration != 16) && (duration != 32)
    [all...]
eas_ota.c 321 EAS_U32 duration; local
454 /* fetch note duration */
457 duration = pData->tick * (0x20 >> temp);
459 /* fetch note duration modifier */
468 duration += duration >> 1;
472 duration += (duration >> 1) + (duration >> 2);
476 duration = (duration * TRIPLET_MULTIPLIER) >> TRIPLET_SHIFT
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
FloatingActionMode.java 231 public void hide(long duration) {
232 if (duration == ActionMode.DEFAULT_HIDE_DURATION) {
233 duration = ViewConfiguration.getDefaultActionModeHideDuration();
235 duration = Math.min(MAX_HIDE_DURATION, duration);
237 if (duration <= 0) {
242 mOriginatingView.postDelayed(mHideOff, duration);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
AppearAnimationUtils.java 54 public AppearAnimationUtils(Context ctx, long duration, float translationScaleFactor,
60 mDuration = duration;
184 public void createAnimation(final View view, long delay, long duration, float translationY,
200 alphaAnim.setDuration(duration);
220 startTranslationYAnimation(view, delay, duration, appearing ? 0 : translationY,
225 public static void startTranslationYAnimation(View view, long delay, long duration,
238 translationAnim.setDuration(duration);
  /libcore/ojluni/src/main/java/java/util/concurrent/
TimeUnit.java 209 * Converts the given time duration in the given unit to this unit.
220 * @param sourceDuration the time duration in the given {@code sourceUnit}
222 * @return the converted duration in this unit,
232 * {@link #convert(long, TimeUnit) NANOSECONDS.convert(duration, this)}.
233 * @param duration the duration
234 * @return the converted duration,
238 public long toNanos(long duration) {
244 * {@link #convert(long, TimeUnit) MICROSECONDS.convert(duration, this)}.
245 * @param duration the duratio
    [all...]
  /packages/apps/Music/src/com/android/music/
TrackBrowserActivity.java 247 TextView duration; field in class:TrackBrowserActivity.TrackBrowseAdapter.ViewHolder
269 vh.duration = (TextView) convertView.findViewById(R.id.duration);
279 long duration = local
281 LogHelper.d(TAG, "duration: ", duration);
282 holder.duration.setText(MusicUtils.makeTimeString(getContext(), duration / 1000)); local
  /frameworks/base/core/tests/coretests/src/android/animation/
AnimatorSetActivityTest.java 119 // Run animations sequentially and test the total duration against sum of durations.
130 // Add delay to set, and test total duration
137 // Run animations simultaneously, test the total duration against the longest duration
142 long duration = list.get(i).getDuration(); local
144 maxDuration = maxDuration > (duration + 100) ? maxDuration : (duration + 100);
148 // Form a cycle in the AnimatorSet and test the total duration
164 long duration = a1.getDuration() + a1.getStartDelay() + a2.getDuration() + a2 local
168 duration = Math.max(duration, a4Duration)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
PeriodFormatterData.java 11 package android.icu.impl.duration.impl;
15 import android.icu.impl.duration.TimeUnit;
16 import android.icu.impl.duration.impl.DataRecord.ECountVariant;
17 import android.icu.impl.duration.impl.DataRecord.EDecimalHandling;
18 import android.icu.impl.duration.impl.DataRecord.EFractionHandling;
19 import android.icu.impl.duration.impl.DataRecord.EGender;
20 import android.icu.impl.duration.impl.DataRecord.EHalfPlacement;
21 import android.icu.impl.duration.impl.DataRecord.EHalfSupport;
22 import android.icu.impl.duration.impl.DataRecord.ENumberSystem;
23 import android.icu.impl.duration.impl.DataRecord.EPluralization
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
PeriodFormatterData.java 10 package com.ibm.icu.impl.duration.impl;
14 import com.ibm.icu.impl.duration.TimeUnit;
15 import com.ibm.icu.impl.duration.impl.DataRecord.ECountVariant;
16 import com.ibm.icu.impl.duration.impl.DataRecord.EDecimalHandling;
17 import com.ibm.icu.impl.duration.impl.DataRecord.EFractionHandling;
18 import com.ibm.icu.impl.duration.impl.DataRecord.EGender;
19 import com.ibm.icu.impl.duration.impl.DataRecord.EHalfPlacement;
20 import com.ibm.icu.impl.duration.impl.DataRecord.EHalfSupport;
21 import com.ibm.icu.impl.duration.impl.DataRecord.ENumberSystem;
22 import com.ibm.icu.impl.duration.impl.DataRecord.EPluralization
    [all...]
  /libcore/ojluni/src/main/java/java/time/
Duration.java 101 * It can be accessed using other duration-based units, such as minutes and hours.
106 * A physical duration could be of infinite length.
107 * For practicality, the duration is stored with constraints similar to {@link Instant}.
108 * The duration uses nanosecond resolution with a maximum value of the seconds that can
111 * The range of a duration requires the storage of a number larger than a {@code long}.
114 * The model is of a directed duration, meaning that the duration may be negative.
116 * The duration is measured in "seconds", but these are not necessarily identical to
127 public final class Duration
128 implements TemporalAmount, Comparable<Duration>, Serializable
328 Duration duration = ZERO; local
709 Duration duration = unit.getDuration().multipliedBy(amountToAdd); local
    [all...]
  /external/skia/tools/skpbench/
skpbench.cpp 45 DEFINE_int32(duration, 5000, "number of milliseconds to run the benchmark");
46 DEFINE_int32(sampleMs, 50, "minimum duration of a sample");
61 using duration = std::chrono::nanoseconds;
64 double seconds() const { return std::chrono::duration<double>(fDuration).count(); }
65 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); }
70 duration fDuration;
105 const Sample::duration sampleDuration = std::chrono::milliseconds(FLAGS_sampleMs);
106 const clock::duration benchDuration = std::chrono::milliseconds(FLAGS_duration);
138 const clock::duration sampleDuration = std::chrono::milliseconds(FLAGS_sampleMs);
139 const clock::duration benchDuration = std::chrono::milliseconds(FLAGS_duration)
    [all...]

Completed in 2143 milliseconds

<<21222324252627282930>>