/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 50 * The lowest significant bit corresponds to the 0th index into mCallbacks. 168 * @param remainderIndex The index into mRemainderRemoved that should be notified. 194 * @param startIndex The index into the mCallbacks to start notifying. 195 * @param endIndex One past the last index into mCallbacks to notify. 216 int index = mCallbacks.lastIndexOf(callback); 217 if (index < 0 || isRemovedLocked(index)) { 223 * Returns true if the callback at index has been marked for removal. 225 * @param index The index int 228 isRemovedLocked(int index) argument 285 setRemovalBitLocked(int index) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 113 int index = 0; local 115 if (0 == chunk->getColors()[index++] && !iterDst.isEmpty()) {
|
H A D | Typeface.cpp | 115 int index = 0; local 117 tagVec[index++] = tag;
|
/frameworks/base/core/jni/android/opengl/ |
H A D | poly_clip.cpp | 49 * copying the portion satisfying sign*s[index] < k*sw into q, 51 * index is an index into the array of floats at each vertex, such that 52 * s[index] is sx, sy, or sz (screen space x, y, or z). 59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) argument 71 tu = sign*COORD(u, index) - u->sw*k; 75 tv = sign*COORD(v, index) - v->sw*k;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ScrollViewScenario.java | 219 * @param index The index within the linear layout. 221 * at the specified index. 224 public <T extends View> T getContentChildAt(int index) { argument 225 return (T) mLinearLayout.getChildAt(index);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 64 * Assign the keyFrame (specified by index) a time value and an array of key 68 * @param index The index of the key frame to assign 73 public void setKeyFrame(int index, int msec, float[] values) { argument 74 setKeyFrame(index, msec, values, null); 78 * Assign the keyFrame (specified by index) a time value and an array of key 81 * @param index The index of the key frame to assign 87 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { argument 88 if (index < 160 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument [all...] |
/frameworks/base/legacy-test/src/junit/framework/ |
H A D | TestSuite.java | 255 * Returns the test at the given index 257 public Test testAt(int index) { argument 258 return fTests.get(index);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ResTable_test.cpp | 113 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); local 114 ASSERT_GE(index, 0); 118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); 119 ASSERT_GE(index, 0); 137 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); local 138 ASSERT_GE(index, 0); 142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); 143 ASSERT_GE(index, 0); 161 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); local 162 ASSERT_GE(index, [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 110 ssize_t index = mAttributes.indexOfKey(name); local 111 if (index >= 0) { 112 return mAttributes.valueAt(index); 124 ssize_t index = mUniforms.indexOfKey(name); local 125 if (index >= 0) { 126 return mUniforms.valueAt(index);
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 77 static void send_string(struct usb_device *device, int index, const char* string) { argument 79 ACCESSORY_SEND_STRING, 0, index, (void *)string, strlen(string) + 1, 0);
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 56 int index, other; local 63 index = empty_index; 64 other = (index == 0 ? 1 : 0); 65 buffer_states[index] = BUFFER_BUSY; 72 return index; 75 static void put_empty(int index) argument 79 buffer_states[index] = BUFFER_EMPTY; 81 empty_index = index; 90 int index, other; local 97 index 109 put_full(int index) argument 149 int index = get_empty(); local 167 int index, err; local [all...] |
H A D | usb.c | 78 static void send_string(struct usb_device *device, int index, const char* string) { argument 80 ACCESSORY_SEND_STRING, 0, index, (void *)string, strlen(string) + 1, 0);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 138 * Get the list of supported channel index mask configurations 140 * Empty array if channel index mask is not relevant for this audio port 164 * Get the gain descriptor at a given index 166 AudioGain gain(int index) { argument 167 if (index < 0 || index >= mGains.length) { 170 return mGains[index];
|
H A D | MediaCodecList.java | 51 * the given {@code index} in the regular list. 57 public static final MediaCodecInfo getCodecInfoAt(int index) { argument 59 if (index < 0 || index > sRegularCodecInfos.length) { 62 return sRegularCodecInfos[index]; 85 for (int index = 0; index < count; index++) { 87 MediaCodecInfo info = getNewCodecInfoAt(index); 105 private static MediaCodecInfo getNewCodecInfoAt(int index) { argument 117 getCodecName(int index) argument 119 isEncoder(int index) argument 121 getSupportedTypes(int index) argument 124 getCodecCapabilities(int index, String type) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2StillCaptureTest.java | 604 private boolean isRegionsSupportedFor3A(int index) { argument 606 switch (index) { 617 throw new IllegalArgumentException("Unknown algorithm index"); 620 if (index == MAX_REGIONS_AF_INDEX && isRegionsSupported) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconControllerImpl.java | 120 private void addSystemIcon(int index, StatusBarIcon icon) { argument 121 String slot = getSlot(index); 122 int viewIndex = getViewIndex(index); 130 int index = getSlotIndex(slot); 131 StatusBarIcon icon = getIcon(index); 139 handleSet(index, icon); 158 int index = getSlotIndex(slot); 159 removeIcon(index); 163 int index = getSlotIndex(slot); 164 StatusBarIcon icon = getIcon(index); 173 removeIcon(int index) argument 183 setIcon(int index, StatusBarIcon icon) argument 197 handleSet(int index, StatusBarIcon icon) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 35 * index entries for all the objects stored inside it. 71 * objects inside the file's index. It could be used to query the 85 * Returns the name of a renderscript object the index entry 88 * @return name of a renderscript object the index entry 98 * Returns the type of a renderscript object the index entry 100 * @return type of a renderscript object the index entry 109 * Used to load the object described by the index entry 120 * Used to load the mesh described by the index entry, object 121 * described by the index entry must be a renderscript mesh 157 IndexEntry(RenderScript rs, int index, lon argument 215 getIndexEntry(int index) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LockGuard.java | 66 * Well-known locks ordered by fixed index. Locks with a specific index 67 * should never be acquired while holding a lock of a lower index. 144 public static void guard(int index) { argument 145 for (int i = 0; i < index; i++) { 150 + lockToString(index), new Throwable()); 165 * Report the given lock with a well-known index. 167 public static Object installLock(Object lock, int index) { argument 168 sKnownFixed[index] = lock; 172 public static Object installNewLock(int index) { argument 187 lockToString(int index) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | histogram.cpp | 88 int index = static_cast<int>(s * sScaler) * hBins + static_cast<int>(h * hScaler); local 89 histOut[index] += 1.0f; 115 int index; local 119 // Shifting hue index by 0.5 such that peaks of red, yellow, green, cyan, blue, pink 122 index = sIndex * hueBins + hIndex; 124 index = hueBins * saturationBins + (v * valueBins / 256); 126 histOut[index] += 1.0f;
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 54 int index; 55 for (index = 0; index < gTriPts.length; index++) { 56 gLinePts[index] = gTriPts[index]; 60 gLinePts[index + 0] = 150; 61 gLinePts[index + 1] = val; 62 gLinePts[index + 2] = 300; 63 gLinePts[index 425 getMapAtIndex(int index) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 235 // Place blank entries in the span array up to this index. 428 span.span.name.index = (uint32_t)idx; 524 span->name.index = htodl(ent.spans[i].span.name.index); 529 span->name.index = htodl(ResStringPool_span::END); 572 // Write string index array. 574 uint32_t* index = (uint32_t*)(header+1); variable 577 *index++ = htodl(ent.offset); 587 // Write style index array. 590 *index [all...] |
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 79 size_t index() const; 104 size_t index() const; 119 size_t index; member in class:aapt::StringPool::Entry
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 145 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, argument 157 mSession.insertChild((ViewGroup) parentView, childXml, index, listener); 170 public Result moveChild(Object parentView, Object childView, int index, argument 184 mLastResult = mSession.moveChild((ViewGroup) parentView, (View) childView, index,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeLayoutParamsMapAttributes.java | 59 public String getAttributeName(int index) { argument 64 public String getAttributeValue(int index) { argument 74 public int getAttributeNameResource(int index) { argument 115 public int getAttributeListValue(int index, argument 121 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument 126 public int getAttributeResourceValue(int index, int defaultValue) { argument 131 public int getAttributeIntValue(int index, int defaultValue) { argument 136 public int getAttributeUnsignedIntValue(int index, int defaultValue) { argument 141 public float getAttributeFloatValue(int index, float defaultValue) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 101 protected void loadIcon(int index, String iconName, Density density) { argument 102 loadIcon(index, iconName, density, false); 105 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { argument 106 View child = getChildAt(index); 138 protected TextView setText(int index, String string, boolean reference) { argument 139 View child = getChildAt(index);
|