/cts/apps/CtsVerifier/include/colorchecker/ |
D | vec3.h | 36 inline Vec3<T> operator+ (const Vec3<U> ¶m) const { 37 Vec3<T> temp(mRed + param.r(), mGreen + param.g(), mBlue + param.b()); 41 inline Vec3<T> operator- (const Vec3<T> ¶m) const { 42 Vec3<T> temp(mRed - param.r(), mGreen - param.g(), mBlue - param.b()); 46 inline Vec3<T> operator* (const int param) const { 47 Vec3<T> temp(mRed * param, mGreen * param, mBlue * param); 52 inline Vec3<float> operator* (const Vec3<U> ¶m) const { 53 Vec3<float> temp(mRed * static_cast<U>(param.r()), 54 mGreen * static_cast<U>(param.g()), 55 mBlue * static_cast<U>(param.b())); [all …]
|
D | vec2.h | 33 inline Vec2<T> operator+ (const Vec2<T> ¶m) const { 34 Vec2<T> temp(mX + param.x(), mY + param.y()); 38 inline Vec2<T> operator- (const Vec2<T> ¶m) const { 39 Vec2<T> temp(mX - param.x(), mY - param.y()); 43 inline Vec2<float> operator/ (const int param) const { 44 assert(param != 0); 45 return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param), 46 static_cast<float>(mY) / static_cast<float>(param)); 50 float squareDistance(const Vec2<U> ¶m) const { in squareDistance() argument 52 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * in squareDistance() [all …]
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioProtocol.cpp | 29 bool AudioProtocol::sendCommand(AudioParam& param) in sendCommand() argument 36 bool AudioProtocol::handleReply(const uint32_t* data, AudioParam* param) in handleReply() argument 91 bool CmdDownload::sendCommand(AudioParam& param) in sendCommand() argument 94 mBuffer[1] = htonl(4 + param.mBuffer->getSize()); in sendCommand() 95 mBuffer[2] = htonl(param.mId); in sendCommand() 99 return sendData(param.mBuffer->getData(), param.mBuffer->getSize()); in sendCommand() 109 bool CmdStartPlayback::sendCommand(AudioParam& param) in sendCommand() argument 113 mBuffer[2] = htonl(param.mId); in sendCommand() 114 mBuffer[3] = htonl(param.mSamplingF); in sendCommand() 115 uint32_t mode = param.mStereo ? 0x80000000 : 0; in sendCommand() [all …]
|
D | AudioHardware.cpp | 41 android::String8 param("MobilePre Track"); in detectAudioHw() local 43 if (!SimpleScriptExec::runScript(script, param, resultStr)) { in detectAudioHw()
|
D | RemoteAudio.cpp | 120 AudioParam* param = NULL; in handlePacket() local 122 param = &(handler->getParam()); in handlePacket() 124 bool result = mCmds[id - AudioProtocol::ECmdStart]->handleReply(data, param); in handlePacket()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GlPlanetsActivity.java | 76 PlanetsRenderingParam param = new PlanetsRenderingParam(); in onCreate() local 77 param.mNumPlanets = intent.getIntExtra(INTENT_EXTRA_NUM_PLANETS, param.mNumPlanets); in onCreate() 78 param.mUseVboForVertices = intent.getBooleanExtra(INTENT_EXTRA_USE_VBO_VERTICES, in onCreate() 79 param.mUseVboForVertices); in onCreate() 80 param.mUseVboForIndices = intent.getBooleanExtra(INTENT_EXTRA_USE_VBO_INDICES, in onCreate() 81 param.mUseVboForIndices); in onCreate() 82 param.mNumFrames = intent.getIntExtra(INTENT_EXTRA_NUM_FRAMES, param.mNumFrames); in onCreate() 83 param.mNumIndicesPerVertex = intent.getIntExtra(INTENT_EXTRA_NUM_INDEX_BUFFERS, in onCreate() 84 param.mNumIndicesPerVertex); in onCreate() 85 mView = new PlanetsSurfaceView(this, param, this); in onCreate()
|
D | PlanetsSurfaceView.java | 26 public PlanetsSurfaceView(Context context, PlanetsRenderingParam param, in PlanetsSurfaceView() argument 31 setRenderer(new PlanetsRenderer(context, param, listener, mWatchDog)); in PlanetsSurfaceView()
|
D | PlanetsRenderer.java | 102 public PlanetsRenderer(Context context, PlanetsRenderingParam param, in PlanetsRenderer() argument 106 mParam = param; in PlanetsRenderer()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioProtocol.h | 60 void* param[5]; 68 virtual bool sendCommand(AudioParam& param); 70 virtual bool handleReply(const uint32_t* data, AudioParam* param); 108 virtual bool sendCommand(AudioParam& param); 117 virtual bool sendCommand(AudioParam& param); 133 virtual bool sendCommand(AudioParam& param); 135 virtual bool handleReply(const uint32_t* data, AudioParam* param); 151 virtual bool handleReply(const uint32_t* data, AudioParam* param);
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioEffectTest.java | 337 byte[] param = mEffect.intToByteArray(PresetReverb.PARAM_PRESET); in test3_0SetParameterByteArrayByteArray() 339 int status = mEffect.getParameter(param, value); in test3_0SetParameterByteArrayByteArray() 346 status = mEffect.setParameter(param, value); in test3_0SetParameterByteArrayByteArray() 348 status = mEffect.getParameter(param, value); in test3_0SetParameterByteArrayByteArray() 371 int param = EnvironmentalReverb.PARAM_DECAY_TIME; in test3_1SetParameterIntInt() local 373 int status = mEffect.getParameter(param, value); in test3_1SetParameterIntInt() 379 status = mEffect.setParameter(param, time); in test3_1SetParameterIntInt() 381 status = mEffect.getParameter(param, value); in test3_1SetParameterIntInt() 405 int param = PresetReverb.PARAM_PRESET; in test3_2SetParameterIntShort() local 407 int status = mEffect.getParameter(param, value); in test3_2SetParameterIntShort() [all …]
|
D | PresetReverbTest.java | 355 int status, int param, short value) in createListenerLooper() 359 mChangedParameter = param; in createListenerLooper()
|
D | BassBoostTest.java | 394 int param, short value) in createListenerLooper() 398 mChangedParameter = param; in createListenerLooper()
|
D | EnvReverbTest.java | 514 int status, int param, int value) in createListenerLooper() 518 mChangedParameter = param; in createListenerLooper()
|
/cts/suite/audio_quality/lib/src/ |
D | SimpleScriptExec.cpp | 31 android::String8 param; in checkPythonEnv() local 33 if (!runScript(script, param, result)) { in checkPythonEnv() 66 bool SimpleScriptExec::runScript(const android::String8& script, const android::String8& param, in runScript() argument 71 command.appendFormat("%s %s %s", PYTHON_PATH, script.string(), param.string()); in runScript()
|
D | ClientImpl.cpp | 34 bool ClientImpl::init(const android::String8& param) in init() argument 36 Adb adb(param); in init()
|
D | SimpleScriptExec.h | 40 static bool runScript(const android::String8& script, const android::String8& param,
|
D | ClientImpl.h | 32 virtual bool init(const android::String8& param);
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskProcess.cpp | 266 Param param(EId, item[1]); in parseParams() local 267 list.push_back(param); in parseParams() 268 LOGD(" id %s", param.getParamString().string()); in parseParams() 270 Param param(EVal, item[1]); in parseParams() local 271 list.push_back(param); in parseParams() 272 LOGD(" val %s", param.getParamString().string()); in parseParams() 276 Param param(v); in parseParams() local 277 list.push_back(param); in parseParams() 282 Param param(v); in parseParams() local 283 list.push_back(param); in parseParams()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 204 ViewGroup.LayoutParams param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams() local 205 assertNotNull(param); in testGenerateDefaultLayoutParams() 206 assertTrue(param instanceof LinearLayout.LayoutParams); in testGenerateDefaultLayoutParams() 207 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.width); in testGenerateDefaultLayoutParams() 208 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams() 211 param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams() 212 assertNotNull(param); in testGenerateDefaultLayoutParams() 213 assertTrue(param instanceof LinearLayout.LayoutParams); in testGenerateDefaultLayoutParams() 214 assertEquals(ViewGroup.LayoutParams.MATCH_PARENT, param.width); in testGenerateDefaultLayoutParams() 215 assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, param.height); in testGenerateDefaultLayoutParams()
|
/cts/suite/audio_quality/lib/include/ |
D | ClientInterface.h | 33 virtual bool init(const android::String8& param) = 0;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 411 Camera.Parameters param = mCamera.getParameters(); in setupCamera() local 412 List<Camera.Size> pre_sz = param.getSupportedPreviewSizes(); in setupCamera() 413 List<Camera.Size> pic_sz = param.getSupportedPictureSizes(); in setupCamera() 435 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 436 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 437 mCamera.setParameters(param); in setupCamera() 445 float fovW = param.getHorizontalViewAngle(); in setupCamera() 446 float fovH = param.getVerticalViewAngle(); in setupCamera()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertEnumTest.java | 150 IParameter param = valueOf.getParameters().iterator().next(); in testEnum3() local 151 …assertEquals("java.lang.String", ((IClassReference)param.getType()).getClassDefinition().getQualif… in testEnum3()
|
D | ConvertClassTest.java | 427 IParameter param = constructor.getParameters().get(0); in convertConstructorWithParameter() local 428 …assertEquals("java.lang.String", ((IClassReference)param.getType()).getClassDefinition().getQualif… in convertConstructorWithParameter() 441 IParameter param = constructor.getParameters().get(0); in convertConstructorWithGenericParameter() local 442 …ITypeVariableDefinition paramType = ((ITypeVariableReference)param.getType()).getTypeVariableDefin… in convertConstructorWithGenericParameter() 527 IParameter param = sigMethod.getParameters().get(0); in testParameterConformance2() local 528 ITypeReference t2 = param.getType(); in testParameterConformance2()
|
/cts/tests/signature/src/android/signature/cts/ |
D | JDiffClassDescription.java | 311 public void addParam(String param) { in addParam() argument 312 mParamList.add(scrubJdiffParamType(param)); in addParam() 417 public JDiffConstructor(String name, String[] param, int modifier) { in JDiffConstructor() argument 420 for (int i = 0; i < param.length; i++) { in JDiffConstructor() 421 addParam(param[i]); in JDiffConstructor()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 225 ViewGroup.LayoutParams param = new ViewGroup.LayoutParams(10, 10); in testAttachLayoutAnimationParameters() local 227 vg.attachLayoutAnimationParameters(null, param, 1, 2); in testAttachLayoutAnimationParameters() 228 assertEquals(2, param.layoutAnimationParameters.count); in testAttachLayoutAnimationParameters() 229 assertEquals(1, param.layoutAnimationParameters.index); in testAttachLayoutAnimationParameters() 237 ViewGroup.LayoutParams param = new ViewGroup.LayoutParams(10, 10); in testAttachViewToParent() local 241 vg.attachViewToParent(child, -1, param); in testAttachViewToParent() 1623 LayoutParams param = new LayoutParams(100, 200); in testUpdateViewLayout() local 1624 father.updateViewLayout(son, param); in testUpdateViewLayout() 1625 assertEquals(param.width, son.getLayoutParams().width); in testUpdateViewLayout() 1626 assertEquals(param.height, son.getLayoutParams().height); in testUpdateViewLayout()
|