/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 194 uint32 mask; local 207 mask = 254; 208 mask |= (mask << 8); 209 mask |= (mask << 16); /* 0xFEFEFEFE */ 222 word1 &= mask; 223 word3 &= (~mask); /* 0x1010101, check last bit */ 224 word12 &= mask; 234 word2 &= mask; 523 uint32 mask; local 870 uint32 mask; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMuteSolo.c | 31 SLuint16 mask = 1 << channel; local 34 thiz->mChannelMuteMask |= mask; 36 thiz->mChannelMuteMask &= ~mask; 55 SLuint16 mask = thiz->mChannelMuteMask; local 57 *pMute = (mask >> channel) & 1; 74 SLuint16 mask = 1 << channel; local 77 thiz->mChannelSoloMask |= mask; 79 thiz->mChannelSoloMask &= ~mask; 98 SLuint16 mask = thiz->mChannelSoloMask; local 100 *pSolo = (mask >> channe 135 SLuint32 mask = 1 << track; local 159 SLuint32 mask = thiz->mTrackMuteMask; local 178 SLuint32 mask = 1 << track; interface_lock_exclusive(thiz); local 201 SLuint32 mask = thiz->mTrackSoloMask; local [all...] |
H A D | I3DGrouping.c | 43 unsigned mask = 1 << id; local 52 assert(oldGroup->mMemberMask & mask); 53 oldGroup->mMemberMask &= ~mask; 62 assert(!(newGroup->mMemberMask & mask)); 63 newGroup->mMemberMask |= mask; 111 unsigned mask = 1 << (InterfaceToIObject(thiz)->mInstanceID - 1); local 114 assert(group->mMemberMask & mask); 115 group->mMemberMask &= ~mask;
|
H A D | IMuteSolo.c | 41 SLuint8 mask = 1 << chan; local 44 ap->mMuteMask |= mask; 46 ap->mMuteMask &= ~mask; 81 SLuint8 mask = ap->mMuteMask; local 82 mute = (SLboolean) ((mask >> chan) & 1); 113 SLuint8 mask = 1 << chan; local 116 ap->mSoloMask |= mask; 118 ap->mSoloMask &= ~mask; 153 SLuint8 mask = ap->mSoloMask; local 154 solo = (SLboolean) ((mask >> cha [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | interface.c | 53 Word32 mask; local 83 /* generate grouping mask */ 84 mask = 0; 86 mask = mask << 1; 88 mask = mask << 1; 89 mask |= 1; 92 psyOutCh->groupingMask = mask;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 460 ULong mask; local 470 mask = 254; 471 mask |= (mask << 8); 472 mask |= (mask << 16); /* 0xFEFEFEFE */ 485 word1 &= mask; 486 word3 &= (~mask); /* 0x1010101, check last bit */ 487 word12 &= mask; 497 word2 &= mask; 785 ULong mask; local 1129 ULong mask; local 1800 UChar mask = 0xFF; local 1868 UChar mask = 0xFF; local [all...] |
H A D | me_utils.cpp | 318 Int tmp, tmp2, mask = 0x00FF00FF; local 326 tmp2 = tmp & mask; 327 tmp = (tmp >> 8) & mask; 331 tmp2 = tmp & mask; 332 tmp = (tmp >> 8) & mask; 336 tmp2 = tmp & mask; 337 tmp = (tmp >> 8) & mask; 342 tmp2 = tmp & mask; 343 tmp = (tmp >> 8) & mask; 348 tmp2 = tmp & mask; [all...] |
H A D | dct.cpp | 46 Int mask; local 58 mask = 0x1FE; 62 k1 = mask & (tmp << 1); 65 k2 = mask & (tmp >> 7); 68 k3 = mask & (tmp >> 15); 71 k4 = mask & (tmp >> 23); 76 k5 = mask & (tmp << 1); 79 k6 = mask & (tmp >> 7); 82 k7 = mask & (tmp >> 15); 85 tmp = mask 274 Int mask; local 480 Int mask; local 660 Int mask; local 870 Int mask; local 1057 Int mask; local [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VD_Tools.c | 62 M4OSA_UInt32 temp_dest = 0, mask = 0, temp = 1; local 73 mask |= (temp << ((7*(j+1))-i+j)); 77 mask = ~mask; 78 *dest_bits &= mask;
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 113 uint32_t mask = 0; local 114 mask |= (exclude.left > left) ? 1 : 0; 115 mask |= (exclude.top > top) ? 2 : 0; 116 mask |= (exclude.right < right) ? 4 : 0; 117 mask |= (exclude.bottom < bottom) ? 8 : 0; 119 if (mask == 0) { 124 if (!(mask & (mask - 1))) { 126 if (mask & 1) { 128 } else if (mask [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 87 #define NB_POS 16 /* pos in track, mask for sign bit */ 121 int32 mask, i; local 123 mask = ((1 << N) - 1); 127 pos1 = ((index & mask) + offset); 148 int32 mask, i; local 150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ 154 /* pos1 = (((index >> N) & mask) + offset); */ 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); 158 pos2 = add_int16((int16)(index & mask), offse 195 int32 mask, idx; local 232 int32 mask, idx; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 37 * <p>An event mask is used to specify which changes or actions to report. 39 * event mask as well as what actually happened in event callbacks.</p> 71 /** Event mask: All valid event types, combined */ 91 public int startWatching(String path, int mask, FileObserver observer) { argument 92 int wfd = startWatching(m_fd, path, mask); 108 public void onEvent(int wfd, int mask, String path) { argument 125 observer.onEvent(mask, path); 134 private native int startWatching(int fd, String path, int mask); argument 163 * @param mask The event or events (added together) to watch for 165 public FileObserver(String path, int mask) { argument [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 424 int mask = (BluetoothReceiver.STATE_TURNING_ON_FLAG | BluetoothReceiver.STATE_ON_FLAG 427 BluetoothReceiver receiver = getBluetoothReceiver(mask); 437 mask = 0; // Don't check for received intents since we might have missed them. 457 && (receiver.getFiredFlags() & mask) == mask) { 474 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); 484 int mask = (BluetoothReceiver.STATE_TURNING_OFF_FLAG | BluetoothReceiver.STATE_OFF_FLAG 487 BluetoothReceiver receiver = getBluetoothReceiver(mask); 506 mask = 0; // Don't check for received intents since we might have missed them. 517 && (receiver.getFiredFlags() & mask) [all...] |
/frameworks/base/include/android_runtime/ |
H A D | android_app_NativeActivity.h | 35 ANativeActivity* activity, int32_t values, int32_t mask);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | IconLoader.java | 304 int mask = getMask(bitsPerImg); 312 int clutEntry = ((currentByte >> bitIndex) & mask); 324 * Calculate bit mask for a given number of bits. The mask should enable to 326 * @param numOfBits number of bits to calculate mask for. 327 * @return bit mask 330 int mask = 0x00; 334 mask = 0x01; 337 mask = 0x03; 340 mask [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | q_pulse.c | 29 #define NB_POS 16 /* pos in track, mask for sign bit */ 35 Word16 mask; local 38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ 42 index = L_deposit_l((Word16) (pos & mask)); 56 Word16 mask, tmp; local 58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ 67 /* index = ((pos1 & mask) << N) + (pos2 & mask); */ 191 Word16 nb_pos, mask, n_1, tmp; local [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 41 protected int mask() { return 0x0; }; method in class:DisplayModifier 111 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; } 120 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; } 132 protected int mask() { return SWEEP_STROKE_WIDTH_BIT; } 168 protected int mask() { return SWEEP_STROKE_CAP_BIT; } 192 protected int mask() { return SWEEP_STROKE_JOIN_BIT; } 216 protected int mask() { return SWEEP_TRANSFORM_BIT; }; 243 protected int mask() { return SWEEP_TRANSFORM_BIT; }; 252 protected int mask() { return SWEEP_TRANSFORM_BIT; }; 263 protected int mask() { retur [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | ToRGBAFilter.java | 49 MutableFrameFormat mask = new MutableFrameFormat(FrameFormat.TYPE_BYTE, 51 mask.setDimensionCount(2); 52 addMaskedInputPort("image", mask);
|
H A D | ToRGBFilter.java | 49 MutableFrameFormat mask = new MutableFrameFormat(FrameFormat.TYPE_BYTE, 51 mask.setDimensionCount(2); 52 addMaskedInputPort("image", mask);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_util.c | 86 u32 mask = 1 << (length - 1); local 92 while (mask && !(value & mask)) 95 mask >>= 1;
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 34 void setSystemUiVisibility(int vis, int mask);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_TransformResidual4x4_s.s | 116 mask RN 14 label 332 LDR mask, =0xffff03ff ;// Used to mask the down shifted 6 bits 342 AND colOp00, mask, colOp00, ASR #6 343 AND colOp02, mask, colOp02, ASR #6 352 AND colOp10, mask, colOp10, ASR #6 353 AND colOp12, mask, colOp12, ASR #6 362 AND colOp20, mask, colOp20, ASR #6 363 AND colOp22, mask, colOp22, ASR #6 372 AND colOp30, mask, colOp3 [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 946 @ViewDebug.FlagToString(mask = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, equals = FLAG_ALLOW_LOCK_WHILE_SCREEN_ON, 948 @ViewDebug.FlagToString(mask = FLAG_DIM_BEHIND, equals = FLAG_DIM_BEHIND, 950 @ViewDebug.FlagToString(mask = FLAG_BLUR_BEHIND, equals = FLAG_BLUR_BEHIND, 952 @ViewDebug.FlagToString(mask = FLAG_NOT_FOCUSABLE, equals = FLAG_NOT_FOCUSABLE, 954 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCHABLE, equals = FLAG_NOT_TOUCHABLE, 956 @ViewDebug.FlagToString(mask = FLAG_NOT_TOUCH_MODAL, equals = FLAG_NOT_TOUCH_MODAL, 958 @ViewDebug.FlagToString(mask = FLAG_TOUCHABLE_WHEN_WAKING, equals = FLAG_TOUCHABLE_WHEN_WAKING, 960 @ViewDebug.FlagToString(mask = FLAG_KEEP_SCREEN_ON, equals = FLAG_KEEP_SCREEN_ON, 962 @ViewDebug.FlagToString(mask = FLAG_LAYOUT_IN_SCREEN, equals = FLAG_LAYOUT_IN_SCREEN, 964 @ViewDebug.FlagToString(mask [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_FileObserver.cpp | 86 env->CallVoidMethod(object, method_onEvent, event->wd, event->mask, path); 105 static jint android_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) argument 115 res = inotify_add_watch(fd, path, mask);
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 99 // strictly for testing, logs the indices of the channels for a given mask, 101 void Downmix_testIndexComputation(uint32_t mask) { argument 102 ALOGI("Testing index computation for 0x%x:", mask); 104 if (mask & kUnsupported) { 109 if ((mask & AUDIO_CHANNEL_OUT_STEREO) != AUDIO_CHANNEL_OUT_STEREO) { 115 if ((mask & kSides) != 0) { 116 if ((mask & kSides) != kSides) { 124 if ((mask & kBacks) != 0) { 125 if ((mask & kBacks) != kBacks) { 132 const int numChan = popcount(mask); 1040 Downmix_foldGeneric( uint32_t mask, int16_t *pSrc, int16_t*pDst, size_t numFrames, bool accumulate) argument [all...] |