/packages/apps/Gallery2/jni/filters/ |
D | redEyeMath.c | 33 void findPossible(unsigned char *src, unsigned char *mask, int iw, int ih, in findPossible() argument 46 mask[x + y * recW] = ( in findPossible() 47 mask[x + y * recW] > 0 && (value(r, g, b) > 240) ? 1 : 0); in findPossible() 54 void findReds(unsigned char *src, unsigned char *mask, int iw, int ih, in findReds() argument 64 mask[x + y * recW] = ((isRed(src, p)) ? 1 : 0); in findReds() 71 void dialateMaskIfRed(unsigned char *src, int iw, int ih, unsigned char *mask, in dialateMaskIfRed() argument 82 char b = (mask[row + x] | mask[row + x + 1] | mask[row + x - 1] in dialateMaskIfRed() 83 | mask[row + x - recW] | mask[row + x + recW]); in dialateMaskIfRed() 87 out[row + x] = mask[row + x]; in dialateMaskIfRed() 92 void dialateMask(unsigned char *mask, unsigned char *out, int mw, int mh) { in dialateMask() argument [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupFragment.java | 160 public void enableFragmentTransition(@FragmentTransitionType int mask) { in enableFragmentTransition() argument 161 setEnterTransition((mask & FRAGMENT_ENTER_TRANSITION) == 0 ? null in enableFragmentTransition() 163 setExitTransition((mask & FRAGMENT_EXIT_TRANSITION) == 0 ? null in enableFragmentTransition() 165 setReenterTransition((mask & FRAGMENT_REENTER_TRANSITION) == 0 ? null in enableFragmentTransition() 167 setReturnTransition((mask & FRAGMENT_RETURN_TRANSITION) == 0 ? null in enableFragmentTransition() 202 public void setShortDistance(@FragmentTransitionType int mask) { in setShortDistance() argument 203 if ((mask & FRAGMENT_ENTER_TRANSITION) != 0) { in setShortDistance() 209 if ((mask & FRAGMENT_EXIT_TRANSITION) != 0) { in setShortDistance() 215 if ((mask & FRAGMENT_REENTER_TRANSITION) != 0) { in setShortDistance() 221 if ((mask & FRAGMENT_RETURN_TRANSITION) != 0) { in setShortDistance()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterGradRepresentation.java | 65 private boolean mask = true; field in FilterGradRepresentation.Band 87 mask = copy.mask; in Band() 103 if (!point.mask) { in toString() 112 p.mask = false; in creatExample() 162 if (b1.mask != b2.mask in equals() 181 if (!point.mask) { in getNumberOfBands() 190 mCurrentBand.mask = false; in addBand() 206 if (point.mask) { in addBand() 212 if (point.mask) { in addBand() 264 while (point.mask == true); in nextPoint() [all …]
|
D | grad.rs | 38 bool mask[MAX_POINTS]; 54 if (!mask[i]) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Utilities.java | 180 Bitmap mask = src.extractAlpha(sBlurPaint, xy); in drawSelectedAllAppsBitmap() local 184 dest.drawBitmap(mask, px + xy[0], py + xy[1], in drawSelectedAllAppsBitmap() 187 mask.recycle(); in drawSelectedAllAppsBitmap() 257 int mask = 0x8000000; in roundToPow2() local 258 while (mask != 0 && (n & mask) == 0) { in roundToPow2() 259 mask >>= 1; in roundToPow2() 261 while (mask != 0) { in roundToPow2() 262 n |= mask; in roundToPow2() 263 mask >>= 1; in roundToPow2()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 111 @ViewDebug.FlagToString(mask = -1, 113 @ViewDebug.FlagToString(mask = Gravity.NO_GRAVITY, 115 @ViewDebug.FlagToString(mask = Gravity.TOP, 117 @ViewDebug.FlagToString(mask = Gravity.BOTTOM, 119 @ViewDebug.FlagToString(mask = Gravity.LEFT, 121 @ViewDebug.FlagToString(mask = Gravity.RIGHT, 123 @ViewDebug.FlagToString(mask = Gravity.START, 125 @ViewDebug.FlagToString(mask = Gravity.END, 127 @ViewDebug.FlagToString(mask = Gravity.CENTER_VERTICAL, 129 @ViewDebug.FlagToString(mask = Gravity.FILL_VERTICAL, [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 371 int mask = 0; in grantRuntimePermissions() local 392 mask |= PackageManager.FLAG_PERMISSION_REVOKE_ON_UPGRADE; in grantRuntimePermissions() 396 if (mask != 0) { in grantRuntimePermissions() 398 mPackageInfo.packageName, mask, 0, mUserHandle); in grantRuntimePermissions() local 469 int mask = 0; in revokeRuntimePermissions() local 491 mask |= PackageManager.FLAG_PERMISSION_REVOKE_ON_UPGRADE; in revokeRuntimePermissions() 496 if (mask != 0) { in revokeRuntimePermissions() 498 mPackageInfo.packageName, mask, flags, mUserHandle); in revokeRuntimePermissions() local
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionBarController.java | 312 final int mask = ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME; in removeBackButton() local 313 mActionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME, mask); in removeBackButton() 322 final int mask = ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME; in setBackButton() local 323 mActionBar.setDisplayOptions(mask, mask); in setBackButton() 380 final int mask = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_CUSTOM; in setTitleModeFlags() local 381 mActionBar.setDisplayOptions(enabledFlags, mask); in setTitleModeFlags()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 1656 tNFA_TECHNOLOGY_MASK mask = 0; in nfcManager_doSetP2pInitiatorModes() local 1657 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pInitiatorModes() 1658 if (modes & 0x02) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes() 1659 if (modes & 0x04) mask |= NFA_TECHNOLOGY_MASK_F; in nfcManager_doSetP2pInitiatorModes() 1660 if (modes & 0x08) mask |= NFA_TECHNOLOGY_MASK_A_ACTIVE; in nfcManager_doSetP2pInitiatorModes() 1661 if (modes & 0x10) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes() 1662 if (modes & 0x20) mask |= NFA_TECHNOLOGY_MASK_F_ACTIVE; in nfcManager_doSetP2pInitiatorModes() 1663 nat->tech_mask = mask; in nfcManager_doSetP2pInitiatorModes() 1683 tNFA_TECHNOLOGY_MASK mask = 0; in nfcManager_doSetP2pTargetModes() local 1684 if (modes & 0x01) mask |= NFA_TECHNOLOGY_MASK_A; in nfcManager_doSetP2pTargetModes() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 1085 int mask = (1 << col); in loadImageDone() local 1086 Assert((mCompletedMask & mask) == 0); in loadImageDone() 1087 Assert((mRequestedMask & mask) != 0); in loadImageDone() 1088 mRequestedMask &= ~mask; in loadImageDone() 1089 mCompletedMask |= mask; in loadImageDone() 1148 int mask = (1 << col); in cancelRequest() local 1149 Assert((mRequestedMask & mask) != 0); in cancelRequest() 1150 mRequestedMask &= ~mask; in cancelRequest() 1160 int mask = (1 << i); in cancelAllRequests() local 1161 if ((mRequestedMask & mask) != 0) { in cancelAllRequests() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageGrad.java | 59 int mask = event.getActionMasked(); in onTouchEvent() local 62 if (MotionEvent.ACTION_DOWN != mask) { in onTouchEvent() 99 switch (mask) { in onTouchEvent() 116 switch (mask) { in onTouchEvent()
|
D | ImageVignette.java | 143 int mask = event.getActionMasked(); in onTouchEvent() local 145 if (MotionEvent.ACTION_DOWN != mask) { in onTouchEvent() 155 switch (mask) { in onTouchEvent() 170 switch (mask) { in onTouchEvent()
|
D | ImageCrop.java | 202 int mask = (1 << d) - 1; in bitCycleLeft() local 203 int mout = x & mask; in bitCycleLeft() 206 int low = (mout << times) & mask; in bitCycleLeft() 207 int ret = x & ~mask; in bitCycleLeft()
|
D | ImageShow.java | 182 Bitmap mask = BitmapFactory.decodeResource(res, R.drawable.spot_mask); in setupImageShow() local 183 sMask = convertToAlphaMask(mask); in setupImageShow()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropView.java | 260 int mask = (1 << d) - 1; in bitCycleLeft() local 261 int mout = x & mask; in bitCycleLeft() 264 int low = (mout << times) & mask; in bitCycleLeft() 265 int ret = x & ~mask; in bitCycleLeft()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 876 private static void getGaussianMask(float[] mask) { in getGaussianMask() argument 877 int len = mask.length; in getGaussianMask() 885 mask[i] = ex; in getGaussianMask() 886 mask[symmetricIndex] = ex; in getGaussianMask() 887 sum += mask[i]; in getGaussianMask() 889 sum += mask[symmetricIndex]; in getGaussianMask() 893 for (int i = 0; i < mask.length; i++) { in getGaussianMask() 894 mask[i] /= sum; in getGaussianMask()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtilsTests.java | 32 final int mask, final SpacingAndPunctuations sp, final boolean hasSpaceBefore) { in onePathForCaps() argument 33 final int oneTimeResult = expectedResult & mask; in onePathForCaps() 35 CapsModeUtils.getCapsMode(cs, mask, sp, hasSpaceBefore)); in onePathForCaps()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | AnswerPresenter.java | 202 private boolean isEnabled(int videoState, int mask) { in isEnabled() argument 203 return (videoState & mask) == mask; in isEnabled()
|
D | CallButtonPresenter.java | 165 public void onSupportedAudioMode(int mask) { in onSupportedAudioMode() argument 167 getUi().setSupportedAudio(mask); in onSupportedAudioMode() 464 void setSupportedAudio(int mask); in setSupportedAudio() argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Attachment.java | 675 int mask = 1 << shift; in updatePreviewStates() local 679 return previewStates | mask; in updatePreviewStates() 682 return previewStates & ~mask; in updatePreviewStates() 697 int mask = 1 << shift; in getPreviewState() local 701 return (previewStates & mask) != 0; in getPreviewState() 704 return (previewStates & (mask << 1)) != 0; in getPreviewState()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | encodings.h | 126 #define TRANS(mask) result &= ((GetRange((unsigned char)c) & mask) != 0) in Decode() argument 155 #define TRANS(mask) result &= ((GetRange((unsigned char)c) & mask) != 0) in Validate() argument
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 1264 jbyteArray data, jbyteArray mask) in gattClientScanFilterAddRemoveNative() argument 1281 jbyte* mask_array = env->GetByteArrayElements(mask, NULL); in gattClientScanFilterAddRemoveNative() 1282 uint16_t mask_len = (uint16_t) env->GetArrayLength(mask); in gattClientScanFilterAddRemoveNative() 1286 env->ReleaseByteArrayElements(mask, mask_array, JNI_ABORT); in gattClientScanFilterAddRemoveNative() 1323 jbyte* mask_array = env->GetByteArrayElements(mask, NULL); in gattClientScanFilterAddRemoveNative() 1324 uint16_t mask_len = (uint16_t) env->GetArrayLength(mask); in gattClientScanFilterAddRemoveNative() 1329 env->ReleaseByteArrayElements(mask, mask_array, JNI_ABORT); in gattClientScanFilterAddRemoveNative() 1341 jstring name, jstring address, jbyte addr_type, jbyteArray data, jbyteArray mask) in gattClientScanFilterAddNative() argument 1347 name, address, addr_type, data, mask); in gattClientScanFilterAddNative() 1354 jstring name, jstring address, jbyte addr_type, jbyteArray data, jbyteArray mask) in gattClientScanFilterDeleteNative() argument [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 1108 String address, byte addr_type, byte[] data, byte[] mask); in gattClientScanFilterAddNative() argument 1114 String address, byte addr_type, byte[] data, byte[] mask); in gattClientScanFilterDeleteNative() argument
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 1038 int mask = 0; in computeLockscreenPollMask() local 1042 mask |= techCodeToMask.get(techList[i]).intValue(); in computeLockscreenPollMask() 1046 return mask; in computeLockscreenPollMask()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | AttachmentService.java | 666 final int mask = Attachment.FLAG_DOWNLOAD_FORWARD | Attachment.FLAG_DOWNLOAD_USER_REQUEST; in run() local 669 new String[] {Integer.toString(mask)}, null); in run()
|