am 1ddc1dab: Small renaming for consistency
* commit '1ddc1dabe6b049bb76a60acf23019e1bd96674a3': Small renaming for consistencymain
commit
3feef1475d
|
@ -31,14 +31,14 @@ class GestureSuggest : public SuggestInterface {
|
|||
virtual ~GestureSuggest();
|
||||
|
||||
int getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
|
||||
int *times, int *pointerIds, int *codes, int inputSize, int commitPoint, int *outWords,
|
||||
int *frequencies, int *outputIndices, int *outputTypes) const {
|
||||
int *times, int *pointerIds, int *inputCodePoints, int inputSize, int commitPoint,
|
||||
int *outWords, int *frequencies, int *outputIndices, int *outputTypes) const {
|
||||
if (!mSuggestInterface) {
|
||||
return 0;
|
||||
}
|
||||
return mSuggestInterface->getSuggestions(pInfo, traverseSession, inputXs, inputYs, times,
|
||||
pointerIds, codes, inputSize, commitPoint, outWords, frequencies, outputIndices,
|
||||
outputTypes);
|
||||
pointerIds, inputCodePoints, inputSize, commitPoint, outWords, frequencies,
|
||||
outputIndices, outputTypes);
|
||||
}
|
||||
|
||||
static void setGestureSuggestFactoryMethod(SuggestInterface *(*factoryMethod)()) {
|
||||
|
|
|
@ -26,8 +26,9 @@ class ProximityInfo;
|
|||
class SuggestInterface {
|
||||
public:
|
||||
virtual int getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
|
||||
int *inputYs, int *times, int *pointerIds, int *codes, int inputSize, int commitPoint,
|
||||
int *outWords, int *frequencies, int *outputIndices, int *outputTypes) const = 0;
|
||||
int *inputYs, int *times, int *pointerIds, int *inputCodePoints, int inputSize,
|
||||
int commitPoint, int *outWords, int *frequencies, int *outputIndices,
|
||||
int *outputTypes) const = 0;
|
||||
SuggestInterface() {}
|
||||
virtual ~SuggestInterface() {}
|
||||
private:
|
||||
|
|
|
@ -26,20 +26,19 @@ class ProximityInfo;
|
|||
|
||||
class TypingSuggest : public SuggestInterface {
|
||||
public:
|
||||
TypingSuggest() : mSuggestInterface(getTypingSuggestInstance()) {
|
||||
}
|
||||
TypingSuggest() : mSuggestInterface(getTypingSuggestInstance()) {}
|
||||
|
||||
virtual ~TypingSuggest();
|
||||
|
||||
int getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
|
||||
int *times, int *pointerIds, int *codes, int inputSize, int commitPoint, int *outWords,
|
||||
int *frequencies, int *outputIndices, int *outputTypes) const {
|
||||
int *times, int *pointerIds, int *inputCodePoints, int inputSize, int commitPoint,
|
||||
int *outWords, int *frequencies, int *outputIndices, int *outputTypes) const {
|
||||
if (!mSuggestInterface) {
|
||||
return 0;
|
||||
}
|
||||
return mSuggestInterface->getSuggestions(pInfo, traverseSession, inputXs, inputYs, times,
|
||||
pointerIds, codes, inputSize, commitPoint, outWords, frequencies, outputIndices,
|
||||
outputTypes);
|
||||
pointerIds, inputCodePoints, inputSize, commitPoint, outWords, frequencies,
|
||||
outputIndices, outputTypes);
|
||||
}
|
||||
|
||||
static void setTypingSuggestFactoryMethod(SuggestInterface *(*factoryMethod)()) {
|
||||
|
|
Loading…
Reference in New Issue