Searched refs:slot (Results 1 - 25 of 111) sorted by path

12345

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp103 size_t slot = ((x - minUs) * 100) / (maxUs - minUs); local
104 if (slot == 100) { slot = 99; }
106 ++counts[slot];
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_imdct_synth.cpp319 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/base/core/java/android/app/
H A DStatusBarManager.java152 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument
156 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel,
165 public void removeIcon(String slot) { argument
169 svc.removeIcon(slot);
177 public void setIconVisibility(String slot, boolean visible) { argument
181 svc.setIconVisibility(slot, visible);
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java194 * Add a word to a slot.
196 * @param slot slot name.
202 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument
203 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag);
352 * in a grxml file, or in the <code>tag</code> slot of
661 private static native void SR_GrammarAddWordToSlot(long grammar, String slot, argument
664 // private static native void SR_GrammarAddNametagToSlot(long grammar, String slot,
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl30 void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription);
31 void setIconVisibility(String slot, boolean visible);
32 void removeIcon(String slot);
H A DStatusBarIconList.java99 public int getSlotIndex(String slot) { argument
102 if (slot.equals(mSlots[i])) {
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java104 for (Slot slot : slots) {
105 switch (slot) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListButtonsDiagonalAcrossItems.java52 final Slot slot = position == 0 ? Slot.Left :
55 parent.getContext(), desiredHeight, slot);
/frameworks/base/libs/hwui/
H A DCaches.cpp487 GLuint slot = currentProgram->position; local
488 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices);
496 GLuint slot = currentProgram->texCoords; local
497 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices);
H A DOpenGLRenderer.cpp1863 int slot = mCaches.currentProgram->getAttrib("colors"); local
1864 if (slot >= 0) {
1865 glEnableVertexAttribArray(slot);
1866 glVertexAttribPointer(slot, 4, GL_FLOAT, GL_FALSE, stride, colors);
2140 int slot = mCaches.currentProgram->getAttrib("colors"); local
2141 if (slot >= 0) {
2142 glDisableVertexAttribArray(slot);
H A DProgram.cpp101 int slot = glGetAttribLocation(mProgramId, name); local
102 mAttributes.add(name, slot);
103 return slot;
121 int slot = glGetUniformLocation(mProgramId, name); local
122 mUniforms.add(name, slot);
123 return slot;
H A DSkiaShader.cpp49 static inline void bindUniformColor(int slot, uint32_t color) { argument
51 glUniform4f(slot,
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java525 SimData(State state, int slot, int id) { argument
527 slotId = slot;
1312 * Find the next SubscriptionId for a SIM in the given state, favoring lower slot numbers first.
1319 int bestSlotId = Integer.MAX_VALUE; // Favor lowest slot first
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java78 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument
79 public void updateIcon(String slot, int index, int viewIndex, argument
81 public void removeIcon(String slot, int index, int viewIndex); argument
H A DStatusBarIconView.java52 public StatusBarIconView(Context context, String slot, Notification notification) { argument
55 mSlot = slot;
152 Log.w(TAG, "No icon for slot " + mSlot);
241 Log.d("View", debugIndent(depth) + "slot=" + mSlot);
288 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java136 private void updateSlot(String slot, String iconPkg, int iconId) { argument
141 if (slot.equals(v.getTag())) {
163 v.setTag(slot);
H A DPhoneStatusBar.java1277 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument
1278 if (SPEW) Log.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex
1280 StatusBarIconView view = new StatusBarIconView(mContext, slot, null);
1284 view = new StatusBarIconView(mContext, slot, null);
1290 public void updateIcon(String slot, int index, int viewIndex, argument
1292 if (SPEW) Log.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex
1300 public void removeIcon(String slot, int index, int viewIndex) { argument
1301 if (SPEW) Log.d(TAG, "removeIcon slot
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java784 String slotString = args.getString("slot");
785 int slot = TextUtils.isEmpty(slotString) ? 0 : Integer.parseInt(slotString);
788 .values().toArray(new MobileSignalController[0])[slot];
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java37 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument
41 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, argument
46 public void removeIcon(String slot, int index, int viewIndex) { argument
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java109 * @param slot index in the list of allocations to return
113 public Allocation getVertexAllocation(int slot) { argument
114 return mVertexBuffers[slot];
131 * @param slot locaton within the list of index set allocation
136 public Allocation getIndexSetAllocation(int slot) { argument
137 return mIndexBuffers[slot];
141 * @param slot locaiton within the list of index set primitives
145 public Primitive getPrimitive(int slot) { argument
146 return mPrimitives[slot];
H A DProgram.java94 * @param slot index of the constant input type to return
97 public Type getConstant(int slot) { argument
98 if (slot < 0 || slot >= mConstants.length) {
101 return mConstants[slot];
113 * Returns the type of texture at a given slot. e.g. 2D or Cube
114 * @param slot index of the texture input
117 public TextureType getTextureType(int slot) { argument
118 if ((slot < 0) || (slot >
130 getTextureName(int slot) argument
145 bindConstants(Allocation a, int slot) argument
164 bindTexture(Allocation va, int slot) argument
188 bindSampler(Sampler vs, int slot) argument
[all...]
H A DProgramFragmentFixedFunction.java247 * @param slot index of the texture to apply the operations on
251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument
253 if((slot < 0) || (slot >= MAX_TEXTURE)) {
256 mSlots[slot] = new Slot(env, fmt);
H A DProgramVertex.java66 * @param slot location of the input to return
69 public Element getInput(int slot) { argument
70 if (slot < 0 || slot >= mInputs.length) {
73 return mInputs[slot];
H A DRenderScript.java269 native void rsnContextBindSampler(long con, int sampler, int slot); argument
270 synchronized void nContextBindSampler(int sampler, int slot) { argument
272 rsnContextBindSampler(mContext, sampler, slot);
593 native void rsnScriptBindAllocation(long con, long script, long alloc, int slot); argument
594 synchronized void nScriptBindAllocation(long script, long alloc, int slot) { argument
596 rsnScriptBindAllocation(mContext, script, alloc, slot);
603 native void rsnScriptInvoke(long con, long id, int slot); argument
604 synchronized void nScriptInvoke(long id, int slot) { argument
606 rsnScriptInvoke(mContext, id, slot);
608 native void rsnScriptForEach(long con, long id, int slot, lon argument
609 rsnScriptForEach(long con, long id, int slot, long ain, long aout) argument
610 rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
612 rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
614 nScriptForEach(long id, int slot, long ain, long aout, byte[] params) argument
623 nScriptForEachClipped(long id, int slot, long ain, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
639 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
642 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
646 nScriptForEachMultiClipped(long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
656 rsnScriptInvokeV(long con, long id, int slot, byte[] params) argument
657 nScriptInvokeV(long id, int slot, byte[] params) argument
662 rsnScriptSetVarI(long con, long id, int slot, int val) argument
663 nScriptSetVarI(long id, int slot, int val) argument
667 rsnScriptGetVarI(long con, long id, int slot) argument
668 nScriptGetVarI(long id, int slot) argument
673 rsnScriptSetVarJ(long con, long id, int slot, long val) argument
674 nScriptSetVarJ(long id, int slot, long val) argument
678 rsnScriptGetVarJ(long con, long id, int slot) argument
679 nScriptGetVarJ(long id, int slot) argument
684 rsnScriptSetVarF(long con, long id, int slot, float val) argument
685 nScriptSetVarF(long id, int slot, float val) argument
689 rsnScriptGetVarF(long con, long id, int slot) argument
690 nScriptGetVarF(long id, int slot) argument
694 rsnScriptSetVarD(long con, long id, int slot, double val) argument
695 nScriptSetVarD(long id, int slot, double val) argument
699 rsnScriptGetVarD(long con, long id, int slot) argument
700 nScriptGetVarD(long id, int slot) argument
704 rsnScriptSetVarV(long con, long id, int slot, byte[] val) argument
705 nScriptSetVarV(long id, int slot, byte[] val) argument
709 rsnScriptGetVarV(long con, long id, int slot, byte[] val) argument
710 nScriptGetVarV(long id, int slot, byte[] val) argument
714 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims) argument
716 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims) argument
721 rsnScriptSetVarObj(long con, long id, int slot, long val) argument
722 nScriptSetVarObj(long id, int slot, long val) argument
740 rsnScriptKernelIDCreate(long con, long sid, int slot, int sig) argument
741 nScriptKernelIDCreate(long sid, int slot, int sig) argument
746 rsnScriptFieldIDCreate(long con, long sid, int slot) argument
747 nScriptFieldIDCreate(long sid, int slot) argument
801 rsnProgramBindConstants(long con, long pv, int slot, long mID) argument
802 nProgramBindConstants(long pv, int slot, long mID) argument
806 rsnProgramBindTexture(long con, long vpf, int slot, long a) argument
807 nProgramBindTexture(long vpf, int slot, long a) argument
811 rsnProgramBindSampler(long con, long vpf, int slot, long s) argument
812 nProgramBindSampler(long vpf, int slot, long s) argument
[all...]
H A DScript.java39 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { argument
42 mSlot = slot;
51 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument
52 KernelID k = mKIDs.get(slot);
57 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
62 k = new KernelID(id, mRS, this, slot, sig);
63 mKIDs.put(slot, k);
78 FieldID(long id, RenderScript rs, Script s, int slot) { argument
81 mSlot = slot;
89 protected FieldID createFieldID(int slot, Elemen argument
110 invoke(int slot) argument
118 invoke(int slot, FieldPacker v) argument
130 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) argument
157 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument
190 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v) argument
199 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument
242 bindAllocation(Allocation va, int slot) argument
[all...]

Completed in 1053 milliseconds

12345