Home
last modified time | relevance | path

Searched refs:scale_index (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/cc/layers/
Dpicture_layer_impl_unittest.cc2283 size_t scale_index = 0; in TEST_F() local
2309 scale_index = 0; in TEST_F()
2312 while (std::abs(tile->contents_scale() - expected_scales[scale_index]) > in TEST_F()
2314 ++scale_index; in TEST_F()
2315 ASSERT_LT(scale_index, arraysize(expected_scales)); in TEST_F()
2318 EXPECT_FLOAT_EQ(tile->contents_scale(), expected_scales[scale_index]); in TEST_F()
2340 scale_index = 0; in TEST_F()
2353 scale_index = 0; in TEST_F()
2356 while (std::abs(tile->contents_scale() - expected_scales[scale_index]) > in TEST_F()
2358 ++scale_index; in TEST_F()
[all …]
/external/opencv/cv/src/
Dcvsmooth.cpp1167 float len, scale_index; in icvBilateralFiltering_32f() local
1207 scale_index = kExpNumBins/len; in icvBilateralFiltering_32f()
1214 double val = i / scale_index; in icvBilateralFiltering_32f()
1247 float alpha = (float)(fabs(val - val0)*scale_index); in icvBilateralFiltering_32f()
1268 float alpha = (float)((fabs(b - b0) + fabs(g - g0) + fabs(r - r0))*scale_index); in icvBilateralFiltering_32f()
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc176 int scale_index = in HandleMagnifyScreen() local
179 int new_scale_index = std::max(0, std::min(8, scale_index + delta_index)); in HandleMagnifyScreen()