Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java598 final float percent = (Float) animation.getAnimatedValue(); in animateView()
602 float alphaPercent = alphaInterpolator == null ? percent : in animateView()
603 alphaInterpolator.getInterpolation(percent); in animateView()
604 float motionPercent = motionInterpolator == null ? percent : in animateView()
605 motionInterpolator.getInterpolation(percent); in animateView()
609 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); in animateView()
610 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); in animateView()
700 final float percent = (Float) animation.getAnimatedValue(); in fadeOutDragView()
702 float alpha = 1 - percent; in fadeOutDragView()
DFolderIcon.java208 final float percent = (Float) animation.getAnimatedValue(); in animateToAcceptState()
209 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState()
210 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState()
237 final float percent = (Float) animation.getAnimatedValue(); in animateToNaturalState()
238 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState()
239 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneLayout.java536 final float percent;
539 percent = (mDrawerWidthDelta - deltaX) / mDrawerWidthDelta;
541 percent = -deltaX / mDrawerWidthDelta;
545 percent = deltaX / mDrawerWidthDelta;
547 percent = (mDrawerWidthDelta + deltaX) / mDrawerWidthDelta;
551 return percent < 0 ? 0 : percent > 1 ? 1 : percent;
DFolderListFragment.java838 public void onDrawerDrag(float percent) { in onDrawerDrag() argument
839 mMiniDrawerView.setAlpha(1f - percent); in onDrawerDrag()
840 mListView.setAlpha(percent); in onDrawerDrag()
DTwoPaneController.java397 protected void onDrawerDrag(float percent) { in onDrawerDrag() argument
404 flf.onDrawerDrag(percent); in onDrawerDrag()
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressRenderer.java70 public void setProgress(int percent) { in setProgress() argument
72 percent = Math.min(100, Math.max(percent, 0)); in setProgress()
73 mProgressAngleDegrees = (int) ((360f / 100) * percent); in setProgress()
76 if (percent < 100) { in setProgress()
DProgressOverlay.java75 public void setProgress(int percent) { in setProgress() argument
76 mProgressRenderer.setProgress(percent); in setProgress()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java520 static int getRawTextZoom(int percent) { in getRawTextZoom() argument
521 return (percent - 100) / TEXT_ZOOM_STEP + TEXT_ZOOM_START_VAL; in getRawTextZoom()
529 static int getRawDoubleTapZoom(int percent) { in getRawDoubleTapZoom() argument
530 return (percent - 100) / DOUBLE_TAP_ZOOM_STEP + DOUBLE_TAP_ZOOM_START_VAL; in getRawDoubleTapZoom()
593 public void setTextZoom(int percent) { in setTextZoom() argument
594 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply(); in setTextZoom()
603 public void setDoubleTapZoom(int percent) { in setDoubleTapZoom() argument
604 mPrefs.edit().putInt(PREF_DOUBLE_TAP_ZOOM, getRawDoubleTapZoom(percent)).apply(); in setDoubleTapZoom()
/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java720 final float percent = (Float) animation.getAnimatedValue(); in animateView()
724 float alphaPercent = alphaInterpolator == null ? percent : in animateView()
725 alphaInterpolator.getInterpolation(percent); in animateView()
726 float motionPercent = motionInterpolator == null ? percent : in animateView()
727 motionInterpolator.getInterpolation(percent); in animateView()
731 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); in animateView()
732 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); in animateView()
DFolderIcon.java242 final float percent = (Float) animation.getAnimatedValue(); in animateToAcceptState()
243 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState()
244 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState()
271 final float percent = (Float) animation.getAnimatedValue(); in animateToNaturalState()
272 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState()
273 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionImpl.java149 public synchronized void setProgress(int percent) { in setProgress() argument
150 if (!mHasPreviouslySetProgress && percent == 0 && mImageLifecycleListener != null) { in setProgress()
154 mProgressPercent = percent; in setProgress()
157 listener.onProgressChanged(percent); in setProgress()
DCaptureSession.java129 public void setProgress(int percent); in setProgress() argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSummaryPreference.java38 public void setPercent(int percent) { in setPercent() argument
39 mPercent = percent; in setPercent()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModuleUI.java157 public void setPictureTakingProgress(int percent) { in setPictureTakingProgress() argument
158 mProgressOverlay.setProgress(percent); in setPictureTakingProgress()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java145 final int percent = (int) (100 in waitForStatus() local
148 Log.d(LOG_TAG, percent + "% complete"); in waitForStatus()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java639 int percent = 0; in updateProgress() local
642 percent = isDebugView() ? 50 : Integer.parseInt(state); in updateProgress()
646 String progress = Integer.toString(percent); in updateProgress()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java232 final int percent = (int) ((current * 100) / total); in updateWithLocked() local
233 builder.setProgress(100, percent, false); in updateWithLocked()
DDownloadStorageProvider.java321 String percent = in includeDownloadFromCursor() local
323 summary = getContext().getString(R.string.download_running_percent, percent); in includeDownloadFromCursor()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentSession.java99 public synchronized void setProgress(int percent) { in setProgress() argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java352 sipper.percent = percentOfTotal; in refreshStats()
/packages/providers/TelephonyProvider/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/packages/apps/Camera2/jni/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/packages/wallpapers/LivePicker/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/packages/services/Telephony/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/packages/apps/SpareParts/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

123