/packages/apps/TV/src/com/android/tv/menu/ |
PlaybackProgressBar.java | 105 start = constrain(start, 0, mMax); 106 end = constrain(end, start, mMax); 107 mProgress = constrain(mProgress, start, end); 119 progress = constrain(progress, mProgressStart, mProgressEnd); 126 private long constrain(long value, long min, long max) { method in class:PlaybackProgressBar
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
AutoScrollHelper.java | 60 * <li>Maximum size used to constrain relative size, see 74 * <li>Minimum velocity used to constrain relative velocity, see 78 * <li>Maximum velocity used to constrain relative velocity, see 361 * be used to constrain the calculated relative edge size. 382 * the maximum edge will be used to constrain the calculated relative edge 555 return constrain(value * targetVelocity, minimumVelocity, maximumVelocity); 557 return -constrain(-value * targetVelocity, minimumVelocity, maximumVelocity); 606 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue); 619 return constrain(interpolated, -1, 1); 651 static int constrain(int value, int min, int max) method in class:AutoScrollHelper 661 static float constrain(float value, float min, float max) { method in class:AutoScrollHelper [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Analysis/ |
CloneDetection.h | 180 /// `void constrain(std::vector<CloneDetector::CloneGroup> &Sequences)` 187 C.constrain(CloneGroups); 272 void constrain(std::vector<CloneDetector::CloneGroup> &Sequences); 290 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinComplexityConstraint 309 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups) { function in class:clang::MinGroupSizeConstraint 319 void constrain(std::vector<CloneDetector::CloneGroup> &Result); 413 void constrain(std::vector<CloneDetector::CloneGroup> &CloneGroups);
|
/frameworks/base/core/java/com/android/internal/widget/ |
AutoScrollHelper.java | 60 * <li>Maximum size used to constrain relative size, see 74 * <li>Minimum velocity used to constrain relative velocity, see 78 * <li>Maximum velocity used to constrain relative velocity, see 361 * be used to constrain the calculated relative edge size. 382 * the maximum edge will be used to constrain the calculated relative edge 555 return constrain(value * targetVelocity, minimumVelocity, maximumVelocity); 557 return -constrain(-value * targetVelocity, minimumVelocity, maximumVelocity); 606 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue); 619 return constrain(interpolated, -1, 1); 651 private static int constrain(int value, int min, int max) method in class:AutoScrollHelper 661 private static float constrain(float value, float min, float max) { method in class:AutoScrollHelper [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 35 public static int constrain(int amount, int low, int high) { method in class:MathUtils 39 public static long constrain(long amount, long low, long high) { method in class:MathUtils 43 public static float constrain(float amount, float low, float high) { method in class:MathUtils
|
/frameworks/base/core/java/com/android/internal/graphics/ |
ColorUtils.java | 248 outHsl[0] = constrain(h, 0f, 360f); 249 outHsl[1] = constrain(s, 0f, 1f); 250 outHsl[2] = constrain(l, 0f, 1f); 328 r = constrain(r, 0, 255); 329 g = constrain(g, 0, 255); 330 b = constrain(b, 0, 255); 529 constrain((int) Math.round(r * 255), 0, 255), 530 constrain((int) Math.round(g * 255), 0, 255), 531 constrain((int) Math.round(b * 255), 0, 255)); 560 private static float constrain(float amount, float low, float high) method 564 private static int constrain(int amount, int low, int high) { method [all...] |
/frameworks/support/core-utils/java/android/support/v4/graphics/ |
ColorUtils.java | 204 outHsl[0] = constrain(h, 0f, 360f); 205 outHsl[1] = constrain(s, 0f, 1f); 206 outHsl[2] = constrain(l, 0f, 1f); 284 r = constrain(r, 0, 255); 285 g = constrain(g, 0, 255); 286 b = constrain(b, 0, 255); 485 constrain((int) Math.round(r * 255), 0, 255), 486 constrain((int) Math.round(g * 255), 0, 255), 487 constrain((int) Math.round(b * 255), 0, 255)); 516 private static float constrain(float amount, float low, float high) method in class:ColorUtils 520 private static int constrain(int amount, int low, int high) { method in class:ColorUtils [all...] |
/external/autotest/contrib/ |
remove_old_tests_in_tko.sql | 31 -- constrain. Move the cutoff time to 5 days older as some tko_jobs records 33 -- may lead to FK constrain violation.
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageSummaryPreference.java | 41 mPercent = MathUtils.constrain((int) ((usedBytes * 100) / totalBytes),
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
DisplayDensityUtils.java | 111 final int numLarger = (int) MathUtils.constrain((maxScale - 1) / MIN_SCALE_INTERVAL, 113 final int numSmaller = (int) MathUtils.constrain((1 - minScale) / MIN_SCALE_INTERVAL,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
fset2.c | 54 static set *constrain; /* pts into fset. constrains tToken() to 'constrain' */
variable 94 int MR_tree_matches_constraints(int k,set * constrain,Tree *t)
96 int MR_tree_matches_constraints(k,constrain,t)
98 set * constrain;
115 require (set_deg(constrain[0]) == 1,
117 i=set_int(constrain[0]);
121 if (MR_tree_matches_constraints(k-1,&constrain[1],u)) {
762 require(constrain>=fset&&constrain<=&(fset[CLL_k]),"tToken: constrain is not a valid set"); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
NotificationColorUtil.java | 898 private static int constrain(int amount, int low, int high) { method in class:NotificationColorUtil.ColorUtilsFromCompat 902 private static float constrain(float amount, float low, float high) { method in class:NotificationColorUtil.ColorUtilsFromCompat [all...] |
ProgressReporter.java | 147 + MathUtils.constrain((n * mSegmentRange[1]) / m, 0, mSegmentRange[1]);
|
/frameworks/base/core/java/android/widget/ |
TextInputTimePickerView.java | 205 MathUtils.constrain(hour, minHour, maxHour))); 220 mListener.onValueChanged(MINUTES, MathUtils.constrain(minutes, 0, 59));
|
/cts/tests/tests/content/src/android/content/cts/ |
TestPagingContentProvider.java | 112 int numItems = MathUtils.constrain(recordsetSize - offset, 0, limit);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
MagnificationController.java | 435 // Constrain scale immediately for use in the pivot calculations. 436 scale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); 610 final float normScale = MathUtils.constrain(scale, MIN_SCALE, MAX_SCALE); 631 final float offsetX = MathUtils.constrain(nonNormOffsetX, getMinOffsetXLocked(), 0); 636 final float offsetY = MathUtils.constrain(nonNormOffsetY, getMinOffsetYLocked(), 0); [all...] |
/frameworks/support/content/tests/java/android/support/content/ |
TestContentProvider.java | 155 int numItems = constrain(recordsetSize - offset, 0, limit); 342 private static int constrain(int amount, int low, int high) { method in class:TestContentProvider
|
/external/selinux/checkpolicy/ |
policy_scan.l | 71 CONSTRAIN | 72 constrain { return(CONSTRAIN); }
|