Searched refs:result (Results 76 - 100 of 1828) sorted by relevance

1234567891011>>

/frameworks/wilhelm/tests/mimeUri/
H A DslesTest_playStates.cpp35 void ExitOnErrorFunc( SLresult result , int line)
37 if (SL_RESULT_SUCCESS != result) {
38 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
49 SLresult result; local
73 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
74 ExitOnError(result);
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
87 ExitOnError(result);
90 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
91 ExitOnError(result);
203 SLresult result; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c83 SLresult result; local
87 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
88 checkResult(result);
89 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
90 checkResult(result);
92 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
93 checkResult(result);
97 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputmixObject, 0, NULL, NULL);
98 checkResult(result);
99 result
[all...]
H A Dmultithread.c49 SLresult result; local
56 result = (*ta->mEngineEngine)->CreateOutputMix(ta->mEngineEngine, &myMixObject, 0, NULL,
58 assert(SL_RESULT_SUCCESS == result);
59 result = (*myMixObject)->Realize(myMixObject, SL_BOOLEAN_FALSE);
60 assert(SL_RESULT_SUCCESS == result);
73 result = (*ta->mEngineEngine)->CreateAudioPlayer(ta->mEngineEngine, &myPlayerObject,
75 assert(SL_RESULT_SUCCESS == result);
76 result = (*myPlayerObject)->Realize(myPlayerObject, SL_BOOLEAN_FALSE);
77 assert(SL_RESULT_SUCCESS == result);
79 result
109 SLresult result; local
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DInt3.java68 Int3 result = new Int3();
69 result.x = a.x + b.x;
70 result.y = a.y + b.y;
71 result.z = a.z + b.z;
73 return result;
95 Int3 result = new Int3();
96 result.x = a.x + b;
97 result.y = a.y + b;
98 result.z = a.z + b;
100 return result;
[all...]
H A DLong3.java68 Long3 result = new Long3();
69 result.x = a.x + b.x;
70 result.y = a.y + b.y;
71 result.z = a.z + b.z;
73 return result;
95 Long3 result = new Long3();
96 result.x = a.x + b;
97 result.y = a.y + b;
98 result.z = a.z + b;
100 return result;
[all...]
H A DShort3.java68 Short3 result = new Short3();
69 result.x = (short)(a.x + b.x);
70 result.y = (short)(a.y + b.y);
71 result.z = (short)(a.z + b.z);
73 return result;
95 Short3 result = new Short3();
96 result.x = (short)(a.x + b);
97 result.y = (short)(a.y + b);
98 result.z = (short)(a.z + b);
100 return result;
[all...]
H A DByte4.java67 Byte4 result = new Byte4();
68 result.x = (byte)(a.x + b.x);
69 result.y = (byte)(a.y + b.y);
70 result.z = (byte)(a.z + b.z);
71 result.w = (byte)(a.w + b.w);
73 return result;
96 Byte4 result = new Byte4();
97 result.x = (byte)(a.x + b);
98 result.y = (byte)(a.y + b);
99 result
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DTonesAutoTest.java38 boolean result = true;
48 result = false;
54 return result;
62 boolean result = true;
73 result = false;
85 result = false;
91 return result;
99 boolean result = true;
109 result = false;
115 return result;
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp97 void ExitOnErrorFunc( SLresult result , int line)
99 if (SL_RESULT_SUCCESS != result) {
100 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
130 SLresult result; local
131 result = (*caller)->GetFillLevel(caller, &level);
132 ExitOnError(result);
135 result = (*caller)->GetPrefetchStatus(caller, &status);
136 ExitOnError(result);
151 SLresult result; local
153 result
182 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &msec); local
276 SLresult result; local
537 SLresult result; local
[all...]
/frameworks/wilhelm/src/itf/
H A DIAndroidConfiguration.c35 result = SL_RESULT_PARAMETER_INVALID;
46 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey,
52 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey,
56 result = SL_RESULT_FEATURE_UNSUPPORTED;
77 result = SL_RESULT_PARAMETER_INVALID;
85 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz->mThis, configKey,
89 result = android_audioPlayer_getConfig((CAudioPlayer *) thiz->mThis, configKey,
92 result = SL_RESULT_FEATURE_UNSUPPORTED;
106 SLresult result; local
109 result
145 SLresult result; local
180 SLresult result; local
220 SLresult result; local
[all...]
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java36 * abstract methods and write a service that returns the result of {@link #getIBinder()}
91 * The activity needs to return the final result when it is complete so the Intent should contain
95 * <li> If the authenticator cannot synchronously process the request and return a result then it
96 * may choose to return null and then use the AccountManagerResponse to send the result
102 * parameters and the expected result.
105 * and return the result via that response when the activity finishes (or whenever else the
167 final Bundle result = AbstractAccountAuthenticator.this.addAccount(
171 if (result != null) {
172 result.keySet(); // force it to be unparcelled
174 Log.v(TAG, "addAccount: result "
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dl_add.h113 Word32 result; local
118 QADD result, L_var1, L_var2 local
120 return(result);
129 Word32 result; local
134 : "=r"(result)
137 return (result);
H A Dl_sub.h111 Word32 result; local
117 QSUB result, L_var1, L_var2 local
120 return(result);
130 Word32 result; local
135 : "=r"(result)
139 return (result);
/frameworks/base/libs/hwui/tests/microbench/
H A DPathParserBench.cpp32 PathParser::ParseResult result; local
34 PathParser::parseAsciiStringForSkPath(&skPath, &result, sPathString, length);
35 benchmark::DoNotOptimize(&result);
44 PathParser::ParseResult result; local
46 PathParser::getPathDataFromAsciiString(&outData, &result, sPathString, length);
47 benchmark::DoNotOptimize(&result);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
H A DIntArray.java44 public int[] toArray(int[] result) { argument
45 if (result == null || result.length < mSize) {
46 result = new int[mSize];
48 System.arraycopy(mData, 0, result, 0, mSize);
49 return result;
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor_test.cpp30 std::stringstream result; local
31 processor.writeToStream(&result, "");
32 std::string annotations = result.str();
41 std::stringstream result; local
42 processor.writeToStream(&result, "");
43 std::string annotations = result.str();
/frameworks/compile/mclinker/lib/MC/
H A DInputFactory.cpp37 Input* result = Alloc::allocate(); local
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset);
39 return result;
46 Input* result = Alloc::allocate(); local
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset);
48 return result;
/frameworks/base/location/tests/locationtests/src/android/location/
H A DLocationTest.java34 double result;
36 result = Location.convert(testDegreesCoord);
38 String.valueOf(result);
39 assertEquals(message, -80.075, result);
45 double result;
47 result = Location.convert(testMinutesCoord);
49 String.valueOf(result);
50 assertEquals(message, -80.085, result);
56 double result;
58 result
[all...]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java100 List<Map<String, Object>> result = new ArrayList<Map<String, Object>>();
102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic);
104 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id.canvas2);
106 addItem(result, "TextView LTR", BiDiTestTextViewLtr.class, R.id.textview_ltr);
107 addItem(result, "TextView RTL", BiDiTestTextViewRtl.class, R.id.textview_rtl);
108 addItem(result, "TextView LOC", BiDiTestTextViewLocale.class, R.id.textview_locale);
110 addItem(result, "TextDirection LTR", BiDiTestTextViewDirectionLtr.class, R.id.textview_direction_ltr);
111 addItem(result, "TextDirection RTL", BiDiTestTextViewDirectionRtl.class, R.id.textview_direction_rtl);
113 addItem(result, "TextAlignment LTR", BiDiTestTextViewAlignmentLtr.class, R.id.textview_alignment_ltr);
114 addItem(result, "TextAlignmen
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java147 int[] result = new int[4];
175 result = blender.blend(srcPixel, dstPixel, result);
177 // mixes the result with the opacity
179 dstPixels[x] = (result[3] & 0xFF) << 24 |
180 (result[0] & 0xFF) << 16 |
181 (result[1] & 0xFF) << 8 |
182 result[2] & 0xFF;
185 ((int) (dstPixel[3] + (result[3] - dstPixel[3]) * alpha) & 0xFF) << 24 |
186 ((int) (dstPixel[0] + (result[
199 blend(int[] src, int[] dst, int[] result) argument
[all...]
/frameworks/av/cmds/stagefright/filters/
H A Dsaturation.rs34 float3 result = dot(rgb, gMonoMult);
35 result = mix(result, rgb, gSaturation);
37 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f);
38 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f);
39 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
/frameworks/av/media/libstagefright/filters/
H A DsaturationARGB.rs34 float3 result = dot(rgb, gMonoMult);
35 result = mix(result, rgb, gSaturation);
37 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f);
38 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f);
39 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java131 int result;
137 result = specSize;
140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft
144 result = Math.min(result, specSize);
148 return result;
157 int result;
164 result = specSize;
167 result = (int) (-mAscent + mTextPaint.descent()) + mPaddingTop
171 result
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp37 jfloat result[2]; local
38 result[0] = sum / numPixels; // mean
39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev.
40 env->SetFloatArrayRegion(statsArray, 0, 2, result);
64 jfloat result[2]; local
65 result[0] = sum / numPixels; // mean
66 result[1] = (numPixels == 1) ?
67 0 : sqrt((sumSquares - numPixels * result[
[all...]
/frameworks/native/services/inputflinger/host/
H A DInputHost.cpp35 void InputHost::dump(String8& result) { argument
36 result.append(INDENT "Input Drivers:\n");
38 mDrivers[i]->dump(result);

Completed in 3280 milliseconds

1234567891011>>