core: rename mbgl namespace to mln (#4487)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2026-08-14 23:25:20 +02:00
committed by GitHub
parent 836b862984
commit 550f64be22
1970 changed files with 8931 additions and 8967 deletions

View File

@@ -169,7 +169,7 @@ public class MapLibreConstants {
public static final double MINIMUM_DIRECTION = 0;
/**
* The current default vertical field of view (matches mbgl::util::DEFAULT_FOV)
* The current default vertical field of view (matches mln::util::DEFAULT_FOV)
*/
public static final double DEFAULT_FOV = 36.86989764584402;

View File

@@ -38,7 +38,7 @@ public class NativeHttpRequest implements HttpResponder {
// to cancel at the same time the request is getting
// answered on the OkHTTP thread. We could get rid of
// this lock by using Runnable when we move Android
// implementation of mbgl::RunLoop to Looper.
// implementation of mln::RunLoop to Looper.
lock.lock();
nativePtr = 0;
lock.unlock();

View File

@@ -1381,10 +1381,10 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
/**
* Called before a shader is compiled.
*
* @param id of a shader type enumeration. See `mbgl::shaders::BuiltIn` for a list
* @param id of a shader type enumeration. See `mln::shaders::BuiltIn` for a list
* of possible values.
* @param type of graphics backend the shader is being compiled for. See
* `mbgl::gfx::Backend::Type` for a list of possible values.
* `mln::gfx::Backend::Type` for a list of possible values.
* @param additionalDefines that specify the permutaion of the shader.
*/
void onPreCompileShader(int id, int type, String additionalDefines);
@@ -1400,10 +1400,10 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
/**
* Called after a shader is compiled.
*
* @param id of a shader type enumeration. See `mbgl::shaders::BuiltIn` for a list
* @param id of a shader type enumeration. See `mln::shaders::BuiltIn` for a list
* of possible values.
* @param type of graphics backend the shader is being compiled for. See
* `mbgl::gfx::Backend::Type` for a list of possible values.
* `mln::gfx::Backend::Type` for a list of possible values.
* @param additionalDefines that specify the permutation of the shader.
*/
void onPostCompileShader(int id, int type, String additionalDefines);
@@ -1419,10 +1419,10 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
/**
* Called when a shader fails to compile.
*
* @param id of a shader type enumeration. See `mbgl::shaders::BuiltIn` for a list
* @param id of a shader type enumeration. See `mln::shaders::BuiltIn` for a list
* of possible values.
* @param type of graphics backend the shader is being compiled for. See
* `mbgl::gfx::Backend::Type` for a list of possible values.
* `mln::gfx::Backend::Type` for a list of possible values.
* @param additionalDefines that specify the permutation of the shader.
*/
void onShaderCompileFailed(int id, int type, String additionalDefines);