/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 118 size_t slot = ((x - minUs) * 100) / (maxUs - minUs); local 119 if (slot == 100) { slot = 99; } 121 ++counts[slot];
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 706 int64_t slot = (sample - mFloor) / mWidth; local 707 CHECK(slot < mBucketCount); 708 mBuckets[slot]++;
|
H A D | MediaSync.cpp | 670 int slot; local 672 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); 676 status = mOutput->queueBuffer(slot, queueInput, &queueOutput);
|
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | GraphicBufferSource.cpp | 77 * holds a reference to the buffer, and maintains which buffer slot it belongs to (if any), and 78 * whether it is still in a buffer slot. It also maintains whether there are any outstanging acquire 79 * references to it (by buffers acquired from the slot) mainly so that we can keep a debug 89 * Create using a buffer cached in a slot. 91 CachedBuffer(slot_id slot, const sp<GraphicBuffer> &graphicBuffer) argument 93 mSlot(slot), 99 * Returns the cache slot that this buffer is cached in, or -1 if it is no longer cached. 101 * This assumes that -1 slot id is invalid; though, it is just a benign collision used for 216 * Returns the slot that this buffer is cached at, or -1 otherwise. 218 * This assumes that -1 slot i [all...] |
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | WGraphicBufferProducer.h | 68 Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) override { 70 status_t status = mBase->requestBuffer(slot, &buf); 92 int slot; variable 96 &slot, &fence, width, height, 107 static_cast<int32_t>(slot), 117 static_cast<int32_t>(slot), 125 static_cast<int32_t>(slot), 139 Return<int32_t> detachBuffer(int32_t slot) override { 140 return static_cast<int32_t>(mBase->detachBuffer(slot)); 186 int32_t slot, cons [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_imdct_synth.cpp | 319 for (int32 slot = 1; slot < FILTERBANK_BANDS; slot += 6) 321 int32 temp1 = out[slot ]; 322 int32 temp2 = out[slot+2]; 323 int32 temp3 = out[slot+4]; 324 out[slot ] = -temp1; 325 out[slot+2] = -temp2; 326 out[slot+4] = -temp3; 336 int32 slot; local [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3StreamSplitter.cpp | 215 // The output slot count requirement can change depending on the current amount 338 int slot = getSlotForOutputLocked(output, tracker.getBuffer()); local 345 res = output->queueBuffer(slot, queueInput, &queueOutput); 348 SP_LOGV("%s: Queuing buffer to buffer queue %p slot %d returns %d", 349 __FUNCTION__, output.get(), slot, res); 413 int slot = getSlotForOutputLocked(gbp, gb); local 414 if (slot != BufferItem::INVALID_BUFFER_SLOT) { 423 res = gbp->attachBuffer(&slot, gb); 430 if ((slot < 0) || (slot > BufferQueu 599 int slot = BufferItem::INVALID_BUFFER_SLOT; local 630 int slot = BufferItem::INVALID_BUFFER_SLOT; local 641 returnOutputBufferLocked(const sp<Fence>& fence, const sp<IGraphicBufferProducer>& from, size_t surfaceId, int slot) argument 674 handleOutputDequeueStatusLocked(status_t res, int slot) argument [all...] |
H A D | Camera3StreamSplitter.h | 82 // slot in the output queue. 140 void handleOutputDequeueStatusLocked(status_t res, int slot); 144 size_t surfaceId, int slot); 217 // Helper function to get the BufferQueue slot where a particular buffer is attached to.
|
/frameworks/av/services/mediaanalytics/ |
H A D | MediaAnalyticsService.cpp | 407 int slot = 0; local 424 result.appendFormat("%5d: %s\n", slot, entry.c_str()); 425 slot++;
|
/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 210 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument 214 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, 222 public void removeIcon(String slot) { argument 226 svc.removeIcon(slot); 233 public void setIconVisibility(String slot, boolean visible) { argument 237 svc.setIconVisibility(slot, visible);
|
/frameworks/base/core/java/android/net/ |
H A D | IConnectivityManager.aidl | 180 void stopKeepalive(in Network network, int slot);
|
H A D | NetworkAgent.java | 149 * arg1 = the slot number of the keepalive to start 160 * arg1 = slot number of the keepalive to stop. 174 * arg1 = slot number of the keepalive 457 public void onPacketKeepaliveEvent(int slot, int reason) { argument 458 queueOrSendMessage(EVENT_PACKET_KEEPALIVE, slot, reason);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 30 void setIcon(String slot, in StatusBarIcon icon); 31 void removeIcon(String slot);
|
H A D | IStatusBarService.aidl | 40 void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription); 41 void setIconVisibility(String slot, boolean visible); 42 void removeIcon(String slot);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 104 for (Slot slot : slots) { 105 switch (slot) {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListButtonsDiagonalAcrossItems.java | 52 final Slot slot = position == 0 ? Slot.Left : 55 parent.getContext(), desiredHeight, slot);
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 98 int slot = glGetAttribLocation(mProgramId, name); local 99 mAttributes.add(name, slot); 100 return slot; 118 int slot = glGetUniformLocation(mProgramId, name); local 119 mUniforms.add(name, slot); 120 return slot;
|
H A D | SkiaShader.cpp | 55 static inline void bindUniformColor(int slot, FloatColor color) { argument 56 glUniform4fv(slot, 1, reinterpret_cast<const float*>(&color));
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 4636 int slot = 0; 4639 deviceList[slot++] = new AudioDeviceInfo(port);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitor.java | 917 SimData(State state, int slot, int id) { argument 919 slotId = slot; 1952 * Find the next SubscriptionId for a SIM in the given state, favoring lower slot numbers first. 1959 int bestSlotId = Integer.MAX_VALUE; // Favor lowest slot first
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServices.java | 104 final String slot = tile.getComponent().getClassName(); 105 // TileServices doesn't know how to add more than 1 icon per slot, so remove all 107 .removeAllIconsForSlot(slot));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 116 default void setIcon(String slot, StatusBarIcon icon) { } argument 117 default void removeIcon(String slot) { } argument 183 public void setIcon(String slot, StatusBarIcon icon) { argument 187 new Pair<String, StatusBarIcon>(slot, icon)).sendToTarget(); 191 public void removeIcon(String slot) { argument 194 mHandler.obtainMessage(MSG_ICON, OP_REMOVE_ICON, 0, slot).sendToTarget();
|
H A D | StatusBarIconView.java | 157 public StatusBarIconView(Context context, String slot, StatusBarNotification sbn) { argument 158 this(context, slot, sbn, false); 161 public StatusBarIconView(Context context, String slot, StatusBarNotification sbn, argument 166 mSlot = slot; 337 Log.w(TAG, "OOM while inflating " + mIcon.icon + " for slot " + mSlot); 342 Log.w(TAG, "No icon for slot " + mSlot + "; " + mIcon.icon); 445 Log.d("View", debugIndent(depth) + "slot=" + mSlot); 492 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon
|
H A D | StatusBarMobileView.java | 63 public static StatusBarMobileView fromContext(Context context, String slot) { argument 68 v.setSlot(slot); 218 public void setSlot(String slot) { argument 219 mSlot = slot; 281 return "StatusBarMobileView(slot=" + mSlot + " state=" + mState + ")";
|
H A D | StatusBarWifiView.java | 72 public static StatusBarWifiView fromContext(Context context, String slot) { argument 75 v.setSlot(slot); 98 public void setSlot(String slot) { argument 99 mSlot = slot; 269 return "StatusBarWifiView(slot=" + mSlot + " state=" + mState + ")";
|