Searched defs:fit (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
H A D | Tonal.java | 148 // palette and finds a best fit amongst a collection of pre-defined 149 // palettes. The best fit is tweaked to be closer to the source color 169 Log.w(TAG, "Could not find best fit!"); 174 float[] h = fit(palette.h, hsl[0], fitIndex, 176 float[] s = fit(palette.s, hsl[1], fitIndex, 0.0f, 1.0f); 177 float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f); 304 * @param data what you want to fit 311 private static float[] fit(float[] data, float v, int index, float min, float max) { method in class:Tonal
|
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 113 fit(0, period * 12 / 7, 8, &a, &b, &err); 125 bool VideoFrameScheduler::PLL::fit( function in class:android::VideoFrameScheduler::PLL 246 fit(firstTime, delta, numSamplesToUse, &a, &b, &err); 255 fit(firstTime, delta, numSamplesToUse, &a, &b, &err); 298 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { 301 ALOGV("could not fit - keeping old period:%lld", (long long)mPeriod);
|
Completed in 62 milliseconds