Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/tools/preload2/src/com/android/preload/actions/
DComputeThresholdAction.java43 protected int threshold; field in ComputeThresholdAction
51 public ComputeThresholdAction(String name, DumpTableModel dataTableModel, int threshold, in ComputeThresholdAction() argument
55 this.threshold = threshold; in ComputeThresholdAction()
89 Set<String> result = fromThreshold(uses, blacklist, threshold); in run()
105 int threshold) { in fromThreshold() argument
109 if (e.getValue().size() >= threshold) { in fromThreshold()
DComputeThresholdXAction.java35 threshold = Integer.parseInt(value); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DProximityEvaluator.java22 float threshold = 0.1f; in evaluate() local
24 threshold = 1.0f; in evaluate()
26 if (value >= threshold) evaluation += 2.0; in evaluate()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_deblocking.c212 u8 (*threshold)[16],
220 u8 (*threshold)[8],
2178 u8 (*threshold)[16], in GetLumaEdgeThresholds()
2191 ASSERT(threshold); in GetLumaEdgeThresholds()
2219 threshold[i][0] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2221 threshold[i][1] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2223 threshold[i][2] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2225 threshold[i][3] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2227 threshold[i][4] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2229 threshold[i][5] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_config_service.cpp92 status_t CommonTimeConfigService::getPanicThreshold(int *threshold) { in getPanicThreshold() argument
93 return mTimeServer.getPanicThreshold(threshold); in getPanicThreshold()
96 status_t CommonTimeConfigService::setPanicThreshold(int threshold) { in setPanicThreshold() argument
97 return mTimeServer.setPanicThreshold(threshold); in setPanicThreshold()
Dcommon_time_config_service.h45 virtual status_t getPanicThreshold(int *threshold);
46 virtual status_t setPanicThreshold(int threshold);
Dcommon_time_server_api.cpp225 status_t CommonTimeServer::getPanicThreshold(int *threshold) { in getPanicThreshold() argument
227 *threshold = mPanicThresholdUsec; in getPanicThreshold()
231 status_t CommonTimeServer::setPanicThreshold(int threshold) { in setPanicThreshold() argument
234 if (threshold < 1000) // Min threshold is 1mSec in setPanicThreshold()
237 mPanicThresholdUsec = threshold; in setPanicThreshold()
Dcommon_time_server.h71 status_t getPanicThreshold(int *threshold);
72 status_t setPanicThreshold(int threshold);
/frameworks/av/media/common_time/
DICommonTimeConfig.cpp246 virtual status_t getPanicThreshold(int *threshold) { in getPanicThreshold() argument
255 *threshold = reply.readInt32(); in getPanicThreshold()
262 virtual status_t setPanicThreshold(int threshold) { in setPanicThreshold() argument
265 data.writeInt32(threshold); in setPanicThreshold()
462 int threshold; in onTransact() local
463 status_t status = getPanicThreshold(&threshold); in onTransact()
466 reply->writeInt32(threshold); in onTransact()
473 int threshold = data.readInt32(); in onTransact() local
474 status_t status = setPanicThreshold(threshold); in onTransact()
/frameworks/base/libs/hwui/utils/
DMathUtils.h73 float angleInRads, float threshold) { in divisionsNeededToApproximateArc() argument
74 const float errConst = (-threshold / radius + 1); in divisionsNeededToApproximateArc()
/frameworks/av/include/common_time/
DICommonTimeConfig.h50 virtual status_t getPanicThreshold(int *threshold) = 0;
51 virtual status_t setPanicThreshold(int threshold) = 0;
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java273 private void assertEqualFuzzy(float expected, float actual, float threshold) { in assertEqualFuzzy() argument
274 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold; in assertEqualFuzzy()
276 "> while accepting a variation of: <"+threshold+">", fuzzyEqual); in assertEqualFuzzy()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java482 final int threshold = width * height / 4; in scanImage() local
483 if (bluePixels > threshold) { in scanImage()
487 if (greenPixels > threshold) { in scanImage()
491 if (blackPixels > threshold) { in scanImage()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java128 final float threshold = 1.0f / 256.0f; // contribution less than 1 LSB of RGB byte in draw() local
129 if (mAlpha <= threshold) // don't bother if it won't show up in draw()
/frameworks/base/core/java/android/os/
DCommonTimeConfig.java307 public int setPanicThreshold(int threshold) { in setPanicThreshold() argument
310 return mUtils.transactSetInt(METHOD_SET_PANIC_THRESHOLD, threshold); in setPanicThreshold()
/frameworks/opt/net/wifi/service/proto/
Dwifi.proto148 // Total number of networks over bad association threshold when watchdog triggered
151 // Total number of networks over bad authentication threshold when watchdog triggered
154 // Total number of networks over bad dhcp threshold when watchdog triggered
157 // Total number of networks over bad other threshold when watchdog triggered
/frameworks/av/media/libeffects/loudness/common/core/
Dbasic_types.h106 bool Equals(const WaveData &wave_data, int threshold = 0) const;
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dtns.h71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java655 int threshold = (int) (pixelCount * PACKING_THRESHOLD); in ComputeWorker() local
657 while (threshold > MAX_SIZE * MAX_SIZE) { in ComputeWorker()
658 threshold >>= 1; in ComputeWorker()
660 mThreshold = threshold; in ComputeWorker()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityGestureDetector.java256 final long threshold = mGestureStarted ? in onMotionEvent() local
262 if (timeDelta > threshold) { in onMotionEvent()
/frameworks/base/libs/hwui/
DPathTessellator.h115 static bool approximatePathOutlineVertices(const SkPath &path, float threshold,
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java620 public void setThreshold(int threshold) { in setThreshold() argument
621 if (threshold <= 0) { in setThreshold()
622 threshold = 1; in setThreshold()
625 mThreshold = threshold; in setThreshold()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.h82 SLpermille threshold);
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java205 long threshold = Settings.Global.getLong(mResolver, in restatDataDir() local
210 if (delta > threshold || delta < -threshold) { in restatDataDir()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java832 final float threshold = mCallback.getMoveThreshold(viewHolder); in moveIfNecessary() local
835 if (Math.abs(y - viewHolder.itemView.getTop()) < viewHolder.itemView.getHeight() * threshold in moveIfNecessary()
837 < viewHolder.itemView.getWidth() * threshold) { in moveIfNecessary()
1223 final float threshold = mRecyclerView.getWidth() * mCallback in checkHorizontalSwipe() local
1226 if ((flags & dirFlag) != 0 && Math.abs(mDx) > threshold) { in checkHorizontalSwipe()
1252 final float threshold = mRecyclerView.getHeight() * mCallback in checkVerticalSwipe() local
1254 if ((flags & dirFlag) != 0 && Math.abs(mDy) > threshold) { in checkVerticalSwipe()

123