/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 103 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 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/base/core/java/android/app/ |
H A D | StatusBarManager.java | 150 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument 154 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, 163 public void removeIcon(String slot) { argument 167 svc.removeIcon(slot); 175 public void setIconVisibility(String slot, boolean visible) { argument 179 svc.setIconVisibility(slot, visible);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 196 * Add a word to a slot. 198 * @param slot slot name. 204 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument 205 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag); 354 * in a grxml file, or in the <code>tag</code> slot of 663 private static native void SR_GrammarAddWordToSlot(int grammar, String slot, argument 666 // private static native void SR_GrammarAddNametagToSlot(int grammar, String slot,
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 99 public int getSlotIndex(String slot) { argument 102 if (slot.equals(mSlots[i])) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Mesh.java | 111 * @param slot index in the list of allocations to return 115 public Allocation getVertexAllocation(int slot) { argument 116 return mVertexBuffers[slot]; 133 * @param slot locaton within the list of index set allocation 138 public Allocation getIndexSetAllocation(int slot) { argument 139 return mIndexBuffers[slot]; 143 * @param slot locaiton within the list of index set primitives 147 public Primitive getPrimitive(int slot) { argument 148 return mPrimitives[slot];
|
H A D | Program.java | 94 * @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 D | ProgramFragmentFixedFunction.java | 250 * @param slot index of the texture to apply the operations on 254 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 256 if((slot < 0) || (slot >= MAX_TEXTURE)) { 259 mSlots[slot] = new Slot(env, fmt);
|
H A D | ProgramVertex.java | 70 * @param slot location of the input to return 73 public Element getInput(int slot) { argument 74 if (slot < 0 || slot >= mInputs.length) { 77 return mInputs[slot];
|
H A D | RenderScript.java | 247 native void rsnContextBindSampler(int con, int sampler, int slot); argument 248 synchronized void nContextBindSampler(int sampler, int slot) { argument 250 rsnContextBindSampler(mContext, sampler, slot); 610 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); argument 611 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { argument 613 rsnScriptBindAllocation(mContext, script, alloc, slot); 620 native void rsnScriptInvoke(int con, int id, int slot); argument 621 synchronized void nScriptInvoke(int id, int slot) { argument 623 rsnScriptInvoke(mContext, id, slot); 625 native void rsnScriptForEach(int con, int id, int slot, in argument 626 rsnScriptForEach(int con, int id, int slot, int ain, int aout) argument 627 rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument 629 rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument 631 nScriptForEach(int id, int slot, int ain, int aout, byte[] params) argument 640 nScriptForEachClipped(int id, int slot, int ain, int aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument 650 rsnScriptInvokeV(int con, int id, int slot, byte[] params) argument 651 nScriptInvokeV(int id, int slot, byte[] params) argument 656 rsnScriptSetVarI(int con, int id, int slot, int val) argument 657 nScriptSetVarI(int id, int slot, int val) argument 661 rsnScriptGetVarI(int con, int id, int slot) argument 662 nScriptGetVarI(int id, int slot) argument 667 rsnScriptSetVarJ(int con, int id, int slot, long val) argument 668 nScriptSetVarJ(int id, int slot, long val) argument 672 rsnScriptGetVarJ(int con, int id, int slot) argument 673 nScriptGetVarJ(int id, int slot) argument 678 rsnScriptSetVarF(int con, int id, int slot, float val) argument 679 nScriptSetVarF(int id, int slot, float val) argument 683 rsnScriptGetVarF(int con, int id, int slot) argument 684 nScriptGetVarF(int id, int slot) argument 688 rsnScriptSetVarD(int con, int id, int slot, double val) argument 689 nScriptSetVarD(int id, int slot, double val) argument 693 rsnScriptGetVarD(int con, int id, int slot) argument 694 nScriptGetVarD(int id, int slot) argument 698 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 699 nScriptSetVarV(int id, int slot, byte[] val) argument 703 rsnScriptGetVarV(int con, int id, int slot, byte[] val) argument 704 nScriptGetVarV(int id, int slot, byte[] val) argument 708 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 710 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 715 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 716 nScriptSetVarObj(int id, int slot, int val) argument 734 rsnScriptKernelIDCreate(int con, int sid, int slot, int sig) argument 735 nScriptKernelIDCreate(int sid, int slot, int sig) argument 740 rsnScriptFieldIDCreate(int con, int sid, int slot) argument 741 nScriptFieldIDCreate(int sid, int slot) argument 795 rsnProgramBindConstants(int con, int pv, int slot, int mID) argument 796 nProgramBindConstants(int pv, int slot, int mID) argument 800 rsnProgramBindTexture(int con, int vpf, int slot, int a) argument 801 nProgramBindTexture(int vpf, int slot, int a) argument 805 rsnProgramBindSampler(int con, int vpf, int slot, int s) argument 806 nProgramBindSampler(int vpf, int slot, int s) argument [all...] |
H A D | Script.java | 39 KernelID(int 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 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); 62 k = new KernelID(id, mRS, this, slot, sig); 63 mKIDs.put(slot, k); 78 FieldID(int 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 154 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument 188 bindAllocation(Allocation va, int slot) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 976 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 978 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 979 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 983 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 985 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 986 rsScriptSetVarI(con, (RsScript)script, slot, val); 990 nScriptGetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 992 LOG_API("nScriptGetVarI, con(%p), s(%p), slot( 999 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 1006 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 1013 nScriptGetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1022 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 1029 nScriptGetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1038 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 1045 nScriptGetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument 1054 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1064 nScriptGetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1074 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 1105 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot) argument 1112 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1122 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 1129 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 1140 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1160 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1241 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot, jint sig) argument 1248 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot) argument 1327 nProgramBindConstants(JNIEnv *_env, jobject _this, RsContext con, jint vpv, jint slot, jint a) argument 1334 nProgramBindTexture(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument 1341 nProgramBindSampler(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 478 GLuint slot = currentProgram->position; local 479 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices); 487 GLuint slot = currentProgram->texCoords; local 488 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices);
|
H A D | OpenGLRenderer.cpp | 1993 int slot = mCaches.currentProgram->getAttrib("colors"); local 1994 if (slot >= 0) { 1995 glEnableVertexAttribArray(slot); 1996 glVertexAttribPointer(slot, 4, GL_FLOAT, GL_FALSE, stride, colors); 2310 int slot = mCaches.currentProgram->getAttrib("colors"); local 2311 if (slot >= 0) { 2312 glDisableVertexAttribArray(slot);
|
H A D | Program.cpp | 109 int slot = glGetAttribLocation(mProgramId, name); local 110 mAttributes.add(name, slot); 111 return slot; 129 int slot = glGetUniformLocation(mProgramId, name); local 130 mUniforms.add(name, slot); 131 return slot;
|
H A D | SkiaShader.cpp | 48 static inline void bindUniformColor(int slot, uint32_t color) { argument 50 glUniform4f(slot,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 80 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument 81 public void updateIcon(String slot, int index, int viewIndex, argument 83 public void removeIcon(String slot, int index, int viewIndex); argument
|
H A D | StatusBarIconView.java | 52 public StatusBarIconView(Context context, String slot, Notification notification) { argument 55 mSlot = slot; 148 Log.w(TAG, "No icon for slot " + mSlot); 237 Log.d("View", debugIndent(depth) + "slot=" + mSlot); 284 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DemoStatusIcons.java | 120 private void updateSlot(String slot, String iconPkg, int iconId) { argument 125 if (slot.equals(v.getTag())) { 147 v.setTag(slot);
|
H A D | PhoneStatusBar.java | 883 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument 884 if (SPEW) Log.d(TAG, "addIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex 886 StatusBarIconView view = new StatusBarIconView(mContext, slot, null); 891 public void updateIcon(String slot, int index, int viewIndex, argument 893 if (SPEW) Log.d(TAG, "updateIcon slot=" + slot + " index=" + index + " viewIndex=" + viewIndex 899 public void removeIcon(String slot, int index, int viewIndex) { argument 900 if (SPEW) Log.d(TAG, "removeIcon slot=" + slot [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 35 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument 39 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, argument 44 public void removeIcon(String slot, int index, int viewIndex) { argument
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 65 // Maximum number of slots supported when using the slot-based Multitouch Protocol B. 1411 slot.clear(); 1564 // Query the driver for the current slot index and use it as the initial slot 1566 // current slot index will not be the same as it was when the first event was 1577 ALOGD("Could not retrieve current multitouch slot index. status=%d", status); 1610 ALOGW("MultiTouch device emitted invalid slot index %d but it " 1611 "should be between 0 and %d; ignoring this slot.", 1616 Slot* slot = &mSlots[mCurrentSlot]; local 1620 slot [all...] |
H A D | InputReader.h | 725 RawAbsoluteAxisInfo slot; member in struct:android::RawPointerAxes
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 3687 void processSlot(MultiTouchInputMapper* mapper, int32_t slot); 3791 MultiTouchInputMapper* mapper, int32_t slot) { 3792 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_MT_SLOT, slot); 3790 processSlot( MultiTouchInputMapper* mapper, int32_t slot) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | StatusBarManagerService.java | 192 public void setIcon(String slot, String iconPackage, int iconId, int iconLevel, argument 197 int index = mIcons.getSlotIndex(slot); 199 throw new SecurityException("invalid status bar icon slot: " + slot); 205 //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon); 217 public void setIconVisibility(String slot, boolean visible) { argument 221 int index = mIcons.getSlotIndex(slot); 223 throw new SecurityException("invalid status bar icon slot: " + slot); 244 removeIcon(String slot) argument [all...] |