Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 173) sorted by relevance

1234567

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequest.java37 public final Camera.Parameters parameters; field in LegacyRequest
48 Size previewSize, Camera.Parameters parameters) { in LegacyRequest() argument
52 checkNotNull(parameters, "parameters must not be null"); in LegacyRequest()
54 this.parameters = Camera.getParametersCopy(parameters); in LegacyRequest()
62 public void setParameters(Camera.Parameters parameters) { in setParameters() argument
63 checkNotNull(parameters, "parameters must not be null"); in setParameters()
65 this.parameters.copyFrom(parameters); in setParameters()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java99 Class<?>[] parameters = originalMethod.getParameterTypes(); in compare() local
105 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
107 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
108 parameters = newParameters; in compare()
115 Class<?>[] newParameters = new Class<?>[parameters.length + 1]; in compare()
117 System.arraycopy(parameters, 0, newParameters, 1, parameters.length); in compare()
118 parameters = newParameters; in compare()
124 parameters); in compare()
158 String name = getMethodName(originalMethod, parameters); in compare()
190 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName() argument
[all …]
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect3 …rnel root(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
4 …rnel root(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
5 …:14: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
6 …:23: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
7 …:33: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
8 …:48: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
9 …:59: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
15 …ot_kernel(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
16 …ot_kernel(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java527 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
528 parameters.setRotation( in handleMessage()
530 mCamera.setParameters(parameters); in handleMessage()
536 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
537 parameters.setRotation(msg.arg1); in handleMessage()
538 mCamera.setParameters(parameters); in handleMessage()
564 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
566 applySettingsToParameters(settings, parameters); in handleMessage()
567 mCamera.setParameters(parameters); in handleMessage()
573 Parameters parameters = mParameterCache.getBlocking(); in handleMessage() local
[all …]
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzwar/
Dstderr.txt.expect3 root_compute_non_uint32_t_xyzwar.rs:6:26: error: Special parameters 'x' and 'y' must be of the same…
5 root_compute_non_uint32_t_xyzwar.rs:6:36: error: Special parameters 'x' and 'z' must be of the same…
6 …te kernel root(), parameter 'w' cannot appear after any of the special parameters ('context', 'x',…
7 …e kernel root(), parameter 'ar' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessMethodAdapters.java99 List<? extends VariableElement> parameters = executableElement.getParameters(); in addBindingAdapters() local
109 final int numAdditionalArgs = parameters.size() - startIndex; in addBindingAdapters()
115 if (!typeUtils.isSameType(parameters.get(i).asType(), in addBindingAdapters()
116 parameters.get(i + numAttributes).asType())) { in addBindingAdapters()
152 List<? extends VariableElement> parameters = executableElement.getParameters(); in takesComponent() local
155 if (parameters.size() < 2) { in takesComponent()
158 TypeMirror parameter1 = parameters.get(0).asType(); in takesComponent()
164 if (parameters.size() < 3) { in takesComponent()
173 TypeMirror parameter2 = parameters.get(1).asType(); in takesComponent()
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect3 root_compute_non_uint32_t_xyzar.rs:5:26: error: Special parameters 'x' and 'y' must be of the same …
5 root_compute_non_uint32_t_xyzar.rs:5:36: error: Special parameters 'x' and 'z' must be of the same …
6 …e kernel root(), parameter 'ar' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.h50 const std::vector<float>& parameters) const;
52 const std::vector<float>& parameters) const;
86 inline std::vector<std::vector<float> >& parameters() { in parameters() function
Dmulticlass_pa.cpp71 const vector<float>& parameters) const { in Score()
75 result += inputs[i] * parameters[i]; in Score()
81 const vector<float>& parameters) const { in SparseScore()
86 result += inputs[i].second * parameters[inputs[i].first]; in SparseScore()
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect12 … '#pragma rs reduce(accum0)' (reduce_general_bad_function.rs:73:12) must take at least 2 parameters
13 … '#pragma rs reduce(accum1)' (reduce_general_bad_function.rs:77:12) must take at least 2 parameters
25 … rs reduce(comb0)' (reduce_general_bad_function.rs:142:12) must take exactly 2 parameters (found 0)
26 … rs reduce(comb1)' (reduce_general_bad_function.rs:146:12) must take exactly 2 parameters (found 1)
27 … rs reduce(comb3)' (reduce_general_bad_function.rs:150:12) must take exactly 2 parameters (found 3)
30 …neral_bad_function.rs:159:12) must have exactly 1 input and no special parameters in order for the…
31 …neral_bad_function.rs:163:12) must have exactly 1 input and no special parameters in order for the…
39 …a rs reduce(out0)' (reduce_general_bad_function.rs:203:12) must take exactly 2 parameters (found 0)
40 …a rs reduce(out1)' (reduce_general_bad_function.rs:207:12) must take exactly 2 parameters (found 1)
41 …a rs reduce(out3)' (reduce_general_bad_function.rs:211:12) must take exactly 2 parameters (found 3)
/frameworks/compile/slang/tests/F_root_compute_non_ptr_usrData/
Dstderr.txt.expect1 …:48: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
DStochasticLinearRanker.java44 public HashMap<String, String> parameters = new HashMap<String, String>(); field in StochasticLinearRanker.Model
101 slrModel.parameters.put(paramKeys[i], paramValues[i]); in getUModel()
121 for (Map.Entry<String, String> e : model.parameters.entrySet()){ in loadModel()
146 for (Map.Entry<String, String> e : model.parameters.entrySet()) in print()
/frameworks/compile/slang/tests/F_root_compute_int_in/
Dstderr.txt.expect1 …:21: error: Compute kernel root() cannot have non-pointer parameters besides special parameters ('…
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 …rnel root(), parameter 'extra1' cannot appear after any of the special parameters ('context', 'x',…
2 …rnel root(), parameter 'extra2' cannot appear after any of the special parameters ('context', 'x',…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java101 String parameters = mUtils.getCameraService().getLegacyParameters(cameraId); in testGetLegacyParameters() local
102 assertNotNull(parameters); in testGetLegacyParameters()
104 parameters.length() > 0); in testGetLegacyParameters()
106 int end = parameters.length(); in testGetLegacyParameters()
111 Log.v(TAG, "Camera " + cameraId + " parameters: " + parameters.substring(0, end)); in testGetLegacyParameters()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationMethod.java98 List<? extends TypeMirror> parameters = mMethod.getParameterTypes(); in getParameterTypes() local
99 ModelClass[] parameterTypes = new ModelClass[parameters.size()]; in getParameterTypes()
100 for (int i = 0; i < parameters.size(); i++) { in getParameterTypes()
101 parameterTypes[i] = new AnnotationClass(parameters.get(i)); in getParameterTypes()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect137 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
175 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
201 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
239 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
269 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
307 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
337 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
375 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
405 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
443 throw new RSRuntimeException("Dimension mismatch between parameters ain1 and ain2!");
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/
DFilterFunctionEnvironment.java64 public FilterFunction createFunction(Class filterClass, Object... parameters) { in createFunction() argument
67 filter.initWithAssignmentList(parameters); in createFunction()
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java229 String parameters; in run() local
234 parameters = ""; in run()
237 parameters = request.substring(index + 1); in run()
253 command, parameters); in run()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasRequestGetMessagesListing.java41 public BluetoothMasRequestGetMessagesListing(String folderName, int parameters, in BluetoothMasRequestGetMessagesListing() argument
102 if (parameters > 0 ) { in BluetoothMasRequestGetMessagesListing()
103 oap.add(OAP_TAGID_PARAMETER_MASK, parameters); in BluetoothMasRequestGetMessagesListing()
DBluetoothMasClient.java870 public boolean getMessagesListing(String folder, int parameters) { in getMessagesListing() argument
871 return getMessagesListing(folder, parameters, null, (byte) 0, 0, 0); in getMessagesListing()
892 public boolean getMessagesListing(String folder, int parameters, MessagesFilter filter, in getMessagesListing() argument
895 return getMessagesListing(folder, parameters, filter, subjectLength, 0, 0); in getMessagesListing()
921 public boolean getMessagesListing(String folder, int parameters, MessagesFilter filter, in getMessagesListing() argument
929 parameters, filter, subjectLength, maxListCount, listStartOffset); in getMessagesListing()
/frameworks/native/libs/input/
DVelocityControl.cpp40 void VelocityControl::setParameters(const VelocityControlParameters& parameters) { in setParameters() argument
41 mParameters = parameters; in setParameters()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java126 Camera.Parameters parameters = mCamera.getParameters(); in validateGetSurface() local
127 parameters.setPreviewSize(352, 288); in validateGetSurface()
128 parameters.set("orientation", "portrait"); in validateGetSurface()
129 mCamera.setParameters(parameters); in validateGetSurface()
476 Camera.Parameters parameters = mCamera.getParameters(); in testPortraitH263() local
477 parameters.setPreviewSize(352, 288); in testPortraitH263()
478 parameters.set("orientation", "portrait"); in testPortraitH263()
479 mCamera.setParameters(parameters); in testPortraitH263()
/frameworks/compile/slang/tests/F_init_params/
Dstderr.txt.expect1 init_params.rs:4:6: error: init(void) is required to have no parameters
/frameworks/compile/slang/tests/F_const_array_arg/
Dstderr.txt.expect1 const_array_arg.rs:4:10: error: exported function parameters may not have array type: 'float [3]'

1234567