/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
D | RendererUtils.java | 187 float[] base = getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight); in setRenderToFlip() local 190 base[0] = -base[0]; in setRenderToFlip() 191 base[4] = base[0]; in setRenderToFlip() 192 base[2] = -base[2]; in setRenderToFlip() 193 base[6] = base[2]; in setRenderToFlip() 197 base[1] = -base[1]; in setRenderToFlip() 198 base[3] = base[1]; in setRenderToFlip() 199 base[5] = -base[5]; in setRenderToFlip() 200 base[7] = base[5]; in setRenderToFlip() 205 System.arraycopy(base, 0, vertices, 0, vertices.length); in setRenderToFlip() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 175 public static String newFilterPath(String base, int filterType) { in newFilterPath() argument 185 return base; in newFilterPath() 188 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; in newFilterPath() 192 public static String newClusterPath(String base, int clusterType) { in newClusterPath() argument 211 return base; in newClusterPath() 214 return "/cluster/{" + base + "}/" + kind; in newClusterPath() 218 public static String switchFilterPath(String base, int filterType) { in switchFilterPath() argument 219 return newFilterPath(removeOneFilterFromPath(base), filterType); in switchFilterPath() 223 public static String switchClusterPath(String base, int clusterType) { in switchClusterPath() argument 224 return newClusterPath(removeOneClusterFromPath(base), clusterType); in switchClusterPath() [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 116 ImageTypeShort base; in BorderSpread() local 123 base = pyr->ptr[-h] - off; in BorderSpread() 126 for (h = height; h--; base += pyr->pitch) { in BorderSpread() 128 base[-1 - w] = base[0]; in BorderSpread() 130 base[off2 + w + 1] = base[off2]; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 137 for (h = top; h--; base -= pyr->pitch) { in BorderSpread() 138 memcpy(base - pyr->pitch, base, pyr->pitch * sizeof(short)); in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 142 for (h = bot; h--; base += pyr->pitch) { in BorderSpread() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 73 public float[] getTransform(Position target, Position base, in getTransform() argument 90 Matrix.translateM(mMatrix, 0, mMatrix, 0, base.x, base.y, base.z); in getTransform() 93 target.x - base.x, target.y - base.y, target.z - base.z); in getTransform()
|
D | SlotView.java | 205 public void putDisplayItem(Position target, Position base, DisplayItem item) { in putDisplayItem() argument 207 ItemEntry entry = new ItemEntry(item, target, base); in putDisplayItem() 352 position, entry.base, mScrollX, mScrollY), 0); in renderItem() 379 public Position base; field in SlotView.ItemEntry 381 public ItemEntry(DisplayItem item, Position target, Position base) { in ItemEntry() argument 384 this.base = base; in ItemEntry()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ argument 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 110 File base = null; in generateFileInfo() local 115 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); in generateFileInfo() 116 if (!base.isDirectory() && !base.mkdir()) { in generateFileInfo() 118 + base.getPath()); in generateFileInfo() 121 stat = new StatFs(base.getPath()); in generateFileInfo() 151 filename = base.getPath() + File.separator + filename; in generateFileInfo()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | SymmetricalLinearTween.java | 90 long base = mBase; 92 long diff = now-base; 107 long next = base + ((frame+1)*FRAME_TIME);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | BaseImageList.java | 179 Uri base = mBaseUri; in isChildImageUri() local 180 return Util.equals(base.getScheme(), uri.getScheme()) in isChildImageUri() 181 && Util.equals(base.getHost(), uri.getHost()) in isChildImageUri() 182 && Util.equals(base.getAuthority(), uri.getAuthority()) in isChildImageUri() 183 && Util.equals(base.getPath(), getPathWithoutId(uri)); in isChildImageUri()
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | ExchangeServiceTest.java | 30 public MyContext(Context base) { in MyContext() argument 31 super(base); in MyContext()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | HistoryAdapter.java | 74 String base = entry.getBase(); in getView() local 78 String res = mEval.evaluate(base); in getView()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
D | ContactsMockContext.java | 44 public ContactsMockContext(Context base) { in ContactsMockContext() argument 45 super(base); in ContactsMockContext()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | FakeAsyncTaskExecutor.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 20 import static com.google.common.base.Preconditions.checkState; 22 import com.google.common.base.Preconditions;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | StorageManager.java | 287 File base = new File(mExternalStorageDir.getPath() + Constants.DEFAULT_DL_SUBDIR); in locateDestinationDirectory() local 288 if (!base.isDirectory() && !base.mkdir()) { in locateDestinationDirectory() 292 "unable to create external downloads directory " + base.getPath()); in locateDestinationDirectory() 294 return base; in locateDestinationDirectory()
|
D | Helpers.java | 83 File base = null; in generateSaveFile() local 87 base = storageManager.locateDestinationDirectory(mimeType, destination, in generateSaveFile() 93 path = getFullPath(path, mimeType, destination, base); in generateSaveFile() 100 static String getFullPath(String filename, String mimeType, int destination, File base) in getFullPath() argument 126 if (base != null) { in getFullPath() 127 filename = base.getPath() + File.separator + filename; in getFullPath()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | mystdlib.h | 27 void *mybsearch(const void *key, const void *base,
|
/packages/inputmethods/LatinIME/native/src/ |
D | correction.cpp | 470 inline static void multiplyIntCapped(const int multiplier, int *base) { in multiplyIntCapped() argument 471 const int temp = *base; in multiplyIntCapped() 475 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX; in multiplyIntCapped() 481 *base = tempRetval >= temp ? tempRetval : S_INT_MAX; in multiplyIntCapped() 486 inline static int powerIntCapped(const int base, const int n) { in powerIntCapped() argument 488 if (base == 2) { in powerIntCapped() 491 int ret = base; in powerIntCapped() 492 for (int i = 1; i < n; ++i) multiplyIntCapped(base, &ret); in powerIntCapped()
|
/packages/apps/Email/src/com/android/email/ |
D | MessageListContext.java | 28 import com.google.common.base.Objects; 29 import com.google.common.base.Preconditions;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnDictionary.java | 148 public int setDictionary(int index, int base, int high ); in setDictionary() argument
|
D | OpenWnnDictionaryImpl.java | 378 public int setDictionary(int index, int base, int high ) { in setDictionary() argument 382 if( base < 0 || high < 0 || base > high in setDictionary() 390 if( base < 0 || high < 0 || base > high in setDictionary() 398 … return OpenWnnDictionaryImplJni.setDictionaryParameter( this.mWnnWork, index, base, high ); in setDictionary()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AsyncTaskExecutors.java | 20 import com.google.common.base.Preconditions;
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 21 import com.google.common.base.Charsets; 22 import com.google.common.base.Preconditions;
|
D | ImageRecord.java | 20 import com.google.common.base.Preconditions;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 41 dicInfo->dic_freq[ NJ_MODE_TYPE_HENKAN ].base = 0; in clearDictionaryStructure() 341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter() argument 346 ( base < -1 || base > 1000 ) || in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter() 355 if( base < 0 || high < 0 || base > high ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter() 365 work->dicSet.dic[ index ].dic_freq[ NJ_MODE_TYPE_HENKAN ].base = base; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | SearchParams.java | 23 import com.google.common.base.Objects;
|