/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTexture.cpp | 126 int Texture::dimension (void) const function in class:vkt::image::Texture
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
TableHeaderController.java | 83 SortDimension dimension = mModel.getDimensionById(id); local 85 cell.setTag(dimension); 87 cell.onBind(dimension); 88 if (dimension.getVisibility() == View.VISIBLE 89 && dimension.getSortCapability() != SortDimension.SORT_CAPABILITY_NONE) { 97 SortDimension dimension = (SortDimension) v.getTag(); local 99 mModel.sortByUser(dimension.getId(), dimension.getNextDirection());
|
HeaderCell.java | 61 void onBind(SortDimension dimension) { 62 setVisibility(dimension.getVisibility()); 64 if (dimension.getVisibility() == View.VISIBLE) { 66 label.setText(dimension.getLabelId()); 67 switch (dimension.getDataType()) { 76 "Unknown column data type: " + dimension.getDataType() + "."); 79 if (mCurDirection != dimension.getSortDirection()) { 81 switch (dimension.getSortDirection()) { 95 "Unknown sort direction: " + dimension.getSortDirection() + "."); 98 mCurDirection = dimension.getSortDirection() [all...] |
DropdownSortWidgetController.java | 83 SortDimension dimension = mModel.getDimensionAt(i); local 84 if (dimension.getSortCapability() != SortDimension.SORT_CAPABILITY_NONE) { 85 menu.add(0, dimension.getId(), Menu.NONE, dimension.getLabelId()); 112 SortDimension dimension = mModel.getDimensionById(item.getItemId()); local 113 item.setVisible(dimension.getVisibility() == View.VISIBLE); 121 SortDimension dimension = mModel.getDimensionById(sortedId); local 122 mDimensionButton.setText(dimension.getLabelId()); 130 final SortDimension dimension = mModel.getDimensionById(sortedId); local 131 switch (dimension.getSortDirection()) 159 final SortDimension dimension = mModel.getDimensionById(item.getItemId()); local 176 final SortDimension dimension = mModel.getDimensionById(id); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
DimensionMismatchException.java | 32 /** Correct dimension. */ 33 private final int dimension; field in class:DimensionMismatchException 38 * @param wrong Wrong dimension. 39 * @param expected Expected dimension. 44 dimension = expected; 48 * @return the expected dimension. 51 return dimension;
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
parallel_loop_emitter.cc | 43 const int64 dimension = LayoutUtil::Minor(shape_.layout(), i); local 46 // Emit dynamic loop bounds for this dimension. Dynamic loop bounds 52 /*suffix=*/tensorflow::strings::Printf("dim.%lld", dimension), 54 array_index[dimension] = loop->GetIndVarValue(); 56 // Emit static loop bounds for this dimension. 59 /*end_index=*/shape_.dimensions(dimension), 60 /*suffix=*/tensorflow::strings::Printf("dim.%lld", dimension)); 61 array_index[dimension] = loop->GetIndVarValue();
|
shape_partition.cc | 29 const int64 dimension = shape_.layout().minor_to_major(i); local 30 outer_dims.push_back(dimension); 31 outer_dim_size *= shape_.dimensions(dimension); 40 // Calculate the target number of partitions per-dimension, by factoring 49 // Assign feasible dimension partitions based on 'target_dim_partition_count' 50 // and actual dimension sizes from 'shape_'. 76 // Clip 'additional_partition_count' by current dimension size. 111 // Calculate partition size for each dimension (note that the size of 112 // the last partition in each dimension may be different if the dimension [all...] |
shape_partition_test.cc | 35 // Check all partitions of outer dimension. 40 // Check target_partition_count > outer dimension size. 208 // Choose random outer dimension partition counts. 213 const int64 dimension = shape.layout().minor_to_major( local 215 dim_sizes[i] = shape.dimensions(dimension); 217 // Choose dimension partition count in [1, dim_size] 222 // index ranges by dimension. 234 // Check that partitions cover entire dimension size range (for each 235 // partitioned dimension).
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
loop_emitter.cc | 99 // Create loop nest with one for-loop for each dimension of the target shape. 101 // class so emit loops in order from most-major dimension down to most-minor 102 // dimension (of the target shape). 106 int64 dimension = LayoutUtil::Major(shape_.layout(), i); local 109 /*end_index=*/shape_.dimensions(dimension), 110 /*suffix=*/tensorflow::strings::Printf("dim.%lld", dimension)); 111 array_index[dimension] = loop->GetIndVarValue();
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
gmm.h | 23 // weight[n] = log(w[n]) - |dimension|/2 * log(2*pi) - 1/2 * log(det(cov[n])); 26 // pointer to the first element of a |num_mixtures|x|dimension| matrix 29 // pointer to the first element of a |num_mixtures|x|dimension|x|dimension| 34 int dimension; member in struct:webrtc::GmmParameters 41 // acceptable dimension by the following function -1 is returned.
|
/frameworks/base/cmds/statsd/tests/metrics/ |
metrics_test_helper.cpp | 22 HashableDimensionKey dimension; local 24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value))); 26 return dimension;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
UnitSphereRandomVectorGenerator.java | 37 * Space dimension. 39 private final int dimension; field in class:UnitSphereRandomVectorGenerator 42 * @param dimension Space dimension. 45 public UnitSphereRandomVectorGenerator(final int dimension, 47 this.dimension = dimension; 54 * @param dimension Space dimension. 56 public UnitSphereRandomVectorGenerator(final int dimension) { [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
ArrayCreationLevel.java | 20 private Expression dimension; field in class:ArrayCreationLevel 23 public ArrayCreationLevel(Range range, Expression dimension, List<AnnotationExpr> annotations) { 25 setDimension(dimension); 37 public void setDimension(Expression dimension) { 38 this.dimension = dimension; 39 setAsParentNodeOf(dimension); 43 return dimension;
|
/external/tensorflow/tensorflow/compiler/xla/ |
window_util.cc | 32 auto* dimension = window.add_dimensions(); local 33 dimension->set_size(size); 34 dimension->set_stride(1); 35 dimension->set_base_dilation(1); 36 dimension->set_window_dilation(1); 44 auto* dimension = config.add_dimensions(); local 45 dimension->set_edge_padding_low(size); 46 dimension->set_edge_padding_high(size);
|
/packages/apps/Gallery2/jni/filters/ |
kmeans.cc | 50 int dimension = 3; local 58 runKMeans<unsigned char, int>(k, finalCentroids, small_ds, len, dimension, 68 dimension, stride, iterations, finalCentroids); 73 applyCentroids<unsigned char, int>(k, nextCentroids, dst, len, dimension, stride);
|
/art/runtime/mirror/ |
array.cc | 88 int dimension = dimensions->Get(i); local 89 if (UNLIKELY(dimension < 0)) { 90 ThrowNegativeArraySizeException(StringPrintf("Dimension %d: %d", i, dimension).c_str());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/ |
FirstOrderConverter.java | 29 * <p>The transformation is done by changing the n dimension state 30 * vector to a 2n dimension vector, where the first n components are 63 /** second order problem dimension. */ 64 private final int dimension; field in class:FirstOrderConverter 81 dimension = equations.getDimension(); 82 z = new double[dimension]; 83 zDot = new double[dimension]; 84 zDDot = new double[dimension]; 87 /** Get the dimension of the problem. 88 * <p>The dimension of the first order problem is twice th [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
RungeKuttaStepInterpolator.java | 84 final int dimension = currentState.length; local 88 yDotK[k] = new double[dimension]; 90 yDotK[k], 0, dimension);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LinearLayoutWeightFix.java | 56 String dimension; local 59 dimension = ATTR_LAYOUT_HEIGHT; 61 dimension = ATTR_LAYOUT_WIDTH; 63 element.setAttributeNS(ANDROID_URI, dimension, VALUE_ZERO_DP);
|
/external/eigen/unsupported/test/ |
splines.cpp | 243 const unsigned int dimension = 2; local 246 ArrayXXd points = ArrayXXd::Random(dimension, numPoints); 251 ArrayXXd derivatives = ArrayXXd::Random(dimension, numPoints);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
ArrayCreationLevel.java | 50 private Expression dimension; field in class:ArrayCreationLevel 58 public ArrayCreationLevel(int dimension) { 59 this(null, new IntegerLiteralExpr("" + dimension), new NodeList<>()); 62 public ArrayCreationLevel(Expression dimension) { 63 this(null, dimension, new NodeList<>()); 67 public ArrayCreationLevel(Expression dimension, NodeList<AnnotationExpr> annotations) { 68 this(null, dimension, annotations); 75 public ArrayCreationLevel(TokenRange tokenRange, Expression dimension, NodeList<AnnotationExpr> annotations) { 77 setDimension(dimension); 95 * Sets the dimension [all...] |
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
wishart.py | 133 dtype=self._scale_operator.dtype, name="dimension") 137 dtype=self._scale_operator.dtype, name="dimension") 147 "dimension of scale matrix (scale.dimension = %s)" 153 "less than dimension of scale matrix " 154 "(scale.dimension = %s)" % 195 def dimension(self): member in class:_WishartLinearOperator 196 """Dimension of underlying vector space. The `p` in `R^(p*p)`.""" 200 dimension = self.scale_operator.domain_dimension_tensor() 201 return array_ops.stack([dimension, dimension] [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
argmax_op.cc | 50 const Tensor& dimension = context->input(1); variable 52 OP_REQUIRES(context, TensorShapeUtils::IsScalar(dimension.shape()), 55 dimension.shape().DebugString())); 57 const int32 dim = internal::SubtleMustCopy(dimension.scalar<int32>()()); 63 errors::InvalidArgument("Expected dimension in the range [", 126 .HostMemory("dimension"), \ 132 .HostMemory("dimension"), \ 138 .HostMemory("dimension"), \ 144 .HostMemory("dimension"), \ 158 const int32 dimension, typename TTypes<Tout, Dims - 1>::Tensor output); [all...] |
/external/tensorflow/tensorflow/core/ops/ |
math_ops_test.cc | 66 INFER_ERROR("Dimension 1 in both shapes must be equal, but are 2 and 4", op, 91 // Data shape with single dimension. 152 // Multiple dimension cases (same test cases, switching x and y). 190 INFER_ERROR("Dimension 2 in both shapes must be equal, but are 3 and 5", op, 347 INFER_ERROR(("Dimension size, given by scalar input 2, must be " 361 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 3 and 4", op, 436 // Incorrect rank for dimension 439 // dimension not available, but input rank is. Output is unknown 444 // Dimension values known 445 Tensor dimension = test::AsScalar(0) local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
MicrosphereInterpolatingFunction.java | 41 * Space dimension. 43 private final int dimension; field in class:MicrosphereInterpolatingFunction 134 * point (where {@code dimension} is thus the dimension of the sampled 144 * have lengths different from {@code dimension}. 161 dimension = xval[0].length; 168 if ( xvalI.length != dimension) { 169 throw new DimensionMismatchException(xvalI.length, dimension);
|