Searched defs:index (Results 126 - 150 of 795) sorted by relevance

1234567891011>>

/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp90 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); local
91 ASSERT_GE(index, 0);
95 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags);
96 ASSERT_GE(index, 0);
110 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags); local
111 ASSERT_GE(index, 0);
115 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags);
116 ASSERT_GE(index, 0);
130 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); local
131 ASSERT_GE(index,
[all...]
/frameworks/base/libs/hwui/
H A DFrameInfoVisualizer.h68 inline float durationMS(size_t index, FrameInfoIndex start, FrameInfoIndex end) { argument
69 float duration = mFrameSource[index].duration(start, end) * 0.000001f;
H A DResourceCache.cpp70 ssize_t index = mCache->indexOfKey(resource); local
71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr;
89 ssize_t index = mCache->indexOfKey(resource); local
90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr;
111 ssize_t index = mCache->indexOfKey(resource); local
112 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr;
/frameworks/base/libs/hwui/renderstate/
H A DMeshState.cpp42 int index = i * 6; local
43 regionIndices[index ] = quad; // top-left
44 regionIndices[index + 1] = quad + 1; // top-right
45 regionIndices[index + 2] = quad + 2; // bottom-left
46 regionIndices[index + 3] = quad + 2; // bottom-left
47 regionIndices[index + 4] = quad + 1; // top-right
48 regionIndices[index + 5] = quad + 3; // bottom-right
/frameworks/base/libs/hwui/tests/unit/
H A DRecordingCanvasTests.cpp185 int index = 0; local
186 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId); // no underline or strikethrough
188 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId);
189 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // strikethrough only
191 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId);
192 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // underline only
194 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId);
195 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // underline
196 EXPECT_EQ(RecordedOpId::RectOp, ops[index++]->opId); // strikethrough
/frameworks/base/media/java/android/media/
H A DAudioGain.java72 AudioGain(int index, int mode, int channelMask, argument
75 mIndex = index;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconList.java56 public void setIcon(int index, StatusBarIcon icon) { argument
57 mIcons.set(index, icon);
60 public void removeIcon(int index) { argument
61 mIcons.set(index, null);
64 public String getSlot(int index) { argument
65 return mSlots.get(index);
68 public StatusBarIcon getIcon(int index) { argument
69 return mIcons.get(index);
72 public int getViewIndex(int index) { argument
74 for (int i = 0; i < index;
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicLUT.java60 private void validate(int index, int value) { argument
61 if (index < 0 || index > 255) {
72 * @param index Must be 0-255
75 public void setRed(int index, int value) { argument
76 validate(index, value);
77 mCache[index] = (byte)value;
84 * @param index Must be 0-255
87 public void setGreen(int index, int value) { argument
88 validate(index, valu
99 setBlue(int index, int value) argument
111 setAlpha(int index, int value) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp44 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument
52 env->SetObjectArrayElement(strArray, index, obj);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java164 public DisplayModifierSpinner(int index) { argument
166 mIndex = index;
189 int index = 0;
191 mSpinners[index] = new DisplayModifierSpinner(index);
192 mSpinners[index].setAdapter(new ArrayAdapter<String>(this,
194 layout.addView(mSpinners[index]);
195 index++;
197 Log.d(LOG_TAG, "created " + index + " spinners");
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java54 public int getAttributeNameResource(int index) { argument
56 String name = getAttributeName(index);
59 String ns = mParser.getAttributeNamespace(index);
175 public int getAttributeListValue(int index, argument
178 getAttributeValue(index), options, defaultValue);
182 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument
183 String value = getAttributeValue(index);
198 public int getAttributeResourceValue(int index, int defaultValue) { argument
199 String value = getAttributeValue(index);
205 public int getAttributeIntValue(int index, in argument
224 getAttributeUnsignedIntValue(int index, int defaultValue) argument
240 getAttributeFloatValue(int index, float defaultValue) argument
[all...]
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, argument
89 ssize_t endIndex = index;
121 if (abi == abi::Variant_none && endIndex != index) {
132 ssize_t index = str.find(":"); local
136 if (index >= 0) {
137 configStr.setTo(str.string(), index);
138 extensionStr.setTo(str.string() + index + 1);
150 index = 0;
156 index = parseAbi(parts, index,
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp30 std::ostringstream index; local
31 index << pIndex;
32 m_Name.append(index.str());
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java50 public void add(int index, T object) { argument
51 super.add(index, object);
52 notifyAdd(index, 1);
66 public boolean addAll(int index, Collection<? extends T> collection) { argument
67 boolean added = super.addAll(index, collection);
69 notifyAdd(index, collection.size());
84 public T remove(int index) { argument
85 T val = super.remove(index);
86 notifyRemove(index, 1);
92 int index
102 set(int index, T object) argument
[all...]
H A DObservableArrayMap.java62 int index = indexOfKey(key);
63 if (index >= 0) {
65 removeAt(index);
85 public V removeAt(int index) { argument
86 K key = keyAt(index);
87 V value = super.removeAt(index);
95 public V setValueAt(int index, V value) { argument
96 K key = keyAt(index);
97 V oldValue = super.setValueAt(index, value);
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h51 uint32_t index = ch & kPageMask; local
52 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0;
/frameworks/native/opengl/tools/glgen/src/
H A DCFunc.java86 public String getArgName(int index) { argument
87 return argNames.get(index);
90 public CType getArgType(int index) { argument
91 return argTypes.get(index);
/frameworks/native/services/surfaceflinger/
H A DFenceTracker.cpp36 int index = (mOffset + i) % MAX_FRAME_HISTORY; local
37 const FrameRecord& frame = mFrames[index];
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DMesh.h45 TYPE& operator[](size_t index) { argument
46 return *reinterpret_cast<TYPE*>(&mData[index*mStride]);
48 TYPE const& operator[](size_t index) const {
49 return *reinterpret_cast<TYPE const*>(&mData[index*mStride]);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>,
33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then
39 * helps to keep the internal buffer small. In the above example, after reading bytes from index
41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>.
45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the
48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length,
49 * the buffer will be shifted forward such that the index requested becomes the first element in
53 * All public methods with parameter <code>index</code> are absolute indexed. The index i
129 get(final int index) argument
159 has(final int index) argument
187 advanceTo(final int index) argument
261 fill(final int index) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>,
33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then
39 * helps to keep the internal buffer small. In the above example, after reading bytes from index
41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>.
45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the
48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length,
49 * the buffer will be shifted forward such that the index requested becomes the first element in
53 * All public methods with parameter <code>index</code> are absolute indexed. The index i
129 get(final int index) argument
159 has(final int index) argument
187 advanceTo(final int index) argument
261 fill(final int index) argument
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DTemplateLayout.java79 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
80 mContainer.addView(child, index, params);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DUiccPhoneBookController.java71 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException {
73 newPhoneNumber, index, pin2);
79 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException {
84 newPhoneNumber, index, pin2);
70 updateAdnRecordsInEfByIndex(int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
78 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduBody.java92 * @param index index at which the specified part is to be inserted
96 public void addPart(int index, PduPart part) { argument
102 mParts.add(index, part);
108 * @param index index of the part to return
109 * @return part at the specified index
111 public PduPart removePart(int index) { argument
112 return mParts.remove(index);
125 * @param index inde
128 getPart(int index) argument
[all...]
/frameworks/rs/
H A DrsApiFileA3D.cpp23 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument
30 ObjectBase *obj = fa3d->initializeFromEntry(index);
51 ALOGE("Can't load index entries. No valid file");
57 ALOGE("Can't load index entries. Invalid number requested");

Completed in 560 milliseconds

1234567891011>>