Searched defs:base (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DExchangeServiceTest.java30 public MyContext(Context base) { argument
31 super(base);
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DExchangeServiceTest.java30 public MyContext(Context base) { argument
31 super(base);
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DContactsMockContext.java41 public ContactsMockContext(Context base) { argument
42 super(base);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DResourceUtils.java217 public static float getDimensionOrFraction(final TypedArray a, final int index, final int base, argument
224 return a.getFraction(index, base, base, defValue);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp116 ImageTypeShort base; local
123 base = pyr->ptr[-h] - off;
126 for (h = height; h--; base += pyr->pitch) {
128 base[-1 - w] = base[0];
130 base[off2 + w + 1] = base[off2];
136 base = pyr->ptr[top - pyr->border] - pyr->border;
137 for (h = top; h--; base -= pyr->pitch) {
138 memcpy(base
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DPyramid.cpp116 ImageTypeShort base; local
123 base = pyr->ptr[-h] - off;
126 for (h = height; h--; base += pyr->pitch) {
128 base[-1 - w] = base[0];
130 base[off2 + w + 1] = base[off2];
136 base = pyr->ptr[top - pyr->border] - pyr->border;
137 for (h = top; h--; base -= pyr->pitch) {
138 memcpy(base
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DFilterUtils.java30 // A clustered album (not including album set) and its base sets are fixed.
176 public static String newFilterPath(String base, int filterType) { argument
186 return base;
189 return "/filter/mediatype/" + mediaType + "/{" + base + "}";
193 public static String newClusterPath(String base, int clusterType) { argument
212 return base;
215 return "/cluster/{" + base + "}/" + kind;
219 public static String switchClusterPath(String base, int clusterType) { argument
220 return newClusterPath(removeOneClusterFromPath(base), clusterType);
224 private static String removeOneClusterFromPath(String base) { argument
229 removeOneClusterFromPath(String base, boolean[] done) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp116 ImageTypeShort base; local
123 base = pyr->ptr[-h] - off;
126 for (h = height; h--; base += pyr->pitch) {
128 base[-1 - w] = base[0];
130 base[off2 + w + 1] = base[off2];
136 base = pyr->ptr[top - pyr->border] - pyr->border;
137 for (h = top; h--; base -= pyr->pitch) {
138 memcpy(base
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DManageConferenceUtils.java146 public void startConferenceTime(long base) { argument
148 mConferenceTime.setBase(base);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnDictionaryImplJni.java208 * @param base The base frequency or -1
212 public static final native int setDictionaryParameter( long work, int index, int base, int high ); argument
H A DWnnDictionary.java135 * {@code base} is the bias of frequency for the dictionary.<br>
138 * Searched word's frequency in the dictionary is mapped to the range from {@code base} to {@code high}.
140 * The maximum value of {@code base} and {@code high} is 1000.
141 * To set a dictionary unused, specify -1 to {@code base} and {@code high}.
144 * @param base The base frequency for the dictionary
148 public int setDictionary(int index, int base, int high ); argument
H A DOpenWnnDictionaryImpl.java101 /** The base frequency of user dictionary */
103 /** The base frequency of learning dictionary */
147 /** The query base strings for query operation */
149 /** The query base strings for query operation */
152 /** The query base strings for query operation */
154 /** The query base strings for query operation */
156 /** The query base strings for query operation */
158 /** The query base strings for query operation */
161 /** The query base strings for query operation */
163 /** The query base string
382 setDictionary(int index, int base, int high ) argument
[all...]
H A DKeyboard.java18 * frameworks/base/core/java/android/inputmethodservice/Keyboard.java
851 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { argument
857 return Math.round(a.getFraction(index, base, base, defValue));
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java84 File base = null;
88 base = storageManager.locateDestinationDirectory(mimeType, destination,
97 path = getFullPath(path, mimeType, destination, base);
101 static String getFullPath(String filename, String mimeType, int destination, File base) argument
115 // Split filename between base and extension
127 if (base != null) {
128 filename = base.getPath() + File.separator + filename;
321 * If the filename coming in is [base].[ext], the generated filenames are
322 * [base]-[sequence].[ext].
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c41 dicInfo->dic_freq[ NJ_MODE_TYPE_HENKAN ].base = 0;
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high)
346 ( base < -1 || base > 1000 ) ||
355 if( base < 0 || high < 0 || base > high ) {
356 /* If -1 was specified to base or high, clear that dictionary information structure */
357 /* If base is larger than high, clear that dictionary information structure */
365 work->dicSet.dic[ index ].dic_freq[ NJ_MODE_TYPE_HENKAN ].base = base;
340 Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter(JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) argument
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java542 * @param base The play order offset to use for this pass
544 private static void makeInsertItems(long[] ids, int offset, int len, int base) { argument
559 sContentValuesCache[i].put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, base + offset + i);
580 int base = cur.getInt(0);
584 makeInsertItems(ids, i, 1000, base);
/packages/inputmethods/LatinIME/native/jni/src/
H A Dcorrection.h146 AK_FORCE_INLINE static void multiplyIntCapped(const int multiplier, int *base) { argument
147 const int temp = *base;
156 *base = 0;
158 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX;
164 *base = tempRetval >= temp ? tempRetval : S_INT_MAX;
169 AK_FORCE_INLINE static int powerIntCapped(const int base, const int n) { argument
171 if (base == 2) {
174 int ret = base;
175 for (int i = 1; i < n; ++i) multiplyIntCapped(base, &ret);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h112 NJ_UINT16 base; member in struct:__anon34
/packages/apps/Mms/src/com/android/mms/ui/
H A DComposeMessageActivity.java1671 private File getUniqueDestination(String base, String extension) { argument
1672 File file = new File(base + "." + extension);
1675 file = new File(base + "_" + i + "." + extension);

Completed in 1140 milliseconds