/frameworks/support/compat/java/android/support/v4/util/ |
CircularIntArray.java | 23 private int[] mElements; 29 int n = mElements.length; 36 System.arraycopy(mElements, mHead, a, 0, r); 37 System.arraycopy(mElements, 0, a, r, mHead); 38 mElements = a; 75 mElements = new int[arrayCapacity]; 84 mElements[mHead] = e; 95 mElements[mTail] = e; 109 int result = mElements[mHead]; 122 int result = mElements[t] [all...] |
CircularArray.java | 22 private E[] mElements; 28 int n = mElements.length; 35 System.arraycopy(mElements, mHead, a, 0, r); 36 System.arraycopy(mElements, 0, a, r, mHead); 37 mElements = (E[]) a; 74 mElements = (E[]) new Object[arrayCapacity]; 83 mElements[mHead] = e; 94 mElements[mTail] = e; 110 E result = mElements[mHead]; 111 mElements[mHead] = null [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
ColorSpaceTransform.java | 78 mElements = new int[COUNT_INT]; 82 mElements[i * RATIONAL_SIZE + OFFSET_NUMERATOR] = elements[i].getNumerator(); 83 mElements[i * RATIONAL_SIZE + OFFSET_DENOMINATOR] = elements[i].getDenominator(); 122 mElements = Arrays.copyOf(elements, elements.length); 142 int numerator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_NUMERATOR]; 143 int denominator = mElements[(row * COLUMNS + column) * RATIONAL_SIZE + OFFSET_DENOMINATOR]; 170 int numerator = mElements[j + OFFSET_NUMERATOR]; 171 int denominator = mElements[j + OFFSET_DENOMINATOR]; 206 destination[i + offset] = mElements[i]; 229 int numerator = mElements[j + OFFSET_NUMERATOR] [all...] |
LensShadingMap.java | 65 mElements = checkNotNull(elements, "elements must not be null"); 136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; 165 mElements[RED + offset]; 167 mElements[GREEN_EVEN + offset]; 169 mElements[GREEN_ODD + offset]; 171 mElements[BLUE + offset]; 203 System.arraycopy(mElements, /*srcPos*/0, destination, offset, getGainFactorCount()); 226 && Arrays.equals(mElements, other.mElements); 236 int elemsHash = HashCodeHelpers.hashCode(mElements); [all...] |
/art/tools/ahat/src/ |
SubsetSelector.java | 35 private List<T> mElements; 50 mElements = elements; 55 return mElements.subList(0, mLimit); 60 return mElements.subList(mLimit, mElements.size()); 84 int all = mElements.size();
|
/packages/apps/Camera2/src/com/android/camera/util/ |
ConcurrentSharedRingBuffer.java | 158 * Lock all transactions involving mElements, mUnpinnedElements, 167 private TreeMap<Long, Pinnable<E>> mElements; 168 /** Stores the subset of mElements which is not pinned. */ 170 /** Used to acquire space in mElements. */ 189 mElements = new TreeMap<Long, Pinnable<E>>(); 237 existingElement = mElements.get(newKey); 256 mElements.put(newKey, p); 301 // We must remove the element from both mElements and 304 mElements.remove(toSwapEntry.first); 315 mElements.put(newKey, toSwap) [all...] |
/frameworks/rs/cpp/ |
Element.cpp | 35 return mElements[mVisibleElementMap[index]]; 76 if (rs->mElements.N == nullptr) { \ 77 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \ 79 return rs->mElements.N; \ 104 if (rs->mElements.N == nullptr) { \ 105 rs->mElements.N = createPixel(rs, RS_TYPE_##T, RS_KIND_##K); \ 107 return rs->mElements.N; \ 119 if (rs->mElements.N##_2 == nullptr) { \ 120 rs->mElements.N##_2 = createVector(rs, RS_TYPE_##T, 2); \ 122 return rs->mElements.N##_2; [all...] |
RenderScript.cpp | 52 memset(&mElements, 0, sizeof(mElements));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 47 private final List<IDragElement> mElements = new ArrayList<IDragElement>(); 131 mCachedElements = mElements.toArray(new IDragElement[mElements.size()]); 143 mElements.add(e); 204 for (IDragElement e : mElements) { 340 mElements.size() == se.mElements.size() && 342 mElements.equals(se.mElements); 352 c = 31*c + mElements.hashCode() [all...] |
PaletteControl.java | 747 private SimpleElement[] mElements; 785 mElements = new SimpleElement[] { se }; 790 mElements, 805 e.data = mElements; 813 mElements = null; [all...] |
/frameworks/base/tools/aapt2/java/ |
ClassDefinition.h | 118 mElements.push_back(val); 130 const auto begin = mElements.begin(); 131 const auto end = mElements.end(); 147 std::vector<T> mElements;
|
/frameworks/base/rs/java/android/renderscript/ |
Element.java | 55 Element[] mElements; 68 if (mElements == null) { 202 if (mElements == null) { 205 for (int ct=0; ct < mElements.length; ct++) { 206 if (mElements[ct].mElements != null) { 240 return mElements[mVisibleElementMap[index]]; [all...] |
Allocation.java | [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Element.java | 63 Element[] mElements; 75 if (mElements == null) { 206 if (mElements == null) { 209 for (int ct=0; ct < mElements.length; ct++) { 210 if (mElements[ct].mElements != null) { 244 return mElements[mVisibleElementMap[index]]; 721 mElements = e; 726 mOffsetInBytes = new int[mElements.length]; 727 for (int ct = 0; ct < mElements.length; ct++ ) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoring.java | 95 if (mElements.size() == 0) { 100 Element first = mElements.get(0); 106 boolean useParent = mElements.size() > 1; 127 for (Element element : mElements) {
|
UseCompoundDrawableRefactoring.java | 142 if (mElements.size() == 0) { 148 if (mElements.size() != 1 || 149 !(mElements.get(0).getTagName().equals(LINEAR_LAYOUT))) { 154 Element layout = mElements.get(0); 223 Element layout = mElements.get(0);
|
ChangeViewRefactoring.java | 115 if (mElements.size() == 0) {
|
VisualRefactoring.java | 118 protected final List<Element> mElements; 147 mElements = null; 154 mElements = elements; 232 mElements = initElements(); 655 return mElements; [all...] |
WrapInRefactoring.java | 129 if (mElements.size() == 0) {
|
/frameworks/rs/ |
rsElement.cpp | 45 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { 46 if (mRSC->mStateElement.mElements[ct] == this) { 47 mRSC->mStateElement.mElements.removeAt(ct); 235 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { 236 const Element *ee = rsc->mStateElement.mElements[ct]; 269 rsc->mStateElement.mElements.push(e); 281 for (uint32_t ct=0; ct < rsc->mStateElement.mElements.size(); ct++) { 282 const Element *ee = rsc->mStateElement.mElements[ct]; 344 rsc->mStateElement.mElements.push(e); 406 rsAssert(!mElements.size()) [all...] |
rsElement.h | 173 Vector<Element *> mElements;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 119 private final IDragElement[] mElements; 126 mElements = elements; 168 IDragElement first = mElements[0]; 242 for (IDragElement element : mElements) { 294 IDragElement first = mElements[0];
|
/system/core/logd/ |
LogStatistics.h | 409 size_t mElements[LOG_ID_MAX]; 450 --mElements[log_id]; 465 size_t elements(log_id_t id) const { return mElements[id]; } 467 return mElements[id] - mDroppedElements[id];
|
LogStatistics.cpp | 29 mElements[id] = 0; 68 ++mElements[log_id]; 103 --mElements[log_id];
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
LintPreferencePage.java | 580 private Object[] mElements; 584 return mElements; 635 mElements = mRegistry.getCategories().toArray(); 651 mElements = categories.toArray();
|