Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsPackageEntry.java166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() argument
167 if (amount > ALWAYS_THRESHOLD) { in getFrequency()
169 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
170 } else if (amount > SOMETIMES_THRESHOLD) { in getFrequency()
172 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
175 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
DProcessStatsPreference.java50 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init() local
52 setSummary(Formatter.formatShortFileSize(getContext(), (long) amount)); in init()
53 setProgress((int) (100 * amount / maxMemory)); in init()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java166 public static CharSequence getFrequency(float amount, Context context) { in getFrequency() argument
167 if (amount > ALWAYS_THRESHOLD) { in getFrequency()
169 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
170 } else if (amount > SOMETIMES_THRESHOLD) { in getFrequency()
172 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
175 Utils.formatPercentage((int) (amount * 100))); in getFrequency()
DProcessStatsPreference.java50 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init() local
52 setSummary(Formatter.formatShortFileSize(getContext(), (long) amount)); in init()
53 setProgress((int) (100 * amount / maxMemory)); in init()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileTsStreamer.java368 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
371 while (mBytesFetched < pos + amount && mStreaming) { in readAt()
395 int bytesToCopyInFirstPass = amount; in readAt()
400 if (bytesToCopyInFirstPass < amount) { in readAt()
406 amount - bytesToCopyInFirstPass); in readAt()
408 mLastReadPosition = pos + amount; in readAt()
410 return amount; in readAt()
DTunerTsStreamer.java421 public int readAt(long pos, byte[] buffer, int offset, int amount) throws IOException { in readAt() argument
431 if (mBytesFetched < pos + amount) { in readAt()
442 int endPos = (int) ((pos + amount) % CIRCULAR_BUFFER_SIZE); in readAt()
445 if (firstLength < amount) { in readAt()
447 mCircularBuffer, 0, buffer, offset + firstLength, amount - firstLength); in readAt()
450 return amount; in readAt()
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/
DPlaylist.java112 private static int constrain(int amount, int low, int high) { in constrain() argument
113 return amount < low ? low : (amount > high ? high : amount); in constrain()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1073 private int getSpringOverScroll(int amount) { in getSpringOverScroll() argument
1075 return amount < 0 in getSpringOverScroll()
1083 protected void dampedOverScroll(int amount) { in dampedOverScroll() argument
1084 if (amount == 0) { in dampedOverScroll()
1089 int overScrollAmount = OverScroll.dampedScroll(amount, size); in dampedOverScroll()
1091 mSpringOverScroll = getSpringOverScroll(amount); in dampedOverScroll()
1102 protected void overScroll(int amount) { in overScroll() argument
1104 mSpringOverScroll = getSpringOverScroll(amount); in overScroll()
1109 if (amount == 0) return; in overScroll()
1112 int scrollAmount = amount < 0 ? mMinScroll + amount : mMaxScroll + amount; in overScroll()
[all …]
DWorkspace.java960 protected void overScroll(int amount) { in overScroll() argument
962 ((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl)); in overScroll()
965 ((amount >= 0 && !mIsRtl) || (amount <= 0 && mIsRtl)); in overScroll()
973 mLastOverlayScroll = Math.abs(((float) amount) / getMeasuredWidth()); in overScroll()
976 dampedOverScroll(amount); in overScroll()
985 protected boolean onOverscroll(int amount) { in onOverscroll() argument
987 if ((amount > 0 && !mIsRtl) || (amount < 0 && mIsRtl)) return false; in onOverscroll()
988 return super.onOverscroll(amount); in onOverscroll()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DOverScroll.java42 public static int dampedScroll(float amount, int max) { in dampedScroll() argument
43 if (Float.compare(amount, 0) == 0) return 0; in dampedScroll()
45 float f = amount / max; in dampedScroll()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeClock.java82 public void increment(TimeUnit unit, long amount) { in increment() argument
83 mCurrentTimeMillis += unit.toMillis(amount); in increment()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java74 private List<LiveWallpaperInfo> generatePlaceholderViews(int amount) { in generatePlaceholderViews() argument
75 ArrayList<LiveWallpaperInfo> list = new ArrayList<LiveWallpaperInfo>(amount); in generatePlaceholderViews()
76 for (int i = 0; i < amount; i++) { in generatePlaceholderViews()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSummaryPreference.java53 public void setAmount(String amount) { in setAmount() argument
54 mAmount = amount; in setAmount()
/packages/apps/Settings/src/com/android/settings/
DSummaryPreference.java53 public void setAmount(String amount) { in setAmount() argument
54 mAmount = amount; in setAmount()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppMemoryPreferenceController.java86 double amount = Math.max(entry.getRunWeight(), entry.getBgWeight()) in onPostExecute() local
89 Formatter.formatShortFileSize(mContext, (long) amount))); in onPostExecute()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppMemoryPreferenceController.java86 double amount = Math.max(entry.getRunWeight(), entry.getBgWeight()) in onPostExecute() local
89 Formatter.formatShortFileSize(mContext, (long) amount))); in onPostExecute()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java438 private static float lerp(float start, float stop, float amount) { in lerp() argument
439 return start + (stop - start) * amount; in lerp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java2164 protected boolean onOverscroll(int amount) { in onOverscroll() argument
2166 if ((amount > 0 && !mIsRtl) || (amount < 0 && mIsRtl)) return false; in onOverscroll()
2167 return super.onOverscroll(amount); in onOverscroll()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto124 // The estimated amount of time in seconds before the transcription will be
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto544 // High amount of traffic
547 // Intermediate amount of traffic
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md174 … is said to be an in situ algorithm, or in-place algorithm, if the extra amount of memory required…
Dfaq.md271 …ery large JSON files. Some server-side applications need to process huge amount of JSONs. Being hi…
DDoxyfile.in66 # option can be useful when feeding doxygen a huge amount of source files, where
1194 # a fully collapsed tree already exceeds this amount). So setting the number of
2190 # but if the number exceeds 15, the total amount of fields shown is limited to
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile46 # Enabling this option can be useful when feeding doxygen a huge amount of

12