OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ArrayUtils
(Results
1 - 25
of
51
) sorted by null
1
2
3
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
ArrayUtilsTest.java
22
* Tests for {@link
ArrayUtils
}
31
assertTrue(
ArrayUtils
.contains(new Object[] { A, B, C }, A));
32
assertTrue(
ArrayUtils
.contains(new Object[] { A, B, C }, B));
33
assertTrue(
ArrayUtils
.contains(new Object[] { A, B, C }, C));
34
assertTrue(
ArrayUtils
.contains(new Object[] { A, null, C }, null));
36
assertFalse(
ArrayUtils
.contains(new Object[] { A, B, C }, null));
37
assertFalse(
ArrayUtils
.contains(new Object[] { }, null));
38
assertFalse(
ArrayUtils
.contains(new Object[] { null }, A));
47
assertEquals(0,
ArrayUtils
.indexOf(new Object[] { A, B, C }, A));
48
assertEquals(1,
ArrayUtils
.indexOf(new Object[] { A, B, C }, B))
[
all
...]
/external/mockito/src/org/mockito/internal/util/collections/
ArrayUtils.java
8
public class
ArrayUtils
{
/frameworks/base/graphics/java/android/graphics/
TemporaryBuffer.java
19
import com.android.internal.util.
ArrayUtils
;
34
buf = new char[
ArrayUtils
.idealCharArraySize(len)];
/external/ceres-solver/internal/ceres/
array_utils_test.cc
40
TEST(
ArrayUtils
, IsArrayValid) {
/external/mockito/src/org/mockito/internal/invocation/
ArgumentsProcessor.java
10
import org.mockito.internal.util.collections.
ArrayUtils
;
22
if (!isVarArgs || new
ArrayUtils
().isEmpty(args) || args[args.length - 1] != null && !args[args.length - 1].getClass().isArray()) {
/frameworks/base/core/java/android/util/
LongSparseLongArray.java
19
import com.android.internal.util.
ArrayUtils
;
48
initialCapacity =
ArrayUtils
.idealLongArraySize(initialCapacity);
217
int n =
ArrayUtils
.idealLongArraySize(minNeededSize);
SparseBooleanArray.java
19
import com.android.internal.util.
ArrayUtils
;
41
initialCapacity =
ArrayUtils
.idealIntArraySize(initialCapacity);
110
int n =
ArrayUtils
.idealIntArraySize(mSize + 1);
205
int n =
ArrayUtils
.idealIntArraySize(pos + 1);
SparseIntArray.java
19
import com.android.internal.util.
ArrayUtils
;
45
initialCapacity =
ArrayUtils
.idealIntArraySize(initialCapacity);
121
int n =
ArrayUtils
.idealIntArraySize(mSize + 1);
216
int n =
ArrayUtils
.idealIntArraySize(pos + 1);
SparseLongArray.java
19
import com.android.internal.util.
ArrayUtils
;
45
initialCapacity =
ArrayUtils
.idealLongArraySize(initialCapacity);
214
int n =
ArrayUtils
.idealLongArraySize(minNeededSize);
LongSparseArray.java
19
import com.android.internal.util.
ArrayUtils
;
47
initialCapacity =
ArrayUtils
.idealLongArraySize(initialCapacity);
177
int n =
ArrayUtils
.idealLongArraySize(mSize + 1);
318
int n =
ArrayUtils
.idealLongArraySize(pos + 1);
SparseArray.java
19
import com.android.internal.util.
ArrayUtils
;
47
initialCapacity =
ArrayUtils
.idealIntArraySize(initialCapacity);
177
int n =
ArrayUtils
.idealIntArraySize(mSize + 1);
318
int n =
ArrayUtils
.idealIntArraySize(pos + 1);
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
ArrayUtils.java
34
public class
ArrayUtils
{
/frameworks/base/core/java/android/view/textservice/
SuggestionsInfo.java
19
import com.android.internal.util.
ArrayUtils
;
28
private static final String[] EMPTY =
ArrayUtils
.emptyArray(String.class);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
SparseWeakArray.java
20
import com.android.internal.util.
ArrayUtils
;
61
initialCapacity =
ArrayUtils
.idealIntArraySize(initialCapacity);
145
int newSize =
ArrayUtils
.idealIntArraySize(mSize);
185
int n =
ArrayUtils
.idealIntArraySize(mSize + 1);
325
int n =
ArrayUtils
.idealIntArraySize(pos + 1);
/frameworks/base/core/java/android/content/pm/
Signature.java
22
import com.android.internal.util.
ArrayUtils
;
210
return
ArrayUtils
.containsAll(a, b) &&
ArrayUtils
.containsAll(b, a);
/frameworks/base/core/java/android/text/
PackedObjectVector.java
19
import com.android.internal.util.
ArrayUtils
;
35
mRows =
ArrayUtils
.idealIntArraySize(0) / mColumns;
113
newsize =
ArrayUtils
.idealIntArraySize(newsize * mColumns) / mColumns;
MeasuredText.java
25
import com.android.internal.util.
ArrayUtils
;
101
mWidths = new float[
ArrayUtils
.idealFloatArraySize(len)];
104
mChars = new char[
ArrayUtils
.idealCharArraySize(len)];
133
mLevels = new byte[
ArrayUtils
.idealByteArraySize(len)];
SpannableStringInternal.java
19
import com.android.internal.util.
ArrayUtils
;
32
int initial =
ArrayUtils
.idealIntArraySize(0);
118
int newsize =
ArrayUtils
.idealIntArraySize(mSpanCount + 1);
269
return (T[])
ArrayUtils
.emptyArray(kind);
PackedIntVector.java
19
import com.android.internal.util.
ArrayUtils
;
256
newsize =
ArrayUtils
.idealIntArraySize(newsize * columns) / columns;
StaticLayout.java
28
import com.android.internal.util.
ArrayUtils
;
133
mLines = new int[
ArrayUtils
.idealIntArraySize(2 * mColumns)];
135
ArrayUtils
.idealIntArraySize(2 * mColumns)];
152
mLines = new int[
ArrayUtils
.idealIntArraySize(2 * mColumns)];
153
mLineDirections = new Directions[
ArrayUtils
.idealIntArraySize(2 * mColumns)];
218
chooseHtv = new int[
ArrayUtils
.idealIntArraySize(
600
int nlen =
ArrayUtils
.idealIntArraySize(want + 1);
[
all
...]
DynamicLayout.java
23
import com.android.internal.util.
ArrayUtils
;
404
mBlockEndLines = new int[
ArrayUtils
.idealIntArraySize(1)];
414
int[] blockEndLines = new int[
ArrayUtils
.idealIntArraySize(mNumberOfBlocks + 1)];
486
final int newSize =
ArrayUtils
.idealIntArraySize(newNumberOfBlocks);
SpannableStringBuilder.java
23
import com.android.internal.util.
ArrayUtils
;
56
int len =
ArrayUtils
.idealCharArraySize(srclen + 1);
64
int alloc =
ArrayUtils
.idealIntArraySize(0);
132
final int newLength =
ArrayUtils
.idealCharArraySize(size + 1);
665
int newsize =
ArrayUtils
.idealIntArraySize(mSpanCount + 1);
771
if (kind == null) return
ArrayUtils
.emptyArray(kind);
847
return
ArrayUtils
.emptyArray(kind);
[
all
...]
/frameworks/base/core/java/com/android/internal/util/
ArrayUtils.java
26
*
ArrayUtils
contains some methods that you can call to find out
29
public class
ArrayUtils
35
private
ArrayUtils
() { /* cannot be instantiated */ }
/frameworks/base/services/java/com/android/server/input/
PersistentDataStore.java
19
import com.android.internal.util.
ArrayUtils
;
103
return (String[])
ArrayUtils
.emptyArray(String.class);
296
return (String[])
ArrayUtils
.emptyArray(String.class);
/frameworks/base/core/java/android/content/res/
ColorStateList.java
19
import com.android.internal.util.
ArrayUtils
;
236
listAllocated =
ArrayUtils
.idealIntArraySize(listSize + 1);
Completed in 3429 milliseconds
1
2
3