/external/skia/tests/ |
FlateTest.cpp | 49 size_t inputSize = testStream->getLength(); 50 if (inputSize == 0) 51 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey); 52 REPORTER_ASSERT(reporter, testData.getLength() == inputSize); 71 inputSize = testStream->getLength(); 72 if (inputSize == 0) 73 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey); 74 REPORTER_ASSERT(reporter, data1->size() == inputSize);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
typing_traversal.h | 58 const int inputSize = traverseSession->getInputSize(); 60 if (dicNode->isCompletion(inputSize)) { 94 const int inputSize = traverseSession->getInputSize(); 96 if (dicNode->isCompletion(inputSize)) { 103 return pointIndex <= inputSize && !dicNode->isTotalInputSizeExceedingLimit() 109 const int inputSize = traverseSession->getInputSize(); 110 return traverseSession->isCacheBorderForTyping(inputSize); 120 const int inputSize = traverseSession->getInputSize(); 121 return dicNode->canDoLookAheadCorrection(inputSize); 154 AK_FORCE_INLINE int getMaxCacheSize(const int inputSize) const [all...] |
typing_scoring.h | 55 const int inputSize, const bool forceCommit) const { 57 + static_cast<float>(inputSize) * ScoringParams::TYPING_MAX_OUTPUT_SCORE_PER_INPUT;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.cpp | 53 const int *inputCodePoints, const int inputSize, const int *const inputXs, 58 initializeProximityInfoStates(inputCodePoints, inputXs, inputYs, times, pointerIds, inputSize, 76 const int *const pointerIds, const int inputSize, const float maxSpatialDistance, 82 inputCodePoints, inputSize, inputXs, inputYs, times, pointerIds,
|
dic_traverse_session.h | 77 const int inputSize, const int *const inputXs, const int *const inputYs, 154 AK_FORCE_INLINE bool isCacheBorderForTyping(const int inputSize) const { 155 return mDicNodesCache.isCacheBorderForTyping(inputSize); 193 const int inputSize, const float maxSpatialDistance, const int maxPointerCount);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_interface.h | 29 int *inputYs, int *times, int *pointerIds, int *inputCodePoints, int inputSize,
|
suggest.cpp | 51 int inputSize, int commitPoint, int *outWords, int *frequencies, int *outputIndices, 57 tSession->setupForGetSuggestions(pInfo, inputCodePoints, inputSize, inputXs, inputYs, times, 69 tSession->getDicTraverseCache()->advanceInputIndex(inputSize); 318 const int inputSize = traverseSession->getInputSize(); 328 AKLOGI("expandCurrentDicNodes depth level cache = %d, inputSize = %d", 329 shouldDepthLevelCache, inputSize); 344 const bool isCompletion = dicNode.isCompletion(inputSize); 611 const int inputSize = traverseSession->getInputSize(); 612 if (dicNode->isCompletion(inputSize)) {
|
suggest.h | 50 int *times, int *pointerIds, int *inputCodePoints, int inputSize, int commitPoint,
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info_state.cpp | 35 const ProximityInfo *proximityInfo, const int *const inputCodes, const int inputSize, 38 ASSERT(isGeometric || (inputSize < MAX_WORD_LENGTH)); 41 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 61 inputSize, mInputProximities); 103 pointerIds, inputSize, isGeometric, pointerId, 109 mAverageSpeed = ProximityInfoStateUtils::refreshSpeedRates(inputSize, xCoordinates, 114 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 142 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, 153 inputSize, mInputProximities, mPrimaryInputWord); 156 AKLOGI("ProximityState init finished: %d points out of %d", mSampledInputSize, inputSize); [all...] |
proximity_info_state_utils.h | 41 const int *const times, const int *const pointerIds, const int inputSize, 51 static float refreshSpeedRates(const int inputSize, const int *const xCoordinates, 60 const int inputSize, const int *const xCoordinates, const int *const yCoordinates, 91 static void initPrimaryInputWord(const int inputSize, const int *const inputProximities, 94 const int inputSize, const int *inputXCoordinates, const int *inputYCoordinates, 97 static void dump(const bool isGeometric, const int inputSize, 104 static bool checkAndReturnIsContinuousSuggestionPossible(const int inputSize, 143 const int id, const int inputSize, const int *const xCoordinates,
|
proximity_info.h | 75 const int inputSize, int *allInputCodes) const { 77 inputSize, mKeyXCoordinates, mKeyYCoordinates, mKeyWidths, mKeyHeights,
|
proximity_info_state_utils.cpp | 46 const int inputSize, const bool isGeometric, const int pointerId, 52 for (int i = 0; i < inputSize; ++i) { 60 for (int i = 0; i < inputSize; ++i) { 73 for (int i = lastInputIndex; i < inputSize; ++i) { 146 /* static */ void ProximityInfoStateUtils::initPrimaryInputWord(const int inputSize, 149 for (int i = 0; i < inputSize; ++i) { 222 /* static */ float ProximityInfoStateUtils::refreshSpeedRates(const int inputSize, 243 const int forwardNumPoints = min(inputSize - 1, 282 const float averageSpeed, const int inputSize, const int *const xCoordinates, 293 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/ |
scoring.h | 30 virtual int calculateFinalScore(const float compoundDistance, const int inputSize,
|
traversal.h | 50 virtual int getMaxCacheSize(const int inputSize) const = 0;
|
weighting.cpp | 78 const int inputSize = traverseSession->getInputSize(); 95 inputSize, errorType);
|
/libcore/benchmarks/src/benchmarks/regression/ |
CipherBenchmark.java | 80 @Param({"16", "32", "64", "128", "1024", "8192"}) private int inputSize; 139 cipherEncrypt.doFinal(DATA, 0, inputSize, output); 145 cipherDecrypt.doFinal(DATA, 0, inputSize, output);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
dic_node_state_scoring.h | 68 const int inputSize, const int totalInputIndex, const ErrorType errorType) { 69 addDistance(spatialCost, languageCost, doNormalization, inputSize, totalInputIndex); 206 bool doNormalization, int inputSize, int totalInputIndex) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
dic_nodes_cache.h | 85 void advanceInputIndex(const int inputSize) { 86 if (mInputIndex < inputSize) { 127 AK_FORCE_INLINE bool isCacheBorderForTyping(const int inputSize) const { 130 const int cacheInputIndex = inputSize - CACHE_BACK_LENGTH;
|
dic_node.h | 33 __FUNCTION__, getNodeCodePoint(), inputSize, getTotalInputIndex(), \ 240 bool isCompletion(const int inputSize) const { 241 return mDicNodeState.mDicNodeStateInput.getInputIndex(0) >= inputSize; 244 bool canDoLookAheadCorrection(const int inputSize) const { 245 return mDicNodeState.mDicNodeStateInput.getInputIndex(0) < inputSize - 1; 577 const bool doNormalization, const int inputSize, const ErrorType errorType) { 582 inputSize, getTotalInputIndex(), errorType);
|
/external/skia/bench/ |
BitmapScaleBench.cpp | 39 int inputSize() const { 48 return float(outputSize())/inputSize();
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.cpp | 56 int inputSize, int *prevWordCodePoints, int prevWordLength, int commitPoint, 64 ycoordinates, times, pointerIds, inputCodePoints, inputSize, commitPoint, outWords, 74 ycoordinates, times, pointerIds, inputCodePoints, inputSize, commitPoint,
|
dictionary.h | 61 int inputSize, int *prevWordCodePoints, int prevWordLength, int commitPoint,
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 141 jintArray inputCodePointsArray, jint inputSize, jint commitPoint, jintArray suggestOptions, 152 int xCoordinates[inputSize]; 153 int yCoordinates[inputSize]; 154 int times[inputSize]; 155 int pointerIds[inputSize]; 162 env->GetIntArrayRegion(xCoordinatesArray, 0, inputSize, xCoordinates); 163 env->GetIntArrayRegion(yCoordinatesArray, 0, inputSize, yCoordinates); 164 env->GetIntArrayRegion(timesArray, 0, inputSize, times); 165 env->GetIntArrayRegion(pointerIdsArray, 0, inputSize, pointerIds); 210 if (givenSuggestOptions.isGesture() || inputSize > 0) [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
CallbackProcessor.java | 61 int inputSize = TestingCamera.getCallbackBufferSize(mWidth, mHeight, 63 mAllocationIn = Allocation.createSized(mRS, Element.U8(mRS), inputSize);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
cod_main.h | 88 int inputSize;
|