/frameworks/base/services/java/com/android/server/ |
H A D | BatteryService.java | 540 private void logOutlierLocked(long duration) { argument 551 if (duration <= durationThreshold && 556 if (DEBUG) Slog.v(TAG, "duration threshold: " + durationThreshold + 558 if (DEBUG) Slog.v(TAG, "duration: " + duration + " discharge: " +
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatService.java | 425 (cmdInput != null) && (cmdInput.duration != null)) { 449 buf.write(cmdInput.duration.timeUnit.SECOND.value()); // Time (Unit,Seconds) 450 buf.write(cmdInput.duration.timeInterval); // Time Duration
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 29 * This class encapsulates scrolling. The duration of the scroll 130 * Create a Scroller with the default duration and interpolator. 202 * @return The duration of the scroll in milliseconds. 342 * duration. 368 * @param duration Duration of the scroll in milliseconds. 370 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 373 mDuration = duration;
|
H A D | HorizontalScrollView.java | 1145 long duration = AnimationUtils.currentAnimationTimeMillis() - mLastScroll; 1146 if (duration > ANIMATED_SCROLL_GAP) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetFrame.java | 422 public void fadeFrame(Object caller, boolean takeControl, float alpha, int duration) { argument 435 mFrameFade.setDuration(duration);
|
H A D | KeyguardHostView.java | 111 void hideSecurityView(int duration); argument 1407 public void hideSecurityView(int duration) { 1408 mSecurityViewContainer.animate().alpha(0).setDuration(duration);
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 704 public void register(int duration) { argument 705 doCommandAsync(new RegisterCommand(duration)); 1053 int duration = ((RegisterCommand) evt).getDuration(); 1055 generateTag(), duration); 1447 private void onRegistrationDone(int duration) { argument 1449 mProxy.onRegistrationDone(this, duration); 1755 public RegisterCommand(int duration) { argument 1757 mDuration = duration;
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5Audio.java | 341 private native void nativeOnPrepared(int duration, int width, int height, int nativePointer); argument
|
H A D | WebView.java | 1811 public void awakenScrollBars(int duration) { argument 1812 WebView.this.awakenScrollBars(duration); 1815 public void awakenScrollBars(int duration, boolean invalidate) { argument 1816 WebView.this.awakenScrollBars(duration, invalidate);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | VideoEditorPerformance.java | 164 String imageItemFileName, int renderingMode, int duration) throws Exception { 168 imageItemFileName, duration, renderingMode); 407 * with duration = 2 sec behavior = BEHAVIOR_LINEAR, mask file name = 418 * behavior = BEHAVIOR_MIDDLE_FAST and duration = 4sec 428 * behavior = BEHAVIOR_MIDDLE_SLOW, duration = 3.5 sec 437 * behavior = BEHAVIOR_SPEED_DOWN, duration = 3.5 sec 446 * start time=1sec and duration =4secs 454 * duration = 4 sec with item = IMG_640x480_Overlay1.png 464 * start time=8sec and duration =2secs 471 * start time=5 sec and duration 163 createImageItems(MediaImageItem[] mIi, String imageItemFileName, int renderingMode, int duration) argument [all...] |
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ManageDialog.java | 77 mDuration = (TextView) view.findViewById(R.id.duration);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 152 * #EXTRA_DISCOVERABLE_DURATION} to request the duration of 153 * discoverability. Currently the default duration is 120 seconds, and 154 * maximum duration is capped at 300 seconds for each request. 158 * will be the duration (in seconds) of discoverability or 172 * #ACTION_REQUEST_DISCOVERABLE} intents to request a specific duration 669 * after <code>duration</code> seconds. For example, 120 seconds should be 687 * @param duration time in seconds to apply scan mode, only used for 692 public boolean setScanMode(int mode, int duration) { argument 696 if (mService != null) return mService.setScanMode(mode, duration);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | WaveView.java | 61 private static final long DURATION = 300; // duration of transitional animations 62 private static final long FINAL_DURATION = 200; // duration of final animations when unlocking 577 private synchronized void vibrate(long duration) { argument 586 mVibrator.vibrate(duration);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardStatusViewManager.java | 127 /* Show given message with icon for up to duration ms. Newer messages override older ones. 128 * The most recent message with the longest duration is shown as messages expire until 131 void post(final CharSequence message, final int icon, long duration) { argument 156 }, duration);
|
/frameworks/native/opengl/libs/GLES_trace/ |
H A D | gltrace.proto | 546 required int32 duration = 3; // duration of the call (MONOTONIC TIME) 554 optional int32 threadtime = 8; // duration of the call (THREAD TIME)
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 305 int duration = mp.getDuration(); 306 if (duration <= 0){
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 604 private synchronized void vibrate(long duration) { argument 609 mVibrator.vibrate(duration);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 730 // We want the duration of the page snap animation to be influenced by the distance that 731 // the screen has to travel, however, we don't want this duration to be effected in a 733 // of travel has on the overall snap duration. 783 int duration = 0; 786 duration = 4 * Math.round(1000 * Math.abs(distance / velocity)); 790 duration = (int) ((pageDelta + 1) * 100); 792 duration = Math.min(duration, MAX_SETTLE_DURATION); 794 mScroller.startScroll(sx, sy, dx, dy, duration);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 594 final long[] duration = new long[1]; 603 duration[0] = Debug.threadCpuTimeNanos() - start; 623 return duration[0];
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4PCMR_CoreReader.c | 228 pStreamDesc->duration = (M4OSA_Time)(((M4OSA_Double)(c->m_decoderConfig.DataLength)\
|
H A D | M4READER_Pcm.c | 383 M4OSA_TIME_TO_MS( fDuration, streamDesc.duration, streamDesc.timeScale);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 1385 video->duration = video->prevTimestamp[idx]; 1386 video->duration -= video->prevTimestamp[(++idx)%BITRATE_AVERAGE_WINDOW]; 1387 if (video->duration > 0) 1389 video->frameRate = (int)(FRAMERATE_SCALE) / video->duration;
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 1139 uint64_t duration; local 1147 duration = readU64(offset + 28); 1156 duration = readU32(offset + 20); 1165 info->mDuration = duration; 1670 ALOGV("duration: %lld", info->mSidxDuration); 1943 ALOGV("adding sample at offset 0x%08llx, size %u, duration %u, "
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 251 ALOGI("Found video size %u x %u, codec ID=%u, frameRate=%u, bitRate=%u, duration=%u ms", 253 videoInfo.bitRate, videoInfo.duration);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 253 /** The maximum length we will accept for a loaded animation duration: 3249 private Animation createExitAnimationLocked(int transit, int duration) { argument 3258 a.setDuration(duration); 3263 a.setDuration(duration); 3287 // Pick the desired duration. If this is an inter-activity transition, 3288 // it is the standard duration for that. Otherwise we use the longer 3289 // task transition duration. 3290 int duration; 3294 duration = mContext.getResources().getInteger( 3298 duration [all...] |