/packages/apps/Dialer/java/com/android/dialer/common/ |
H A D | MathUtil.java | 27 * @param percent Percentage value, between 0 and 1 30 public static int lerp(int begin, int end, float percent) { argument 31 return (int) (begin * (1 - percent) + end * percent); 39 * @param percent Percentage value, between 0 and 1 42 public static float lerp(float begin, float end, float percent) { argument 43 return begin * (1 - percent) + end * percent;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ProgressOverlay.java | 73 * Set the progress state as a percent from 0-100. 75 public void setProgress(int percent) { argument 76 mProgressRenderer.setProgress(percent);
|
H A D | ProgressRenderer.java | 68 * @param percent the progress in percent (0-100). 70 public void setProgress(int percent) { argument 72 percent = Math.min(100, Math.max(percent, 0)); 73 mProgressAngleDegrees = (int) ((360f / 100) * percent); 76 if (percent < 100) {
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
H A D | AppDataUsagePreference.java | 35 public AppDataUsagePreference(Context context, AppItem item, int percent, argument 39 mPercent = percent;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | DonutView.java | 141 public void setPercentage(int percent) { argument 142 mPercent = percent;
|
/packages/apps/TV/src/com/android/tv/util/ |
H A D | ImageCache.java | 40 * Creates a new ImageCache object with a given cache size percent. 42 * @param memCacheSizePercent The cache size as a percent of available app memory. 69 * @param memCacheSizePercent The cache size as a percent of available app memory. Should be in 159 * setting percent to 0.2 would set the memory cache to one fifth of the available memory. 160 * Throws {@link IllegalArgumentException} if percent is < 0.05 or > .8. memCacheSize is stored 166 * @param percent Percent of available app memory to use to size memory cache. 168 public static int calculateMemCacheSize(float percent) { argument 169 if (percent < MIN_CACHE_SIZE_PERCENT || percent > MAX_CACHE_SIZE_PERCENT) { 170 throw new IllegalArgumentException("setMemCacheSizePercent - percent mus [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | CaptureModuleUI.java | 155 * @param percent amount of process done in percent 0-100. 157 public void setPictureTakingProgress(int percent) { argument 158 mProgressOverlay.setProgress(percent);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
H A D | CaptureIntentSession.java | 99 public synchronized void setProgress(int percent) { argument
|
/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | CaptureSession.java | 53 * @param progressPercent The current progress in percent. 126 * Set the progress in percent for the current session. If set to or left at 129 public void setProgress(int percent); argument 132 * Returns the progress of this session in percent.
|
H A D | CaptureSessionImpl.java | 76 /** The current progress of this session in percent. */ 149 public synchronized void setProgress(int percent) { argument 150 if (!mHasPreviouslySetProgress && percent == 0 && mImageLifecycleListener != null) { 154 mProgressPercent = percent; 157 listener.onProgressChanged(percent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | TwoPaneController.java | 397 protected void onDrawerDrag(float percent) { argument 404 flf.onDrawerDrag(percent);
|
H A D | FolderListFragment.java | 838 public void onDrawerDrag(float percent) { argument 839 mMiniDrawerView.setAlpha(1f - percent); 840 mListView.setAlpha(percent);
|
/packages/apps/TV/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |