/external/skia/src/images/ |
SkImageDecoder_libbmp.cpp | 119 SkScaledBitmapSampler sampler(width, height, getSampleSize()); 121 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 133 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, getDitherImage())) { 138 const int dstHeight = sampler.scaledHeight(); 141 srcRow += sampler.srcY0() * srcRowBytes; 143 sampler.next(srcRow); 144 srcRow += sampler.srcDY() * srcRowBytes;
|
SkImageDecoder_libpng.cpp | 292 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); 294 decodedBitmap->setConfig(config, sampler.scaledWidth(), 295 sampler.scaledHeight(), 0); 366 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors())) { 385 base += sampler.srcY0() * rb; 387 reallyHasAlpha |= sampler.next(base); 388 base += sampler.srcDY() * rb; 393 skip_src_rows(png_ptr, srcRow, sampler.srcY0()); 398 reallyHasAlpha |= sampler.next(srcRow); 400 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1) [all...] |
SkImageDecoder_libjpeg.cpp | 374 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height, 377 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); 389 if (!sampler.begin(bm, sc, this->getDitherImage())) { 390 return return_false(cinfo, *bm, "sampler.begin"); 395 // Possibly skip initial rows [sampler.srcY0] 396 if (!skip_src_rows(&cinfo, srcRow, sampler.srcY0())) { 411 sampler.next(srcRow); 417 if (!skip_src_rows(&cinfo, srcRow, sampler.srcDY() - 1)) { 624 SkScaledBitmapSampler sampler(width, height, skiaSampleSize) [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
SamplingProfiler.java | 106 * A sampler is created every time profiling starts and cleared 110 private TimerTask sampler; field in class:SamplingProfiler 247 if (sampler != null) { 250 sampler = new Sampler(); 251 timer.scheduleAtFixedRate(sampler, 0, 1000/samplesPerSecond); 259 if (sampler == null) { 262 sampler.cancel(); 263 sampler = null; 278 * The Sampler does the real work of the profiler [all...] |
/external/webkit/JavaScriptCore/runtime/ |
Executable.h | 113 if (SamplingTool* sampler = globalData->interpreter->sampler()) 114 sampler->notifyOfScope(this); 126 if (SamplingTool* sampler = exec->globalData().interpreter->sampler()) 127 sampler->notifyOfScope(this);
|
/external/v8/test/cctest/ |
test-log.cc | 434 class TestSampler : public v8::internal::Sampler { 437 : Sampler(0, true), 470 TestSampler sampler; local 471 sampler.Start(); 472 CHECK(!sampler.WasSampleStackCalled()); 475 CHECK(sampler.WaitForTick()); 476 CHECK(sampler.WasSampleStackCalled()); 477 sampler.Reset(); 478 CHECK(!sampler.WasSampleStackCalled()); 481 CHECK(sampler.WaitForTick()) [all...] |
/external/webkit/JavaScriptCore/interpreter/ |
Interpreter.h | 108 SamplingTool* sampler() { return m_sampler.get(); } function in class:JSC::Interpreter
|
/external/webkit/JavaScriptCore/jit/ |
JITInlineMethods.h | 284 move(ImmPtr(m_interpreter->sampler()->sampleSlot()), X86Registers::ecx); 285 storePtr(ImmPtr(m_interpreter->sampler()->encodeSample(instruction, inHostFunction)), X86Registers::ecx); 290 storePtr(ImmPtr(m_interpreter->sampler()->encodeSample(instruction, inHostFunction)), m_interpreter->sampler()->sampleSlot()); 299 move(ImmPtr(m_interpreter->sampler()->codeBlockSlot()), X86Registers::ecx); 305 storePtr(ImmPtr(codeBlock), m_interpreter->sampler()->codeBlockSlot());
|
JITStubs.cpp | 753 #define CTI_SAMPLER stackFrame.globalData->interpreter->sampler() [all...] |
/external/v8/src/ |
platform-macos.cc | 535 class Sampler::PlatformData : public Malloced { 537 explicit PlatformData(Sampler* sampler) 538 : sampler_(sampler), 544 Sampler* sampler_; 552 // Sampler thread handler. 554 // Loop until the sampler is disengaged. 609 // Entry point for sampler thread. 611 Sampler::PlatformData* data = 612 reinterpret_cast<Sampler::PlatformData*>(arg) [all...] |
platform-win32.cc | [all...] |
/frameworks/base/libs/rs/ |
rs.spec | 4 param RsScript sampler
|
/frameworks/base/graphics/java/android/renderscript/ |
RenderScript.java | 73 native void nContextBindSampler(int sampler, int slot);
|