/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndfdic.c | 334 word->stem.loc = loctset->loct; in njd_f_get_word() 358 NJ_SEARCH_LOCATION *loc; in njd_f_get_stroke() local 369 loc = &word->stem.loc; in njd_f_get_stroke() 370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke() 373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); in njd_f_get_stroke() 375 if (YOMI_INDX_CNT(loc->handle) == 0) { in njd_f_get_stroke() 392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); in njd_f_get_stroke() 404 NJ_SEARCH_LOCATION *loc; in njd_f_get_candidate() local 412 loc = &word->stem.loc; in njd_f_get_candidate() 413 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_candidate() [all …]
|
D | ndapi.c | 486 if (result->word.stem.loc.handle == NULL) { in njd_get_stroke() 490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_stroke() 499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { in njd_get_stroke() 544 if (result->word.stem.loc.handle == NULL) { in njd_get_candidate() 548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_candidate() 896 word->stem.loc.handle = NULL; in njd_init_word() 897 word->stem.loc.type = NJ_DIC_H_TYPE_NORMAL; in njd_init_word() 898 word->stem.loc.current = 0; in njd_init_word() 899 word->stem.loc.top = 0; in njd_init_word() 900 word->stem.loc.bottom = 0; in njd_init_word() [all …]
|
D | ndbdic.c | 1383 word->stem.loc = loctset->loct; in njd_b_get_word() 1390 NJ_SEARCH_LOCATION *loc; in njd_b_get_candidate() local 1404 if ((GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_COMP) || in njd_b_get_candidate() 1405 (GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_FORE)) { in njd_b_get_candidate() 1408 loc = &word->stem.loc; in njd_b_get_candidate() 1409 data = STEM_AREA_TOP_ADDR(loc->handle); in njd_b_get_candidate() 1410 data += loc->top + loc->current; in njd_b_get_candidate() 1413 get_stem_cand_data(loc->handle, data, &stem_set); in njd_b_get_candidate() 1424 if (GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_COMP) { in njd_b_get_candidate() 1436 next = get_stem_next(loc->handle, data); in njd_b_get_candidate() [all …]
|
D | ndldic.c | 1743 word->stem.loc = loctset->loct; in njd_l_get_word() 1745 word->stem.loc.current &= 0x0000ffff; in njd_l_get_word() 1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16); in njd_l_get_word() 1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_stroke() 1786 str = get_string(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_stroke() 1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_candidate() 1821 str = get_hyouki(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_candidate()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEngineSettingsFragment.java | 159 Locale loc = null; in updateDefaultLocalePref() local 161 loc = new Locale(langCountryVariant[0]); in updateDefaultLocalePref() 163 loc = new Locale(langCountryVariant[0], langCountryVariant[1]); in updateDefaultLocalePref() 165 loc = new Locale(langCountryVariant[0], langCountryVariant[1], in updateDefaultLocalePref() 168 if (loc != null){ in updateDefaultLocalePref() 169 entries[i] = loc.getDisplayName(); in updateDefaultLocalePref()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragLayer.java | 279 public void getLocationInDragLayer(View child, int[] loc) { in getLocationInDragLayer() argument 280 loc[0] = 0; in getLocationInDragLayer() 281 loc[1] = 0; in getLocationInDragLayer() 282 getDescendantCoordRelativeToSelf(child, loc); in getLocationInDragLayer() 315 int[] loc = new int[2]; in getViewRectRelativeToSelf() local 316 getLocationInWindow(loc); in getViewRectRelativeToSelf() 317 int x = loc[0]; in getViewRectRelativeToSelf() 318 int y = loc[1]; in getViewRectRelativeToSelf() 320 v.getLocationInWindow(loc); in getViewRectRelativeToSelf() 321 int vX = loc[0]; in getViewRectRelativeToSelf() [all …]
|
D | ButtonDropTarget.java | 144 public void getLocationInDragLayer(int[] loc) { in getLocationInDragLayer() argument 145 mLauncher.getDragLayer().getLocationInDragLayer(this, loc); in getLocationInDragLayer()
|
D | DragController.java | 179 int[] loc = mCoordinatesTemp; in startDrag() local 180 mLauncher.getDragLayer().getLocationInDragLayer(v, loc); in startDrag() 181 int dragLayerX = loc[0] + v.getPaddingLeft() + in startDrag() 183 int dragLayerY = loc[1] + v.getPaddingTop() + in startDrag()
|
D | DropTarget.java | 181 void getLocationInDragLayer(int[] loc); in getLocationInDragLayer() argument
|
D | FolderIcon.java | 257 public void getCell(int[] loc) { in getCell() argument 258 loc[0] = mCellX; in getCell() 259 loc[1] = mCellY; in getCell()
|
D | Workspace.java | 3163 private void getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, 3172 loc[0] = r.left; 3173 loc[1] = r.top; 3177 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(layout, loc); 3192 loc[0] -= (dragView.getMeasuredWidth() - cellLayoutScale * r.width()) / 2; 3193 loc[1] -= (dragView.getMeasuredHeight() - cellLayoutScale * r.height()) / 2; 3762 public void getLocationInDragLayer(int[] loc) { 3763 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
|
D | Folder.java | 1096 public void getLocationInDragLayer(int[] loc) { in getLocationInDragLayer() argument 1097 mLauncher.getDragLayer().getLocationInDragLayer(this, loc); in getLocationInDragLayer()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 633 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument 641 if (loc != null) { in setGpsParameters() 642 double lat = loc.getLatitude(); in setGpsParameters() 643 double lon = loc.getLongitude(); in setGpsParameters() 650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters() 651 if (loc.hasAltitude()) { in setGpsParameters() 652 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters() 659 if (loc.getTime() != 0) { in setGpsParameters() 662 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters() 666 loc = null; in setGpsParameters()
|
D | VideoCamera.java | 1209 Location loc = mLocationManager.getCurrentLocation(); in initializeRecorder() local 1210 if (loc != null) { in initializeRecorder() 1211 mMediaRecorder.setLocation((float) loc.getLatitude(), in initializeRecorder() 1212 (float) loc.getLongitude()); in initializeRecorder() 1407 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename() local 1408 if (loc != null) { in generateVideoFilename() 1409 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); in generateVideoFilename() 1410 mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude()); in generateVideoFilename() 2381 Location loc = mLocationManager.getCurrentLocation(); in onTouch() local 2382 Util.setGpsParameters(mParameters, loc); in onTouch() [all …]
|
D | Camera.java | 747 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument 748 mLocation = loc; in JpegPictureCallback() 848 Location loc; field in Camera.SaveRequest 887 public void addImage(final byte[] data, Location loc, int width, in addImage() argument 891 r.loc = (loc == null) ? null : new Location(loc); // make a copy in addImage() 935 storeImage(r.data, r.loc, r.width, r.height, r.dateTaken, in run() 991 private void storeImage(final byte[] data, Location loc, int width, in storeImage() argument 996 loc, orientation, data, width, height); in storeImage() 1051 Location loc = mLocationManager.getCurrentLocation(); in capture() local 1052 Util.setGpsParameters(mParameters, loc); in capture() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 635 public static void setGpsParameters(Parameters parameters, Location loc) { in setGpsParameters() argument 643 if (loc != null) { in setGpsParameters() 644 double lat = loc.getLatitude(); in setGpsParameters() 645 double lon = loc.getLongitude(); in setGpsParameters() 652 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters() 653 if (loc.hasAltitude()) { in setGpsParameters() 654 parameters.setGpsAltitude(loc.getAltitude()); in setGpsParameters() 661 if (loc.getTime() != 0) { in setGpsParameters() 664 long utcTimeSeconds = loc.getTime() / 1000; in setGpsParameters() 668 loc = null; in setGpsParameters()
|
D | VideoCamera.java | 1116 Location loc = mLocationManager.getCurrentLocation(); in initializeRecorder() local 1117 if (loc != null) { in initializeRecorder() 1118 mMediaRecorder.setLocation((float) loc.getLatitude(), in initializeRecorder() 1119 (float) loc.getLongitude()); in initializeRecorder() 1312 Location loc = mLocationManager.getCurrentLocation(); in generateVideoFilename() local 1313 if (loc != null) { in generateVideoFilename() 1314 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); in generateVideoFilename() 1315 mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude()); in generateVideoFilename() 2369 Location loc = mLocationManager.getCurrentLocation(); in onSingleTapUp() local 2370 Util.setGpsParameters(mParameters, loc); in onSingleTapUp() [all …]
|
D | Camera.java | 772 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument 773 mLocation = loc; in JpegPictureCallback() 875 Location loc; field in Camera.SaveRequest 912 Location loc, int width, int height, int thumbnailWidth, in addImage() argument 918 r.loc = (loc == null) ? null : new Location(loc); // make a copy in addImage() 958 storeImage(r.data, r.uri, r.title, r.loc, r.width, r.height, in run() 1013 Location loc, int width, int height, int thumbnailWidth, in storeImage() argument 1015 boolean ok = Storage.updateImage(mContentResolver, uri, title, loc, in storeImage() 1167 Location loc = mLocationManager.getCurrentLocation(); in capture() local 1168 Util.setGpsParameters(mParameters, loc); in capture() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 152 String loc; in formatTimeLocation() local 153 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { in formatTimeLocation() 155 sb.append(loc); in formatTimeLocation()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsSafetyLegalActivity.java | 55 String loc = String.format("locale=%s-%s", language, country); in onCreate() local 57 userSafetylegalUrl = String.format("%s&%s", userSafetylegalUrl, loc); in onCreate()
|
D | RadioInfo.java | 452 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation() local 453 int lac = loc.getLac(); in updateLocation() 454 int cid = loc.getCid(); in updateLocation() 461 CdmaCellLocation loc = (CdmaCellLocation)location; in updateLocation() local 462 int bid = loc.getBaseStationId(); in updateLocation() 463 int sid = loc.getSystemId(); in updateLocation() 464 int nid = loc.getNetworkId(); in updateLocation() 465 int lat = loc.getBaseStationLatitude(); in updateLocation() 466 int lon = loc.getBaseStationLongitude(); in updateLocation()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 112 extern NJ_INT16 njd_l_delete_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION *loc); 122 extern NJ_INT16 njd_l_get_relational_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION *loc,
|
D | nj_lib.h | 275 NJ_SEARCH_LOCATION loc; member
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasSyncService.java | 411 String loc; in getValidateRedirect() local 413 loc = locHeader.getValue(); in getValidateRedirect() 415 mHostAddress = Uri.parse(loc).getHost(); in getValidateRedirect() 418 userLog("Redirecting to: " + loc); in getValidateRedirect() 600 String loc = locHeader.getValue(); in getRedirect() local 603 if (loc != null && loc.startsWith("http")) { in getRedirect() 604 post.setURI(URI.create(loc)); in getRedirect()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | CalendarSyncAdapter.java | 1589 String loc = entityValues.getAsString(Events.EVENT_LOCATION); in sendEvent() local 1590 if (!TextUtils.isEmpty(loc)) { in sendEvent() 1593 loc = Utility.replaceBareLfWithCrlf(loc); in sendEvent() 1595 s.data(Tags.CALENDAR_LOCATION, loc); in sendEvent()
|