Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:idx

93         const size_t idx = lookup.valueAt(i);
94 LOGE_IF(layers[idx]!=key,
96 this, int(idx), layers[idx].get(), key.get());
97 return idx;
1747 ssize_t idx = mInUse.indexOf(id);
1748 if (idx < 0)
1750 return mLayers.insertAt(layer, idx);
1755 ssize_t idx = mInUse.remove(uint8_t(id));
1756 if (idx >= 0) {
1758 mLayers.removeItemsAt(idx);
1768 ssize_t idx = mInUse.indexOf(uint8_t(i));
1769 if (idx >= 0) {
1770 lbc = mLayers[idx].promote();
1771 LOGE_IF(lbc==0, "getLayerUser(i=%d), idx=%d is dead", int(i), int(idx));