diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-11-04 15:55:18 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-11-04 15:57:49 -0700 |
commit | dfcfabfccad8a8f2f42f83081638c7e5c9bfb4b9 (patch) | |
tree | d41b3b3daba01057f0cad47f0197b8f826a3b0c8 /cpp/ScriptIntrinsics.cpp | |
parent | 2600da366b2d1467a009510b0f4e55ca0c55762c (diff) | |
download | rs-dfcfabfccad8a8f2f42f83081638c7e5c9bfb4b9.tar.gz |
Fix google-build-using-namespace warnings.
Replace "using namespace ..." with "using namespace::identifier"
for every imported identifiers.
Bug: 32670901
Test: make with WITH_TIDY=1
Change-Id: Iae11a95b386c7e783e3bc50312a8fd4209e4ced7
Diffstat (limited to 'cpp/ScriptIntrinsics.cpp')
-rw-r--r-- | cpp/ScriptIntrinsics.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/cpp/ScriptIntrinsics.cpp b/cpp/ScriptIntrinsics.cpp index b1a6dcf1..da587c42 100644 --- a/cpp/ScriptIntrinsics.cpp +++ b/cpp/ScriptIntrinsics.cpp @@ -19,8 +19,18 @@ #include "RenderScript.h" #include "rsCppInternal.h" -using namespace android; -using namespace RSC; +using android::RSC::ScriptIntrinsic; +using android::RSC::ScriptIntrinsic3DLUT; +using android::RSC::ScriptIntrinsicBlend; +using android::RSC::ScriptIntrinsicBlur; +using android::RSC::ScriptIntrinsicColorMatrix; +using android::RSC::ScriptIntrinsicConvolve3x3; +using android::RSC::ScriptIntrinsicConvolve5x5; +using android::RSC::ScriptIntrinsicHistogram; +using android::RSC::ScriptIntrinsicLUT; +using android::RSC::ScriptIntrinsicResize; +using android::RSC::ScriptIntrinsicYuvToRGB; +using android::RSC::sp; ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e) : Script(nullptr, rs) { @@ -633,4 +643,4 @@ void ScriptIntrinsicYuvToRGB::forEach(const sp<Allocation>& out) { } Script::forEach(0, nullptr, out, nullptr, 0); -}
\ No newline at end of file +} |