Home
last modified time | relevance | path

Searched refs:getLocation (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java52 if (entry.getLocation().hasAccuracy()) { in getOutput()
53 rowOutput.append(entry.getLocation().getAccuracy()); in getOutput()
56 rowOutput.append(entry.getLocation().getLatitude()); in getOutput()
58 rowOutput.append(entry.getLocation().getLongitude()); in getOutput()
60 if (entry.getLocation().hasAltitude()) { in getOutput()
61 rowOutput.append(entry.getLocation().getAltitude()); in getOutput()
64 if (entry.getLocation().hasSpeed()) { in getOutput()
65 rowOutput.append(entry.getLocation().getSpeed()); in getOutput()
68 if (entry.getLocation().hasBearing()) { in getOutput()
69 rowOutput.append(entry.getLocation().getBearing()); in getOutput()
[all …]
DKMLFormatter.java48 Location loc = entry.getLocation(); in getOutput()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java34 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMax()
38 Location loc = getLocation(i); in getRowMax()
46 Location loc = getLocation(mLastVisibleIndex); in getRowMax()
52 loc = getLocation(i); in getRowMax()
71 Location loc = getLocation(mLastVisibleIndex); in getRowMin()
77 loc = getLocation(i); in getRowMin()
84 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMin()
88 Location loc = getLocation(i); in getRowMin()
106 Location loc = getLocation(indexLimit); in findRowMax()
114 loc = getLocation(i); in findRowMax()
[all …]
DStaggeredGrid.java101 public final Location getLocation(int index) { in getLocation() method in StaggeredGrid
153 offset = getLocation(mFirstVisibleIndex).offset; in prependVisbleItemsWithCache()
170 Location loc = getLocation(itemIndex); in prependVisbleItemsWithCache()
209 Location loc = getLocation(cachedIndex); in calculateOffsetAfterLastItem()
222 int offset = isReversedFlow() ? -getLocation(cachedIndex).size - mMargin: in calculateOffsetAfterLastItem()
223 getLocation(cachedIndex).size + mMargin; in calculateOffsetAfterLastItem()
225 offset -= getLocation(i).offset; in calculateOffsetAfterLastItem()
249 Location oldFirstLoc = mFirstIndex >= 0 ? getLocation(mFirstIndex) : null; in prependVisibleItemToRow()
324 Location loc = getLocation(itemIndex); in appendVisbleItemsWithCache()
416 CircularIntArray row = mTmpItemPositionsInRows[getLocation(i).row]; in getItemPositionsInRows()
DGrid.java250 return getLocation(index).row; in getRowIndex()
256 public abstract Location getLocation(int index); in getLocation() method in Grid
DSingleRow.java33 public final Location getLocation(int index) { in getLocation() method in SingleRow
/frameworks/compile/slang/
Dslang_rs_export_reduce.cpp180 << Ret->getLocation().printToString(S.PP.getSourceManager()) in lookupFunction()
181 << FDecl->getLocation().printToString(S.PP.getSourceManager()); in lookupFunction()
199 S.RSC.ReportError(Ret->getLocation(), "%0 must be static") in lookupFunction()
225 S.RSC.ReportError(Fn->getLocation(), in checkVoidReturn()
240 S.RSC.ReportError(Param->getLocation(), in checkPointeeConstQualified()
259 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
270 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
281 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
304 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator()
316 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator()
[all …]
Dslang_rs_special_kernel_param.cpp130 PVD->getLocation(), in processSpecialKernelParameters()
141 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
156 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
168 PVD->getLocation(), in processSpecialKernelParameters()
182 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
193 PVD->getLocation(), in processSpecialKernelParameters()
209 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
Dslang_rs_export_foreach.cpp64 Context->ReportError(FD->getLocation(), in validateAndConstructParams()
97 Context->ReportError(FD->getLocation(), in validateAndConstructOldStyleParams()
116 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
131 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
145 PVD->getLocation(), in validateAndConstructOldStyleParams()
154 Context->ReportError(FD->getLocation(), in validateAndConstructOldStyleParams()
171 Context->ReportError(FD->getLocation(), in validateAndConstructKernelParams()
204 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
215 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
225 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
[all …]
Dslang_rs_special_func.cpp68 Context->ReportError(PVD->getLocation(), in validateSpecialFuncDecl()
78 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
85 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
93 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
Dslang_rs_pragma_handler.cpp142 const clang::SourceLocation PragmaLocation = FirstToken.getLocation(); in HandlePragma()
167 PP.Diag(PragmaToken.getLocation(), in HandlePragma()
197 << (*I)->getLocation().printToString(PP.getSourceManager()); in HandlePragma()
283 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
294 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
305 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
316 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
328 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
537 PragmaToken.getLocation(), PP); in handleIntegerParamPragma()
Dslang_rs_export_var.cpp64 Context->ReportError(VD->getLocation(), in RSExportVar()
86 VD->getLocation(), in RSExportVar()
Dslang_rs_check_ast.cpp157 Context->ReportError(FD->getLocation(), in ValidateFunctionDecl()
171 Context->ReportError(FD->getLocation(), in ValidateFunctionDecl()
230 VD->getLocation(), in ValidateVarDecl()
Dslang_rs_export_type.cpp198 Context->ReportError(TopLevelRecord->getLocation(), Message) in ReportTypeError()
201 Context->ReportError(ND->getLocation(), Message) << ND->getName() in ReportTypeError()
338 FD->getLocation(), in TypeExportableHelper()
690 Context->ReportError(VD->getLocation(), in NormalizeType()
727 VD->getLocation(), TargetAPI, IsFilterscript, in ValidateVarDecl()
1363 RD->getLocation(), in Create()
1373 Context->ReportError(RD->getLocation(), in Create()
1386 Context->ReportError(RD->getLocation(), in Create()
1394 Context->ReportError(RD->getLocation(), in Create()
1403 Context->ReportError(RD->getLocation(), in Create()
[all …]
Dslang_rs_context.cpp242 if (Slang::IsLocInRSHeaderFile(VD->getLocation(), in processExports()
249 DiagEngine->Report(VD->getLocation(), DiagEngine->getCustomDiagID( in processExports()
360 const clang::SourceLocation Loc = FD->getLocation(); in markUsedByReducePragma()
Dslang_diagnostic_buffer.cpp38 clang::SourceLocation const &SrcLoc = Info.getLocation(); in HandleDiagnostic()
Dslang_backend.cpp366 !Slang::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) { in AnnotateFunction()
400 if (!Slang::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) in HandleTopLevelDecl()
401 mContext->ReportError(FD->getLocation(), in HandleTopLevelDecl()
434 !Slang::IsLocInRSHeaderFile(FD->getLocation(), mSourceMgr)) { in HandleTopLevelDecl()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp201 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
222 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
230 mTokenizer->getLocation().string(), in parse()
253 ALOGE("%s: Expected key %s number, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
259 ALOGE("%s: Duplicate entry for key %s '%s'.", mTokenizer->getLocation().string(), in parseKey()
268 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
281 ALOGE("%s: Expected key flag label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
286 ALOGE("%s: Duplicate key flag '%s'.", mTokenizer->getLocation().string(), in parseKey()
309 ALOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(), in parseAxis()
314 ALOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string(), in parseAxis()
[all …]
DKeyCharacterMap.cpp730 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
753 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
770 mTokenizer->getLocation().string(), in parse()
781 mTokenizer->getLocation().string()); in parse()
787 mTokenizer->getLocation().string()); in parse()
794 mTokenizer->getLocation().string()); in parse()
801 mTokenizer->getLocation().string()); in parse()
812 mTokenizer->getLocation().string()); in parseType()
831 ALOGE("%s: Expected keyboard type label, got '%s'.", mTokenizer->getLocation().string(), in parseType()
849 ALOGE("%s: Expected keyword after 'map', got '%s'.", mTokenizer->getLocation().string(), in parseMap()
[all …]
DVirtualKeyMap.cpp97 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
109 mTokenizer->getLocation().string()); in parse()
121 mTokenizer->getLocation().string()); in parse()
135 mTokenizer->getLocation().string(), in parse()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java215 public int getLocation() { in getLocation() method in ImageShader.ProgramUniform
302 return getProgramUniform(name, true).getLocation(); in getUniformLocation()
338 GLES20.glUniform1iv(uniform.getLocation(), len, values, 0); in setUniformValue()
342 GLES20.glUniform2iv(uniform.getLocation(), len / 2, values, 0); in setUniformValue()
346 GLES20.glUniform2iv(uniform.getLocation(), len / 3, values, 0); in setUniformValue()
350 GLES20.glUniform2iv(uniform.getLocation(), len / 4, values, 0); in setUniformValue()
367 GLES20.glUniform1fv(uniform.getLocation(), len, values, 0); in setUniformValue()
371 GLES20.glUniform2fv(uniform.getLocation(), len / 2, values, 0); in setUniformValue()
375 GLES20.glUniform3fv(uniform.getLocation(), len / 3, values, 0); in setUniformValue()
379 GLES20.glUniform4fv(uniform.getLocation(), len / 4, values, 0); in setUniformValue()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DStaggeredGridDefaultTest.java55 int row_result1 = mStaggeredGrid.getLocation(8).row; in testWhenToFillNextRow()
67 int row_result2 = mStaggeredGrid.getLocation(8).row; in testWhenToFillNextRow()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorEvent.java71 public Location getLocation() { in getLocation() method in GeofenceHardwareMonitorEvent
/frameworks/base/core/java/android/webkit/
DCacheManager.java153 public String getLocation() { in getLocation() method in CacheManager.CacheResult
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbMessage.java261 public SmsCbLocation getLocation() { in getLocation() method in SmsCbMessage

12